yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
bdda8a90c
master
1result code = 0 2standard error = { 3} 4standard output = { 5{ 6 "parameters": [ 7 { 8 "name": "t", 9 "binding": {"kind": "descriptorTableSlot", "index": 0}, 10 "type": { 11 "kind": "resource", 12 "baseShape": "texture2D", 13 "resultType": { 14 "kind": "vector", 15 "elementCount": 4, 16 "elementType": { 17 "kind": "scalar", 18 "scalarType": "float32" 19 } 20 } 21 } 22 }, 23 { 24 "name": "s", 25 "binding": {"kind": "descriptorTableSlot", "index": 1}, 26 "type": { 27 "kind": "samplerState" 28 } 29 }, 30 { 31 "name": "C", 32 "binding": {"kind": "descriptorTableSlot", "index": 2}, 33 "type": { 34 "kind": "constantBuffer", 35 "elementType": { 36 "kind": "struct", 37 "fields": [ 38 { 39 "name": "c", 40 "type": { 41 "kind": "vector", 42 "elementCount": 3, 43 "elementType": { 44 "kind": "scalar", 45 "scalarType": "float32" 46 } 47 }, 48 "binding": {"kind": "uniform", "offset": 0, "size": 12, "elementStride": 4} 49 } 50 ] 51 }, 52 "containerVarLayout": { 53 "binding": {"kind": "descriptorTableSlot", "index": 0} 54 }, 55 "elementVarLayout": { 56 "type": { 57 "kind": "struct", 58 "fields": [ 59 { 60 "name": "c", 61 "type": { 62 "kind": "vector", 63 "elementCount": 3, 64 "elementType": { 65 "kind": "scalar", 66 "scalarType": "float32" 67 } 68 }, 69 "binding": {"kind": "uniform", "offset": 0, "size": 12, "elementStride": 4} 70 } 71 ] 72 }, 73 "binding": {"kind": "uniform", "offset": 0, "size": 16, "elementStride": 0} 74 } 75 } 76 } 77 ], 78 "entryPoints": [ 79 { 80 "name": "main", 81 "stage": "fragment", 82 "result": { 83 "stage": "fragment", 84 "binding": {"kind": "varyingOutput", "index": 0}, 85 "semanticName": "SV_TARGET", 86 "type": { 87 "kind": "vector", 88 "elementCount": 4, 89 "elementType": { 90 "kind": "scalar", 91 "scalarType": "float32" 92 } 93 } 94 } 95 } 96 ] 97} 98}