summaryrefslogtreecommitdiff
path: root/tests/reflection/cross-compile.slang.expected
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-10 09:49:46 -0700
committerGitHub <noreply@github.com>2017-07-10 09:49:46 -0700
commit8abdf2dddd10feb9794c86cdf6b2159a2b6383e4 (patch)
treedf7d790f33f7e4c8adc1b9b747c7c908d8bab0d4 /tests/reflection/cross-compile.slang.expected
parent68df74b58a56b0a1fb19b9ec4ff0282969cd6a12 (diff)
parent5b7c254d24653fd1c19157e8d5ef68a7e787ff58 (diff)
Merge pull request #65 from tfoleyNV/falcor-work
Falcor work
Diffstat (limited to 'tests/reflection/cross-compile.slang.expected')
-rw-r--r--tests/reflection/cross-compile.slang.expected48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/reflection/cross-compile.slang.expected b/tests/reflection/cross-compile.slang.expected
new file mode 100644
index 000000000..3bb730f66
--- /dev/null
+++ b/tests/reflection/cross-compile.slang.expected
@@ -0,0 +1,48 @@
+result code = 0
+standard error = {
+}
+standard output = {
+{
+ "parameters": [
+ {
+ "name": "t",
+ "binding": {"kind": "descriptorTableSlot", "index": 0},
+ "type": {
+ "kind": "resource",
+ "baseShape": "texture2D"
+ }
+ },
+ {
+ "name": "s",
+ "binding": {"kind": "descriptorTableSlot", "index": 1},
+ "type": {
+ "kind": "samplerState"
+ }
+ },
+ {
+ "name": "C",
+ "binding": {"kind": "descriptorTableSlot", "index": 2},
+ "type": {
+ "kind": "constantBuffer",
+ "elementType": {
+ "kind": "struct",
+ "fields": [
+ {
+ "name": "c",
+ "type": {
+ "kind": "vector",
+ "elementCount": 3,
+ "elementType": {
+ "kind": "scalar",
+ "scalarType": "float32"
+ }
+ },
+ "binding": {"kind": "uniform", "offset": 0, "size": 12}
+ }
+ ]
+ }
+ }
+ }
+ ]
+}
+}