mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 22:16:38 +00:00
Account for byte offset when expanding arrays in bufferviewer formatter
This commit is contained in:
@@ -1815,6 +1815,7 @@ static void UnrollConstant(rdcstr prefix, const ShaderConstant &constant,
|
||||
c.name = QFormatStr("%1[%2]").arg(baseName).arg(a);
|
||||
columns.push_back(c);
|
||||
props.push_back(prop);
|
||||
c.byteOffset += prop.format.ElementSize() * constant.type.descriptor.rows;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user