diff options
| author | Devon <devonrutledge03@gmail.com> | 2025-02-27 18:52:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 17:52:14 -0800 |
| commit | cd20e94af9f384c03e8be69f6c8ce9e97212cc9b (patch) | |
| tree | 6e67aab570d8e87ca92ff989126abf3613fc97c1 /tests/reflection/parameter-block.slang.2.expected | |
| parent | 6f2ce72b038b34e84819ddfc5d658166ed879eaa (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.slang.2.expected')
| -rw-r--r-- | tests/reflection/parameter-block.slang.2.expected | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/tests/reflection/parameter-block.slang.2.expected b/tests/reflection/parameter-block.slang.2.expected index 31477df38..ef7b21e1a 100644 --- a/tests/reflection/parameter-block.slang.2.expected +++ b/tests/reflection/parameter-block.slang.2.expected @@ -17,7 +17,15 @@ standard output = { "name": "t", "type": { "kind": "resource", - "baseShape": "texture2D" + "baseShape": "texture2D", + "resultType": { + "kind": "vector", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + } }, "binding": {"kind": "shaderResource", "index": 0} }, @@ -42,7 +50,15 @@ standard output = { "name": "t", "type": { "kind": "resource", - "baseShape": "texture2D" + "baseShape": "texture2D", + "resultType": { + "kind": "vector", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + } }, "binding": {"kind": "shaderResource", "index": 0} }, @@ -67,7 +83,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" + } + } } } ], |
