mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Adjust offset used in VB string if there was padding bytes
This commit is contained in:
@@ -1300,7 +1300,7 @@ QString PipelineStateViewer::GetVBufferFormatString(uint32_t slot)
|
||||
|
||||
const ResourceFormat &fmt = attrs[i].format;
|
||||
|
||||
offset += byteSize(fmt);
|
||||
offset = attrs[i].byteOffset + byteSize(fmt);
|
||||
|
||||
if(fmt.Special())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user