mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 06:26:30 +00:00
Only find root SRVs when searching for SRVs
This commit is contained in:
@@ -638,7 +638,7 @@ D3D12Descriptor D3D12DebugAPIWrapper::FindDescriptor(DXBCBytecode::OperandType t
|
||||
if(IsShaderParameterVisible(GetShaderType(), param.ShaderVisibility))
|
||||
{
|
||||
if(param.ParameterType == D3D12_ROOT_PARAMETER_TYPE_SRV && element.type == eRootSRV &&
|
||||
type != DXBCBytecode::TYPE_UNORDERED_ACCESS_VIEW)
|
||||
type == DXBCBytecode::TYPE_RESOURCE)
|
||||
{
|
||||
if(param.Descriptor.ShaderRegister == slot.shaderRegister &&
|
||||
param.Descriptor.RegisterSpace == slot.registerSpace)
|
||||
|
||||
Reference in New Issue
Block a user