Fix typo accessing incorrect array of resources in pipe state

This commit is contained in:
baldurk
2022-12-12 13:58:48 +00:00
parent 311f135324
commit e9702cb32f
+1 -1
View File
@@ -1622,7 +1622,7 @@ rdcarray<BoundResourceArray> 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}));
}