diff options
Diffstat (limited to 'tests/reflection/multi-file.hlsl.expected')
| -rw-r--r-- | tests/reflection/multi-file.hlsl.expected | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/tests/reflection/multi-file.hlsl.expected b/tests/reflection/multi-file.hlsl.expected index 4ad95fb35..814c648e0 100644 --- a/tests/reflection/multi-file.hlsl.expected +++ b/tests/reflection/multi-file.hlsl.expected @@ -5,7 +5,7 @@ standard output = { { "parameters": [ { - "name": "sharedT", + "name": "vertexT", "binding": {"kind": "shaderResource", "index": 0}, "type": { "kind": "resource", @@ -13,14 +13,14 @@ standard output = { } }, { - "name": "sharedS", + "name": "vertexS", "binding": {"kind": "samplerState", "index": 0}, "type": { "kind": "samplerState" } }, { - "name": "sharedC", + "name": "vertexC", "binding": {"kind": "constantBuffer", "index": 0}, "type": { "kind": "constantBuffer", @@ -28,7 +28,7 @@ standard output = { "kind": "struct", "fields": [ { - "name": "sharedCA", + "name": "vertexCA", "type": { "kind": "vector", "elementCount": 3, @@ -40,7 +40,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 0, "size": 12} }, { - "name": "sharedCB", + "name": "vertexCB", "type": { "kind": "scalar", "scalarType": "float32" @@ -48,7 +48,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 12, "size": 4} }, { - "name": "sharedCC", + "name": "vertexCC", "type": { "kind": "vector", "elementCount": 3, @@ -60,7 +60,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 16, "size": 12} }, { - "name": "sharedCD", + "name": "vertexCD", "type": { "kind": "vector", "elementCount": 2, @@ -76,7 +76,7 @@ standard output = { } }, { - "name": "vertexT", + "name": "fragmentT", "binding": {"kind": "shaderResource", "index": 1}, "type": { "kind": "resource", @@ -84,14 +84,14 @@ standard output = { } }, { - "name": "vertexS", + "name": "fragmentS", "binding": {"kind": "samplerState", "index": 1}, "type": { "kind": "samplerState" } }, { - "name": "vertexC", + "name": "fragmentC", "binding": {"kind": "constantBuffer", "index": 1}, "type": { "kind": "constantBuffer", @@ -99,7 +99,7 @@ standard output = { "kind": "struct", "fields": [ { - "name": "vertexCA", + "name": "fragmentCA", "type": { "kind": "vector", "elementCount": 3, @@ -111,7 +111,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 0, "size": 12} }, { - "name": "vertexCB", + "name": "fragmentCB", "type": { "kind": "scalar", "scalarType": "float32" @@ -119,7 +119,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 12, "size": 4} }, { - "name": "vertexCC", + "name": "fragmentCC", "type": { "kind": "vector", "elementCount": 3, @@ -131,7 +131,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 16, "size": 12} }, { - "name": "vertexCD", + "name": "fragmentCD", "type": { "kind": "vector", "elementCount": 2, @@ -147,7 +147,7 @@ standard output = { } }, { - "name": "sharedTV", + "name": "sharedT", "binding": {"kind": "shaderResource", "index": 2}, "type": { "kind": "resource", @@ -155,30 +155,14 @@ standard output = { } }, { - "name": "sharedTF", - "binding": {"kind": "shaderResource", "index": 3}, - "type": { - "kind": "resource", - "baseShape": "texture2D" - } - }, - { - "name": "fragmentT", - "binding": {"kind": "shaderResource", "index": 4}, - "type": { - "kind": "resource", - "baseShape": "texture2D" - } - }, - { - "name": "fragmentS", + "name": "sharedS", "binding": {"kind": "samplerState", "index": 2}, "type": { "kind": "samplerState" } }, { - "name": "fragmentC", + "name": "sharedC", "binding": {"kind": "constantBuffer", "index": 2}, "type": { "kind": "constantBuffer", @@ -186,7 +170,7 @@ standard output = { "kind": "struct", "fields": [ { - "name": "fragmentCA", + "name": "sharedCA", "type": { "kind": "vector", "elementCount": 3, @@ -198,7 +182,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 0, "size": 12} }, { - "name": "fragmentCB", + "name": "sharedCB", "type": { "kind": "scalar", "scalarType": "float32" @@ -206,7 +190,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 12, "size": 4} }, { - "name": "fragmentCC", + "name": "sharedCC", "type": { "kind": "vector", "elementCount": 3, @@ -218,7 +202,7 @@ standard output = { "binding": {"kind": "uniform", "offset": 16, "size": 12} }, { - "name": "fragmentCD", + "name": "sharedCD", "type": { "kind": "vector", "elementCount": 2, @@ -232,16 +216,32 @@ standard output = { ] } } + }, + { + "name": "sharedTV", + "binding": {"kind": "shaderResource", "index": 3}, + "type": { + "kind": "resource", + "baseShape": "texture2D" + } + }, + { + "name": "sharedTF", + "binding": {"kind": "shaderResource", "index": 4}, + "type": { + "kind": "resource", + "baseShape": "texture2D" + } } ], "entryPoints": [ { - "name": "mainFS", - "stage:": "fragment" - }, - { "name": "mainVS", "stage:": "vertex" + }, + { + "name": "mainFS", + "stage:": "fragment" } ] } |
