summaryrefslogtreecommitdiffstats
path: root/tests/reflection/parameter-block-explicit-space.slang.expected
diff options
context:
space:
mode:
authorDevon <devonrutledge03@gmail.com>2025-02-27 18:52:14 -0700
committerGitHub <noreply@github.com>2025-02-27 17:52:14 -0800
commitcd20e94af9f384c03e8be69f6c8ce9e97212cc9b (patch)
tree6e67aab570d8e87ca92ff989126abf3613fc97c1 /tests/reflection/parameter-block-explicit-space.slang.expected
parent6f2ce72b038b34e84819ddfc5d658166ed879eaa (diff)
Add inner texture type to reflection json (#6416)
* Add inner texture type to reflection json * Add expected result of test * Adjust test expected results * Fix ci test result --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/reflection/parameter-block-explicit-space.slang.expected')
-rw-r--r--tests/reflection/parameter-block-explicit-space.slang.expected60
1 files changed, 54 insertions, 6 deletions
diff --git a/tests/reflection/parameter-block-explicit-space.slang.expected b/tests/reflection/parameter-block-explicit-space.slang.expected
index 908029839..347f0fd5c 100644
--- a/tests/reflection/parameter-block-explicit-space.slang.expected
+++ b/tests/reflection/parameter-block-explicit-space.slang.expected
@@ -29,7 +29,15 @@ standard output = {
"name": "at1",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
},
@@ -37,7 +45,15 @@ standard output = {
"name": "at2",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 1}
},
@@ -77,7 +93,15 @@ standard output = {
"name": "at1",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
},
@@ -85,7 +109,15 @@ standard output = {
"name": "at2",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 1}
},
@@ -131,7 +163,15 @@ standard output = {
"name": "bt",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
},
@@ -171,7 +211,15 @@ standard output = {
"name": "bt",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
},