yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

StanFixed stage and result field names in json reflection (#5927)76fdeaa47

master
1.1 KiB44 linesraw
1result code = 0
2standard error = {
3}
4standard output = {
5{
6    "parameters": [
7        {
8            "name": "outputBuffer",
9            "binding": {"kind": "unorderedAccess", "index": 0},
10            "type": {
11                "kind": "resource",
12                "baseShape": "structuredBuffer",
13                "access": "readWrite",
14                "resultType": {
15                    "kind": "scalar",
16                    "scalarType": "int32"
17                }
18            }
19        }
20    ],
21    "entryPoints": [
22        {
23            "name": "computeMain",
24            "stage": "compute",
25            "parameters": [
26                {
27                    "name": "tid",
28                    "semanticName": "SV_DISPATCHTHREADINDEX",
29                    "type": {
30                        "kind": "scalar",
31                        "scalarType": "uint32"
32                    }
33                }
34            ],
35            "threadGroupSize": [4, 1, 1]
36        }
37    ],
38    "hashedStrings": {
39        "Hello \t\n\0x083 World": -215446506,
40        "Try another": 900483678
41    }
42
43}
44}