mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Account for arrays of pointers when calculating buffer offsets
This commit is contained in:
@@ -1334,7 +1334,7 @@ ParsedFormat BufferFormatter::ParseFormatString(const QString &formatString, uin
|
||||
el.type.arrayByteStride = 8;
|
||||
el.type.elements = arrayCount;
|
||||
|
||||
cur->offset += 8;
|
||||
cur->offset += 8 * arrayCount;
|
||||
|
||||
if(!isPadding)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user