mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix calculation of array-of-structs bytesize calculation
This commit is contained in:
@@ -431,6 +431,8 @@ CBufferVariableType DXBCFile::ParseRDEFType(RDEFHeader *h, char *chunkContents,
|
||||
|
||||
ret.members.push_back(v);
|
||||
}
|
||||
|
||||
ret.descriptor.bytesize *= RDCMAX(1U, ret.descriptor.elements);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user