summaryrefslogtreecommitdiff
path: root/tests/metal/nested-parameter-block-reflection.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/metal/nested-parameter-block-reflection.slang')
-rw-r--r--tests/metal/nested-parameter-block-reflection.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/metal/nested-parameter-block-reflection.slang b/tests/metal/nested-parameter-block-reflection.slang
index a294755da..91c07b9c8 100644
--- a/tests/metal/nested-parameter-block-reflection.slang
+++ b/tests/metal/nested-parameter-block-reflection.slang
@@ -6,13 +6,13 @@
// CHECK: "binding": {"kind": "constantBuffer", "index": 0},
// CHECK:"name": "pdata",
-// CHECK:"binding": {"kind": "uniform", "offset": 0, "size": 16}
+// CHECK:"binding": {"kind": "uniform", "offset": 0, "size": 16, "elementStride": 4}
// CHECK:"name": "tex",
// Since we will apply MetalArgumentBufferTier2, 'tex' here will just be a uniform.
// The pdata is a nested parameter block, so it will be a 64-bit device pointer which take
// 8 bytes. So the offset of `tex` will be 8 bytes.
-// CHECK:"binding": {"kind": "uniform", "offset": 8, "size": 8}
+// CHECK:"binding": {"kind": "uniform", "offset": 8, "size": 8, "elementStride": 0}
// Check that there will be only two bindings.