mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Fix reflection of structure sizes in DXIL
This commit is contained in:
@@ -580,6 +580,8 @@ static DXBC::CBufferVariableType MakeCBufferVariableType(const TypeInfo &typeInf
|
||||
var.type = MakeCBufferVariableType(typeInfo, t->members[i]);
|
||||
}
|
||||
|
||||
ret.bytesize = var.offset + var.type.bytesize;
|
||||
|
||||
ret.members.push_back(var);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user