summaryrefslogtreecommitdiff
path: root/tests/ir/string-literal-hash-reflection.slang.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ir/string-literal-hash-reflection.slang.expected')
-rw-r--r--tests/ir/string-literal-hash-reflection.slang.expected44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/ir/string-literal-hash-reflection.slang.expected b/tests/ir/string-literal-hash-reflection.slang.expected
new file mode 100644
index 000000000..4b3726efe
--- /dev/null
+++ b/tests/ir/string-literal-hash-reflection.slang.expected
@@ -0,0 +1,44 @@
+result code = 0
+standard error = {
+}
+standard output = {
+{
+ "parameters": [
+ {
+ "name": "outputBuffer",
+ "binding": {"kind": "unorderedAccess", "index": 0},
+ "type": {
+ "kind": "resource",
+ "baseShape": "structuredBuffer",
+ "access": "readWrite",
+ "resultType": {
+ "kind": "scalar",
+ "scalarType": "int32"
+ }
+ }
+ }
+ ],
+ "entryPoints": [
+ {
+ "name": "computeMain",
+ "stage:": "compute",
+ "parameters": [
+ {
+ "name": "tid",
+ "semanticName": "SV_DISPATCHTHREADINDEX",
+ "type": {
+ "kind": "scalar",
+ "scalarType": "uint32"
+ }
+ }
+ ],
+ "threadGroupSize": [4, 1, 1]
+ }
+ ],
+ "hashedStrings": {
+ "Hello \t\n\0x083 World": -215446506,
+ "Try another": 900483678
+ }
+
+}
+}