mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 23:55:46 +00:00
Detect struct array strides from BDA pointer decorations
This commit is contained in:
@@ -1147,8 +1147,7 @@ bool RichResourceTextMouseEvent(const QWidget *owner, const QVariant &var, QRect
|
||||
|
||||
if(!ptrType.members.isEmpty())
|
||||
{
|
||||
Packing::Rules pack =
|
||||
BufferFormatter::EstimatePackingRules(ResourceId(), ptrType.members);
|
||||
Packing::Rules pack = BufferFormatter::EstimatePackingRules(ResourceId(), ptrType);
|
||||
|
||||
// for scalar-wrapped structs (generated by 'float *foo' type declarations) use scalar
|
||||
// packing by default as that's probably what people will want most often and if we
|
||||
|
||||
Reference in New Issue
Block a user