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": "A", 9 "binding": {"kind": "constantBuffer", "index": 0}, 10 "type": { 11 "kind": "constantBuffer", 12 "elementType": { 13 "kind": "struct", 14 "fields": [ 15 { 16 "name": "aa", 17 "type": { 18 "kind": "matrix", 19 "rowCount": 3, 20 "columnCount": 4, 21 "elementType": { 22 "kind": "scalar", 23 "scalarType": "float32" 24 } 25 }, 26 "binding": {"kind": "uniform", "offset": 0, "size": 60, "elementStride": 0} 27 }, 28 { 29 "name": "ab", 30 "type": { 31 "kind": "matrix", 32 "rowCount": 3, 33 "columnCount": 4, 34 "elementType": { 35 "kind": "scalar", 36 "scalarType": "float32" 37 } 38 }, 39 "binding": {"kind": "uniform", "offset": 64, "size": 48, "elementStride": 0} 40 }, 41 { 42 "name": "ac", 43 "type": { 44 "kind": "matrix", 45 "rowCount": 3, 46 "columnCount": 4, 47 "elementType": { 48 "kind": "scalar", 49 "scalarType": "float32" 50 } 51 }, 52 "binding": {"kind": "uniform", "offset": 112, "size": 60, "elementStride": 0} 53 } 54 ] 55 }, 56 "containerVarLayout": { 57 "binding": {"kind": "constantBuffer", "index": 0} 58 }, 59 "elementVarLayout": { 60 "type": { 61 "kind": "struct", 62 "fields": [ 63 { 64 "name": "aa", 65 "type": { 66 "kind": "matrix", 67 "rowCount": 3, 68 "columnCount": 4, 69 "elementType": { 70 "kind": "scalar", 71 "scalarType": "float32" 72 } 73 }, 74 "binding": {"kind": "uniform", "offset": 0, "size": 60, "elementStride": 0} 75 }, 76 { 77 "name": "ab", 78 "type": { 79 "kind": "matrix", 80 "rowCount": 3, 81 "columnCount": 4, 82 "elementType": { 83 "kind": "scalar", 84 "scalarType": "float32" 85 } 86 }, 87 "binding": {"kind": "uniform", "offset": 64, "size": 48, "elementStride": 0} 88 }, 89 { 90 "name": "ac", 91 "type": { 92 "kind": "matrix", 93 "rowCount": 3, 94 "columnCount": 4, 95 "elementType": { 96 "kind": "scalar", 97 "scalarType": "float32" 98 } 99 }, 100 "binding": {"kind": "uniform", "offset": 112, "size": 60, "elementStride": 0} 101 } 102 ] 103 }, 104 "binding": {"kind": "uniform", "offset": 0, "size": 172, "elementStride": 0} 105 } 106 } 107 }, 108 { 109 "name": "B", 110 "binding": {"kind": "constantBuffer", "index": 1}, 111 "type": { 112 "kind": "constantBuffer", 113 "elementType": { 114 "kind": "struct", 115 "fields": [ 116 { 117 "name": "b", 118 "type": { 119 "kind": "struct", 120 "name": "SB", 121 "fields": [ 122 { 123 "name": "ba", 124 "type": { 125 "kind": "matrix", 126 "rowCount": 3, 127 "columnCount": 4, 128 "elementType": { 129 "kind": "scalar", 130 "scalarType": "float32" 131 } 132 }, 133 "binding": {"kind": "uniform", "offset": 0, "size": 60, "elementStride": 0} 134 }, 135 { 136 "name": "bb", 137 "type": { 138 "kind": "matrix", 139 "rowCount": 3, 140 "columnCount": 4, 141 "elementType": { 142 "kind": "scalar", 143 "scalarType": "float32" 144 } 145 }, 146 "binding": {"kind": "uniform", "offset": 64, "size": 48, "elementStride": 0} 147 }, 148 { 149 "name": "bc", 150 "type": { 151 "kind": "matrix", 152 "rowCount": 3, 153 "columnCount": 4, 154 "elementType": { 155 "kind": "scalar", 156 "scalarType": "float32" 157 } 158 }, 159 "binding": {"kind": "uniform", "offset": 112, "size": 60, "elementStride": 0} 160 } 161 ] 162 }, 163 "binding": {"kind": "uniform", "offset": 0, "size": 172, "elementStride": 0} 164 } 165 ] 166 }, 167 "containerVarLayout": { 168 "binding": {"kind": "constantBuffer", "index": 0} 169 }, 170 "elementVarLayout": { 171 "type": { 172 "kind": "struct", 173 "fields": [ 174 { 175 "name": "b", 176 "type": { 177 "kind": "struct", 178 "name": "SB", 179 "fields": [ 180 { 181 "name": "ba", 182 "type": { 183 "kind": "matrix", 184 "rowCount": 3, 185 "columnCount": 4, 186 "elementType": { 187 "kind": "scalar", 188 "scalarType": "float32" 189 } 190 }, 191 "binding": {"kind": "uniform", "offset": 0, "size": 60, "elementStride": 0} 192 }, 193 { 194 "name": "bb", 195 "type": { 196 "kind": "matrix", 197 "rowCount": 3, 198 "columnCount": 4, 199 "elementType": { 200 "kind": "scalar", 201 "scalarType": "float32" 202 } 203 }, 204 "binding": {"kind": "uniform", "offset": 64, "size": 48, "elementStride": 0} 205 }, 206 { 207 "name": "bc", 208 "type": { 209 "kind": "matrix", 210 "rowCount": 3, 211 "columnCount": 4, 212 "elementType": { 213 "kind": "scalar", 214 "scalarType": "float32" 215 } 216 }, 217 "binding": {"kind": "uniform", "offset": 112, "size": 60, "elementStride": 0} 218 } 219 ] 220 }, 221 "binding": {"kind": "uniform", "offset": 0, "size": 172, "elementStride": 0} 222 } 223 ] 224 }, 225 "binding": {"kind": "uniform", "offset": 0, "size": 172, "elementStride": 0} 226 } 227 } 228 } 229 ], 230 "entryPoints": [ 231 { 232 "name": "main", 233 "stage": "fragment", 234 "result": { 235 "stage": "fragment", 236 "binding": {"kind": "varyingOutput", "index": 0}, 237 "semanticName": "SV_TARGET", 238 "type": { 239 "kind": "vector", 240 "elementCount": 4, 241 "elementType": { 242 "kind": "scalar", 243 "scalarType": "float32" 244 } 245 } 246 } 247 } 248 ] 249} 250}