mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-16 19:46:40 +00:00
Extended opcode lists stride for all structured buffer resources
* This comes up for bufinfo as well as ld_structured
This commit is contained in:
@@ -2131,7 +2131,7 @@ bool Program::DecodeOperation(uint32_t *&tokenStream, Operation &retOp, bool fri
|
||||
{
|
||||
retOp.resDim = ExtendedOpcode::ResourceDim.Get(OpcodeTokenN);
|
||||
|
||||
if(op == OPCODE_LD_STRUCTURED)
|
||||
if(retOp.resDim == RESOURCE_DIMENSION_STRUCTURED_BUFFER)
|
||||
{
|
||||
retOp.stride = ExtendedOpcode::BufferStride.Get(OpcodeTokenN);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user