mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 22:25:55 +00:00
Continue type walking from the correct point in type hierarchy
This commit is contained in:
@@ -1258,6 +1258,12 @@ ShaderVariable Debugger::MakeCompositePointer(const ShaderVariable &base, Id id,
|
||||
RDCASSERT(type->type == DataType::PointerType);
|
||||
type = &dataTypes[type->InnerType()];
|
||||
|
||||
rdcspv::Id typeId =
|
||||
rdcspv::Id::fromWord(uint32_t(base.value.u64v[BufferPointerTypeIdVariableSlot]));
|
||||
|
||||
if(typeId != rdcspv::Id())
|
||||
type = &dataTypes[typeId];
|
||||
|
||||
// first walk any aggregate types
|
||||
size_t i = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user