summaryrefslogtreecommitdiff
path: root/tests/slang-extension/dynamic-resource-gl.slang.1.expected
blob: 8ed8076ee92b99ae1a63a73e17d333e39573bd2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
result code = 0
standard error = {
}
standard output = {
{
    "parameters": [
        {
            "name": "g_TextureHeap",
            "binding": {"kind": "descriptorTableSlot", "space": 1, "index": 0},
            "type": {
                "kind": "array",
                "elementCount": 0,
                "elementType": {
                    "kind": "DynamicResource"
                }
            }
        },
        {
            "name": "g_SamplerHeap",
            "binding": {"kind": "descriptorTableSlot", "space": 1, "index": 2},
            "type": {
                "kind": "array",
                "elementCount": 0,
                "elementType": {
                    "kind": "DynamicResource"
                }
            }
        },
        {
            "name": "g_SingleDynamicResourceA",
            "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 0},
            "type": {
                "kind": "DynamicResource"
            }
        },
        {
            "name": "g_SingleDynamicResourceB",
            "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 1},
            "type": {
                "kind": "DynamicResource"
            }
        },
        {
            "name": "g_SingleDynamicResourceC",
            "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 2},
            "type": {
                "kind": "DynamicResource"
            }
        }
    ],
    "entryPoints": [
        {
            "name": "computeMain",
            "stage": "compute",
            "parameters": [
                {
                    "name": "tid",
                    "semanticName": "SV_DISPATCHTHREADID",
                    "type": {
                        "kind": "vector",
                        "elementCount": 2,
                        "elementType": {
                            "kind": "scalar",
                            "scalarType": "int32"
                        }
                    }
                }
            ],
            "threadGroupSize": [16, 1, 1],
            "bindings": [
                {
                    "name": "g_TextureHeap",
                    "binding": {"kind": "descriptorTableSlot", "space": 1, "index": 0, "used": 1}
                },
                {
                    "name": "g_SamplerHeap",
                    "binding": {"kind": "descriptorTableSlot", "space": 1, "index": 2, "used": 1}
                },
                {
                    "name": "g_SingleDynamicResourceA",
                    "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 0, "used": 1}
                },
                {
                    "name": "g_SingleDynamicResourceB",
                    "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 1, "used": 1}
                },
                {
                    "name": "g_SingleDynamicResourceC",
                    "binding": {"kind": "descriptorTableSlot", "space": 2, "index": 2, "used": 1}
                }
            ]
        }
    ]
}
}