From 32b843215b2e80c23c1fbcf02150c52a6304a447 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 1 Aug 2024 10:55:48 -0700 Subject: Allow implicit 'uniform' entrypoint parameters. (#4765) * Allow impliocit 'uniform' entrypoint parameters. * Fix. * Fix. * Fix. * Fix. --- tests/reflection/attribute.slang.expected | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/reflection') 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" -- cgit v1.2.3