mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 11:01:08 +00:00
Handle reflecting runtime arrays of arrays
This commit is contained in:
1 file changed
+3
@@ -1866,6 +1866,9 @@ void Reflector::MakeConstantBlockVariables(const DataType &structType, uint32_t
|
||||
{
|
||||
uint32_t relativeOffset = 0;
|
||||
|
||||
if(arraySize == ~0U)
|
||||
arraySize = 1;
|
||||
|
||||
cblock.resize(arraySize);
|
||||
for(uint32_t i = 0; i < arraySize; i++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user