summaryrefslogtreecommitdiffstats
path: root/tests/reflection
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-06-26 11:37:09 -0700
committerTim Foley <tfoley@nvidia.com>2017-06-26 11:37:09 -0700
commit07f9b9ec7c9be6a0eff65ef327d2a0fee262aed7 (patch)
tree185210d30a7887df823bb0c6d817d3feb2ebe675 /tests/reflection
parent0df1cca417d4cf5067f7fdacce4876347b8f6eda (diff)
Add expected output file for test.
This is the cause of the test failures on AppVeyor.
Diffstat (limited to 'tests/reflection')
-rw-r--r--tests/reflection/reflect-imported-code.hlsl.expected79
1 files changed, 79 insertions, 0 deletions
diff --git a/tests/reflection/reflect-imported-code.hlsl.expected b/tests/reflection/reflect-imported-code.hlsl.expected
new file mode 100644
index 000000000..1190ab550
--- /dev/null
+++ b/tests/reflection/reflect-imported-code.hlsl.expected
@@ -0,0 +1,79 @@
+result code = 0
+standard error = {
+}
+standard output = {
+{
+ "parameters": [
+ {
+ "name": "t",
+ "binding": {"kind": "shaderResource", "index": 0},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D"
+ }
+ },
+ {
+ "name": "s",
+ "binding": {"kind": "samplerState", "index": 0},
+ "type": {
+ "kind": "samplerState"
+ }
+ },
+ {
+ "name": "C",
+ "binding": {"kind": "constantBuffer", "index": 0},
+ "type": {
+ "kind": "constantBuffer",
+ "elementType": {
+ "kind": "struct",
+ "fields": [
+ {
+ "name": "c",
+ "type": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "t_i",
+ "binding": {"kind": "shaderResource", "index": 1},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D"
+ }
+ },
+ {
+ "name": "s_i",
+ "binding": {"kind": "samplerState", "index": 1},
+ "type": {
+ "kind": "samplerState"
+ }
+ },
+ {
+ "name": "C_i",
+ "binding": {"kind": "constantBuffer", "index": 1},
+ "type": {
+ "kind": "constantBuffer",
+ "elementType": {
+ "kind": "struct",
+ "fields": [
+ {
+ "name": "c_i",
+ "type": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 4}
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+}