summaryrefslogtreecommitdiff
path: root/tests/reflection/unbounded-arrays.hlsl.1.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/unbounded-arrays.hlsl.1.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/unbounded-arrays.hlsl.1.expected')
-rw-r--r--tests/reflection/unbounded-arrays.hlsl.1.expected60
1 files changed, 54 insertions, 6 deletions
diff --git a/tests/reflection/unbounded-arrays.hlsl.1.expected b/tests/reflection/unbounded-arrays.hlsl.1.expected
index c8d8f6bed..e4eb111ff 100644
--- a/tests/reflection/unbounded-arrays.hlsl.1.expected
+++ b/tests/reflection/unbounded-arrays.hlsl.1.expected
@@ -23,7 +23,15 @@ standard output = {
"elementCount": 0,
"elementType": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
}
},
@@ -32,7 +40,15 @@ standard output = {
"binding": {"kind": "shaderResource", "index": 0},
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
},
{
@@ -40,7 +56,15 @@ standard output = {
"binding": {"kind": "shaderResource", "index": 1},
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
},
{
@@ -51,7 +75,15 @@ standard output = {
"elementCount": 0,
"elementType": {
"kind": "resource",
- "baseShape": "textureCube"
+ "baseShape": "textureCube",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
}
},
@@ -60,7 +92,15 @@ standard output = {
"binding": {"kind": "shaderResource", "space": 1, "index": 0},
"type": {
"kind": "resource",
- "baseShape": "texture2D"
+ "baseShape": "texture2D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
}
},
{
@@ -77,7 +117,15 @@ standard output = {
"name": "t",
"type": {
"kind": "resource",
- "baseShape": "texture3D"
+ "baseShape": "texture3D",
+ "resultType": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
},
"binding": {"kind": "shaderResource", "index": 0}
},