mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-19 13:06:38 +00:00
Fix shader clears to properly reset all labels
This commit is contained in:
@@ -1085,6 +1085,7 @@ void D3D11PipelineStateViewer::clearShaderState(RDLabel *shader, RDLabel *shader
|
||||
RDTreeWidget *cbuffer, RDTreeWidget *sub)
|
||||
{
|
||||
shader->setText(ToQStr(ResourceId()));
|
||||
shaderDebug->setText(QString());
|
||||
tex->clear();
|
||||
samp->clear();
|
||||
sub->clear();
|
||||
|
||||
@@ -1040,14 +1040,13 @@ void D3D12PipelineStateViewer::setNewMeshPipeFlow()
|
||||
ui->pipeFlow->setIsolatedStage(5); // compute shader isolated
|
||||
}
|
||||
|
||||
void D3D12PipelineStateViewer::clearShaderState(RDLabel *shader, RDLabel *shaderDebug,
|
||||
RDLabel *rootSig, RDTreeWidget *tex,
|
||||
RDTreeWidget *samp, RDTreeWidget *cbuffer,
|
||||
RDTreeWidget *sub)
|
||||
void D3D12PipelineStateViewer::clearShaderState(RDLabel *pipeline, RDLabel *shader, RDLabel *rootSig,
|
||||
RDTreeWidget *tex, RDTreeWidget *samp,
|
||||
RDTreeWidget *cbuffer, RDTreeWidget *sub)
|
||||
{
|
||||
rootSig->setText(ToQStr(ResourceId()));
|
||||
shader->setText(ToQStr(ResourceId()));
|
||||
shaderDebug->hide();
|
||||
pipeline->setText(ToQStr(ResourceId()));
|
||||
shader->hide();
|
||||
tex->clear();
|
||||
samp->clear();
|
||||
sub->clear();
|
||||
|
||||
Reference in New Issue
Block a user