mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix data type access when accessing scalars in vectors in SSBOs
This commit is contained in:
@@ -1101,7 +1101,7 @@ ShaderVariable Debugger::MakeCompositePointer(const ShaderVariable &base, Id id,
|
||||
|
||||
// type is the resulting scalar (first inner does matrix->colun type, second does column
|
||||
// type->scalar type)
|
||||
type = &dataTypes[dataTypes[type->InnerType()].InnerType()];
|
||||
type = &dataTypes[type->InnerType()];
|
||||
|
||||
byteOffset += indices[i] * (type->scalar().width / 8);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user