mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 19:11:11 +00:00
DXIL Debugger improve handling of arrays of Samplers
Previously would only work in very simple scenarios where the array of Samplers was accessed once
This commit is contained in:
1 parent
58ec8fd9d3
commit
d1054b8fa2
1 file changed
+2
-1
@@ -2690,7 +2690,8 @@ bool ThreadState::ExecuteInstruction(DebugAPIWrapper *apiWrapper,
|
||||
if(result.name.isEmpty())
|
||||
{
|
||||
if((resRef->resourceBase.resClass == ResourceClass::SRV) ||
|
||||
(resRef->resourceBase.resClass == ResourceClass::UAV))
|
||||
(resRef->resourceBase.resClass == ResourceClass::UAV) ||
|
||||
(resRef->resourceBase.resClass == ResourceClass::Sampler))
|
||||
{
|
||||
if(resIndexArgId < inst.args.size())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user