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