summaryrefslogtreecommitdiff
path: root/tests/reflection/default-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/default-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/default-space.slang.expected')
-rw-r--r--tests/reflection/default-space.slang.expected30
1 files changed, 27 insertions, 3 deletions
diff --git a/tests/reflection/default-space.slang.expected b/tests/reflection/default-space.slang.expected
index c6ec6c19f..17cc32736 100644
--- a/tests/reflection/default-space.slang.expected
+++ b/tests/reflection/default-space.slang.expected
@@ -9,7 +9,15 @@ standard output = {
"binding": {"kind": "shaderResource", "space": 99, "index": 0},
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
},
{
@@ -25,7 +33,15 @@ standard output = {
"name": "b",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
}
@@ -43,7 +59,15 @@ standard output = {
"name": "b",
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
}