yum-mirror/slang

Making it easier to work with shaders

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

Harsh Aggarwal (NVIDIA)Fix 7441: CUDA boolean vector layout to use 1-byte elements (#7862)bdda8a90c

master
1.4 KiB51 linesraw
1result code = 0
2standard error = {
3}
4standard output = {
5{
6    "parameters": [
7        {
8            "name": "genericPtr",
9            "binding": {"kind": "uniform", "offset": 0, "size": 8, "elementStride": 0},
10            "type": {
11                "kind": "pointer",
12                "valueType": "GenericStruct"
13            }
14        },
15        {
16            "name": "outputBuffer",
17            "binding": {"kind": "uniform", "offset": 8, "size": 16, "elementStride": 0},
18            "type": {
19                "kind": "resource",
20                "baseShape": "structuredBuffer",
21                "access": "readWrite",
22                "resultType": {
23                    "kind": "scalar",
24                    "scalarType": "int32"
25                }
26            }
27        }
28    ],
29    "entryPoints": [
30        {
31            "name": "computeMain",
32            "stage": "compute",
33            "parameters": [
34                {
35                    "name": "dispatchThreadID",
36                    "semanticName": "SV_DISPATCHTHREADID",
37                    "type": {
38                        "kind": "vector",
39                        "elementCount": 3,
40                        "elementType": {
41                            "kind": "scalar",
42                            "scalarType": "uint32"
43                        }
44                    }
45                }
46            ],
47            "threadGroupSize": [4, 1, 1]
48        }
49    ]
50}
51}