diff --git a/qrenderdoc/Code/FormatElement.cpp b/qrenderdoc/Code/FormatElement.cpp index f1275f661..a4cd0a909 100644 --- a/qrenderdoc/Code/FormatElement.cpp +++ b/qrenderdoc/Code/FormatElement.cpp @@ -903,11 +903,11 @@ QString VarString(const ShaderVariable &v) for(int i = 0; i < (int)v.rows; i++) { if(i > 0) - ret += lit(", "); + ret += lit("\n"); ret += lit("{") + RowString(v, i) + lit("}"); } - return lit("{ ") + ret + lit(" }"); + return ret; } QString RowTypeString(const ShaderVariable &v) diff --git a/qrenderdoc/Windows/ConstantBufferPreviewer.ui b/qrenderdoc/Windows/ConstantBufferPreviewer.ui index 4b9d39a82..ff2a3f16b 100644 --- a/qrenderdoc/Windows/ConstantBufferPreviewer.ui +++ b/qrenderdoc/Windows/ConstantBufferPreviewer.ui @@ -211,6 +211,9 @@ QAbstractItemView::ContiguousSelection + + QAbstractItemView::ScrollPerPixel + true