summaryrefslogtreecommitdiffstats
path: root/tests/reflection/reflect-imported-code.hlsl.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reflection/reflect-imported-code.hlsl.expected')
-rw-r--r--tests/reflection/reflect-imported-code.hlsl.expected53
1 files changed, 52 insertions, 1 deletions
diff --git a/tests/reflection/reflect-imported-code.hlsl.expected b/tests/reflection/reflect-imported-code.hlsl.expected
index 78e7ce195..5d51ddb5c 100644
--- a/tests/reflection/reflect-imported-code.hlsl.expected
+++ b/tests/reflection/reflect-imported-code.hlsl.expected
@@ -36,6 +36,25 @@ standard output = {
"binding": {"kind": "uniform", "offset": 0, "size": 4}
}
]
+ },
+ "containerVarLayout": {
+ "binding": {"kind": "constantBuffer", "index": 0}
+ },
+ "elementVarLayout": {
+ "type": {
+ "kind": "struct",
+ "fields": [
+ {
+ "name": "c",
+ "type": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
+ }
+ ]
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
}
}
},
@@ -71,6 +90,25 @@ standard output = {
"binding": {"kind": "uniform", "offset": 0, "size": 4}
}
]
+ },
+ "containerVarLayout": {
+ "binding": {"kind": "constantBuffer", "index": 0}
+ },
+ "elementVarLayout": {
+ "type": {
+ "kind": "struct",
+ "fields": [
+ {
+ "name": "c_i",
+ "type": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
+ }
+ ]
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
}
}
}
@@ -78,7 +116,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"
+ }
+ }
+ }
}
]
}