summaryrefslogtreecommitdiffstats
path: root/tests/reflection/default-space.slang.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reflection/default-space.slang.expected')
-rw-r--r--tests/reflection/default-space.slang.expected35
1 files changed, 34 insertions, 1 deletions
diff --git a/tests/reflection/default-space.slang.expected b/tests/reflection/default-space.slang.expected
index 548de2be0..5ba17790c 100644
--- a/tests/reflection/default-space.slang.expected
+++ b/tests/reflection/default-space.slang.expected
@@ -30,6 +30,26 @@ standard output = {
"binding": {"kind": "shaderResource", "index": 0}
}
]
+ },
+ "containerVarLayout": {
+ "binding": {"kind": "registerSpace", "index": 0}
+ },
+ "elementVarLayout": {
+ "type": {
+ "kind": "struct",
+ "name": "B",
+ "fields": [
+ {
+ "name": "b",
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D"
+ },
+ "binding": {"kind": "shaderResource", "index": 0}
+ }
+ ]
+ },
+ "binding": {"kind": "shaderResource", "index": 0}
}
}
}
@@ -37,7 +57,20 @@ standard output = {
"entryPoints": [
{
"name": "main",
- "stage:": "fragment"
+ "stage:": "fragment",
+ "result:": {
+ "stage": "fragment",
+ "binding": {"kind": "varyingOutput", "index": 0},
+ "semanticName": "SV_TARGET",
+ "type": {
+ "kind": "vector",
+ "elementCount": 4,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ }
+ }
}
]
}