From e9702cb32fa0e096c110842626d743a5cbfed9db Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 12 Dec 2022 13:58:48 +0000 Subject: [PATCH] Fix typo accessing incorrect array of resources in pipe state --- renderdoc/api/replay/pipestate.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/api/replay/pipestate.inl b/renderdoc/api/replay/pipestate.inl index 9a4bea617..d55f53785 100644 --- a/renderdoc/api/replay/pipestate.inl +++ b/renderdoc/api/replay/pipestate.inl @@ -1622,7 +1622,7 @@ rdcarray PipeState::GetReadWriteResources(ShaderStage stage, Bindpoint key(0, i); BoundResource val; - val.resourceId = m_GL->atomicBuffers[i].resourceId; + val.resourceId = m_GL->shaderStorageBuffers[i].resourceId; ret.push_back(BoundResourceArray(key, {val})); }