From cd20e94af9f384c03e8be69f6c8ce9e97212cc9b Mon Sep 17 00:00:00 2001 From: Devon Date: Thu, 27 Feb 2025 18:52:14 -0700 Subject: 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 --- tests/reflection/binding-gl.hlsl.expected | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'tests/reflection/binding-gl.hlsl.expected') diff --git a/tests/reflection/binding-gl.hlsl.expected b/tests/reflection/binding-gl.hlsl.expected index 73c4da3ae..67df7c267 100644 --- a/tests/reflection/binding-gl.hlsl.expected +++ b/tests/reflection/binding-gl.hlsl.expected @@ -90,7 +90,15 @@ standard output = { "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 1}, "type": { "kind": "resource", - "baseShape": "texture2D" + "baseShape": "texture2D", + "resultType": { + "kind": "vector", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + } } }, { @@ -98,7 +106,15 @@ standard output = { "binding": {"kind": "descriptorTableSlot", "space": 3, "index": 2}, "type": { "kind": "resource", - "baseShape": "texture2D" + "baseShape": "texture2D", + "resultType": { + "kind": "vector", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + } } }, { @@ -106,7 +122,15 @@ standard output = { "binding": {"kind": "descriptorTableSlot", "index": 0}, "type": { "kind": "resource", - "baseShape": "texture2D" + "baseShape": "texture2D", + "resultType": { + "kind": "vector", + "elementCount": 4, + "elementType": { + "kind": "scalar", + "scalarType": "float32" + } + } } }, { -- cgit v1.2.3