From f9adb41bc3a7dc9b96ec0cef65154165e1c6c705 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Tue, 4 Mar 2025 20:38:39 +0000 Subject: [PATCH] Changed tool tip display for Shader array types to be { ... } Matches the display for struct types --- qrenderdoc/Code/BufferFormatter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qrenderdoc/Code/BufferFormatter.cpp b/qrenderdoc/Code/BufferFormatter.cpp index b9c5a1ed5..99a9c7310 100644 --- a/qrenderdoc/Code/BufferFormatter.cpp +++ b/qrenderdoc/Code/BufferFormatter.cpp @@ -3863,6 +3863,9 @@ QString RowString(const ShaderVariable &v, uint32_t row, VarType type) if(v.type == VarType::Struct) return lit("{ ... }"); + if(!v.members.empty()) + return lit("{ ... }"); + switch(type) { case VarType::Float: