summaryrefslogtreecommitdiffstats
path: root/tools/render-test/shader-input-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/shader-input-layout.h')
-rw-r--r--tools/render-test/shader-input-layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 78d545114..2803d1915 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -58,6 +58,10 @@ struct InputBufferDesc
InputBufferType type = InputBufferType::StorageBuffer;
int stride = 0; // stride == 0 indicates an unstructured buffer.
Format format = Format::Unknown;
+ // For RWStructuredBuffer, AppendStructuredBuffer, ConsumeStructuredBuffer
+ // the default value of 0xffffffff indicates that a counter buffer should
+ // not be assigned
+ uint32_t counter = ~0u;
};
struct InputSamplerDesc