diff options
Diffstat (limited to 'tests/reflection')
| -rw-r--r-- | tests/reflection/sample-rate-input.glsl.expected | 6 | ||||
| -rw-r--r-- | tests/reflection/vertex-input-semantics.hlsl.expected | 33 |
2 files changed, 26 insertions, 13 deletions
diff --git a/tests/reflection/sample-rate-input.glsl.expected b/tests/reflection/sample-rate-input.glsl.expected index 5800a3630..53e0b6e17 100644 --- a/tests/reflection/sample-rate-input.glsl.expected +++ b/tests/reflection/sample-rate-input.glsl.expected @@ -21,7 +21,8 @@ standard output = { }, { "name": "uv", - "binding": {"kind": "vertexInput", "index": 0}, + "stage": "fragment", + "binding": {"kind": "varyingInput", "index": 0}, "type": { "kind": "vector", "elementCount": 2, @@ -33,7 +34,8 @@ standard output = { }, { "name": "c", - "binding": {"kind": "fragmentOutput", "index": 0}, + "stage": "fragment", + "binding": {"kind": "varyingOutput", "index": 0}, "type": { "kind": "vector", "elementCount": 4, diff --git a/tests/reflection/vertex-input-semantics.hlsl.expected b/tests/reflection/vertex-input-semantics.hlsl.expected index a3747a86a..06b7bc95a 100644 --- a/tests/reflection/vertex-input-semantics.hlsl.expected +++ b/tests/reflection/vertex-input-semantics.hlsl.expected @@ -13,7 +13,8 @@ standard output = { "parameters": [ { "name": "a", - "binding": {"kind": "vertexInput", "index": 0}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 0}, "semanticName": "A", "type": { "kind": "vector", @@ -26,7 +27,8 @@ standard output = { }, { "name": "b", - "binding": {"kind": "vertexInput", "index": 1, "count": 3}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 1, "count": 3}, "semanticName": "B", "type": { "kind": "struct", @@ -42,7 +44,8 @@ standard output = { "scalarType": "int32" } }, - "binding": {"kind": "vertexInput", "index": 0}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 0}, "semanticName": "B" }, { @@ -61,7 +64,8 @@ standard output = { "scalarType": "float32" } }, - "binding": {"kind": "vertexInput", "index": 0}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 0}, "semanticName": "B", "semanticIndex": 1 }, @@ -75,13 +79,15 @@ standard output = { "scalarType": "float32" } }, - "binding": {"kind": "vertexInput", "index": 1}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 1}, "semanticName": "B", "semanticIndex": 2 } ] }, - "binding": {"kind": "vertexInput", "index": 1, "count": 2}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 1, "count": 2}, "semanticName": "B", "semanticIndex": 1 } @@ -90,7 +96,8 @@ standard output = { }, { "name": "c", - "binding": {"kind": "vertexInput", "index": 4, "count": 3}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 4, "count": 3}, "type": { "kind": "struct", "name": "C", @@ -111,7 +118,8 @@ standard output = { "scalarType": "float32" } }, - "binding": {"kind": "vertexInput", "index": 0}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 0}, "semanticName": "CX" }, { @@ -124,13 +132,15 @@ standard output = { "scalarType": "float32" } }, - "binding": {"kind": "vertexInput", "index": 1}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 1}, "semanticName": "CX", "semanticIndex": 1 } ] }, - "binding": {"kind": "vertexInput", "index": 0, "count": 2}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 0, "count": 2}, "semanticName": "CX" }, { @@ -143,7 +153,8 @@ standard output = { "scalarType": "int32" } }, - "binding": {"kind": "vertexInput", "index": 2}, + "stage": "vertex", + "binding": {"kind": "varyingInput", "index": 2}, "semanticName": "CY" } ] |
