mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +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:
@@ -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