mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-08 15:51:01 +00:00
Hide invalid shader resources
Fixed the problem that showing invalid shader resource in pipeline state viewer since v1.24 Revert "Hide invalid shader resources" This reverts commit e62b6fa13d24bcd8c9d2e2109a140efe1c068736. Hide invalid shader resources on D3D12
This commit is contained in:
@@ -1154,6 +1154,10 @@ void D3D12PipelineStateViewer::setShaderState(
|
||||
if(bind == NULL ||
|
||||
(bind->arraySize != ~0U && bind->bind + (int)bind->arraySize <= shaderReg))
|
||||
{
|
||||
// reset the bind if we don't have any match
|
||||
bind = NULL;
|
||||
shaderInput = NULL;
|
||||
|
||||
for(int k = 0; k < binds.count(); k++)
|
||||
{
|
||||
const Bindpoint &b = binds[k];
|
||||
|
||||
Reference in New Issue
Block a user