yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
cd20e94af
master
1result code = 0 2standard error = { 3} 4standard output = { 5{ 6 "parameters": [ 7 { 8 "name": "t", 9 "binding": {"kind": "shaderResource", "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 "shared": true, 26 "binding": {"kind": "samplerState", "index": 0}, 27 "type": { 28 "kind": "samplerState" 29 } 30 } 31 ], 32 "entryPoints": [ 33 { 34 "name": "main", 35 "stage": "fragment", 36 "parameters": [ 37 { 38 "name": "uv", 39 "stage": "fragment", 40 "binding": {"kind": "varyingInput", "index": 0}, 41 "semanticName": "UV", 42 "type": { 43 "kind": "vector", 44 "elementCount": 2, 45 "elementType": { 46 "kind": "scalar", 47 "scalarType": "float32" 48 } 49 } 50 } 51 ], 52 "result": { 53 "stage": "fragment", 54 "binding": {"kind": "varyingOutput", "index": 0}, 55 "semanticName": "SV_TARGET", 56 "type": { 57 "kind": "vector", 58 "elementCount": 4, 59 "elementType": { 60 "kind": "scalar", 61 "scalarType": "float32" 62 } 63 } 64 } 65 } 66 ] 67} 68}