From 6aca3813c4ccc496c0f9b2db293acb546aa11d2d Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 1 Nov 2023 21:42:12 -0700 Subject: Parameter binding and gfx fixes. (#3302) * Parameter binding and gfx fixes. * Add diagnostics on entry point parameters. * Fix. --------- Co-authored-by: Yong He --- tests/reflection/parameter-block-explicit-space.slang.expected | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/reflection/parameter-block-explicit-space.slang.expected') diff --git a/tests/reflection/parameter-block-explicit-space.slang.expected b/tests/reflection/parameter-block-explicit-space.slang.expected index 1aa41519d..6a0c1467a 100644 --- a/tests/reflection/parameter-block-explicit-space.slang.expected +++ b/tests/reflection/parameter-block-explicit-space.slang.expected @@ -6,7 +6,7 @@ standard output = { "parameters": [ { "name": "a", - "binding": {"kind": "registerSpace", "index": 2}, + "binding": {"kind": "subElementRegisterSpace", "index": 2}, "type": { "kind": "parameterBlock", "elementType": { @@ -53,7 +53,7 @@ standard output = { "containerVarLayout": { "bindings": [ {"kind": "constantBuffer", "index": 0}, - {"kind": "registerSpace", "index": 0} + {"kind": "subElementRegisterSpace", "index": 0} ] }, "elementVarLayout": { @@ -108,7 +108,7 @@ standard output = { }, { "name": "b", - "binding": {"kind": "registerSpace", "index": 3}, + "binding": {"kind": "subElementRegisterSpace", "index": 3}, "type": { "kind": "parameterBlock", "elementType": { @@ -147,7 +147,7 @@ standard output = { "containerVarLayout": { "bindings": [ {"kind": "constantBuffer", "index": 0}, - {"kind": "registerSpace", "index": 0} + {"kind": "subElementRegisterSpace", "index": 0} ] }, "elementVarLayout": { -- cgit v1.2.3