summaryrefslogtreecommitdiffstats
path: root/tests/reflection
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-08-01 10:55:48 -0700
committerGitHub <noreply@github.com>2024-08-01 10:55:48 -0700
commit32b843215b2e80c23c1fbcf02150c52a6304a447 (patch)
tree5892ef28f2e603781af4c6dde5b2a1dc1112c125 /tests/reflection
parent4c6b0a2831a7edd1419bd0b2e6edd089080e07be (diff)
Allow implicit 'uniform' entrypoint parameters. (#4765)
* Allow impliocit 'uniform' entrypoint parameters. * Fix. * Fix. * Fix. * Fix.
Diffstat (limited to 'tests/reflection')
-rw-r--r--tests/reflection/attribute.slang.expected6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/reflection/attribute.slang.expected b/tests/reflection/attribute.slang.expected
index 9b51aae32..a5bce747b 100644
--- a/tests/reflection/attribute.slang.expected
+++ b/tests/reflection/attribute.slang.expected
@@ -288,8 +288,7 @@ standard output = {
]
}
],
- "stage": "compute",
- "binding": {"kind": "varyingInput", "index": 0},
+ "binding": {"kind": "uniform", "offset": 0, "size": 4},
"type": {
"kind": "scalar",
"scalarType": "float32"
@@ -304,8 +303,7 @@ standard output = {
]
}
],
- "stage": "compute",
- "binding": {"kind": "varyingInput", "index": 1},
+ "binding": {"kind": "uniform", "offset": 4, "size": 4},
"type": {
"kind": "scalar",
"scalarType": "float32"