1 hlsl.semantic.vert 2 Shader version: 500 3 0:? Sequence 4 0:10 Function Definition: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 5 0:10 Function Parameters: 6 0:10 'ins' ( in structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 7 0:? Sequence 8 0:12 Branch: Return with expression 9 0:12 's' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 10 0:10 Function Definition: main( ( temp void) 11 0:10 Function Parameters: 12 0:? Sequence 13 0:10 Sequence 14 0:10 move second child to first child ( temp float) 15 0:10 clip0: direct index for structure ( temp float) 16 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 17 0:10 Constant: 18 0:10 0 (const int) 19 0:? 'ins.clip0' (layout( location=0) in float) 20 0:10 move second child to first child ( temp float) 21 0:10 clip1: direct index for structure ( temp float) 22 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 23 0:10 Constant: 24 0:10 1 (const int) 25 0:? 'ins.clip1' (layout( location=1) in float) 26 0:10 move second child to first child ( temp float) 27 0:10 cull0: direct index for structure ( temp float) 28 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 29 0:10 Constant: 30 0:10 2 (const int) 31 0:? 'ins.cull0' (layout( location=0) in float) 32 0:10 move second child to first child ( temp float) 33 0:10 cull1: direct index for structure ( temp float) 34 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 35 0:10 Constant: 36 0:10 3 (const int) 37 0:? 'ins.cull1' (layout( location=1) in float) 38 0:10 move second child to first child ( temp int) 39 0:10 ii: direct index for structure ( temp int) 40 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 41 0:10 Constant: 42 0:10 4 (const int) 43 0:? 'ins.ii' ( in int InstanceIndex) 44 0:10 Sequence 45 0:10 move second child to first child ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 46 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 47 0:10 Function Call: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 48 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 49 0:? Sequence 50 0:10 move second child to first child ( temp float) 51 0:10 direct index ( out float ClipDistance) 52 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 53 0:10 Constant: 54 0:10 0 (const int) 55 0:10 clip0: direct index for structure ( temp float) 56 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 57 0:10 Constant: 58 0:10 0 (const int) 59 0:? Sequence 60 0:10 move second child to first child ( temp float) 61 0:10 direct index ( out float ClipDistance) 62 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 63 0:10 Constant: 64 0:10 1 (const int) 65 0:10 clip1: direct index for structure ( temp float) 66 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 67 0:10 Constant: 68 0:10 1 (const int) 69 0:? Sequence 70 0:10 move second child to first child ( temp float) 71 0:10 direct index ( out float CullDistance) 72 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 73 0:10 Constant: 74 0:10 0 (const int) 75 0:10 cull0: direct index for structure ( temp float) 76 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 77 0:10 Constant: 78 0:10 2 (const int) 79 0:? Sequence 80 0:10 move second child to first child ( temp float) 81 0:10 direct index ( out float CullDistance) 82 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 83 0:10 Constant: 84 0:10 1 (const int) 85 0:10 cull1: direct index for structure ( temp float) 86 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 87 0:10 Constant: 88 0:10 3 (const int) 89 0:10 move second child to first child ( temp int) 90 0:? '@entryPointOutput.ii' (layout( location=0) out int) 91 0:10 ii: direct index for structure ( temp int) 92 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 93 0:10 Constant: 94 0:10 4 (const int) 95 0:? Linker Objects 96 0:? '@entryPointOutput.ii' (layout( location=0) out int) 97 0:? 'ins.ii' ( in int InstanceIndex) 98 0:? 'ins.clip0' (layout( location=0) in float) 99 0:? 'ins.clip1' (layout( location=1) in float) 100 0:? 'ins.cull0' (layout( location=0) in float) 101 0:? 'ins.cull1' (layout( location=1) in float) 102 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 103 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 104 105 106 Linked vertex stage: 107 108 109 Shader version: 500 110 0:? Sequence 111 0:10 Function Definition: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 112 0:10 Function Parameters: 113 0:10 'ins' ( in structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 114 0:? Sequence 115 0:12 Branch: Return with expression 116 0:12 's' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 117 0:10 Function Definition: main( ( temp void) 118 0:10 Function Parameters: 119 0:? Sequence 120 0:10 Sequence 121 0:10 move second child to first child ( temp float) 122 0:10 clip0: direct index for structure ( temp float) 123 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 124 0:10 Constant: 125 0:10 0 (const int) 126 0:? 'ins.clip0' (layout( location=0) in float) 127 0:10 move second child to first child ( temp float) 128 0:10 clip1: direct index for structure ( temp float) 129 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 130 0:10 Constant: 131 0:10 1 (const int) 132 0:? 'ins.clip1' (layout( location=1) in float) 133 0:10 move second child to first child ( temp float) 134 0:10 cull0: direct index for structure ( temp float) 135 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 136 0:10 Constant: 137 0:10 2 (const int) 138 0:? 'ins.cull0' (layout( location=0) in float) 139 0:10 move second child to first child ( temp float) 140 0:10 cull1: direct index for structure ( temp float) 141 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 142 0:10 Constant: 143 0:10 3 (const int) 144 0:? 'ins.cull1' (layout( location=1) in float) 145 0:10 move second child to first child ( temp int) 146 0:10 ii: direct index for structure ( temp int) 147 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 148 0:10 Constant: 149 0:10 4 (const int) 150 0:? 'ins.ii' ( in int InstanceIndex) 151 0:10 Sequence 152 0:10 move second child to first child ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 153 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 154 0:10 Function Call: @main(struct-S-f1-f1-f1-f1-i11; ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 155 0:? 'ins' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 156 0:? Sequence 157 0:10 move second child to first child ( temp float) 158 0:10 direct index ( out float ClipDistance) 159 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 160 0:10 Constant: 161 0:10 0 (const int) 162 0:10 clip0: direct index for structure ( temp float) 163 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 164 0:10 Constant: 165 0:10 0 (const int) 166 0:? Sequence 167 0:10 move second child to first child ( temp float) 168 0:10 direct index ( out float ClipDistance) 169 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 170 0:10 Constant: 171 0:10 1 (const int) 172 0:10 clip1: direct index for structure ( temp float) 173 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 174 0:10 Constant: 175 0:10 1 (const int) 176 0:? Sequence 177 0:10 move second child to first child ( temp float) 178 0:10 direct index ( out float CullDistance) 179 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 180 0:10 Constant: 181 0:10 0 (const int) 182 0:10 cull0: direct index for structure ( temp float) 183 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 184 0:10 Constant: 185 0:10 2 (const int) 186 0:? Sequence 187 0:10 move second child to first child ( temp float) 188 0:10 direct index ( out float CullDistance) 189 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 190 0:10 Constant: 191 0:10 1 (const int) 192 0:10 cull1: direct index for structure ( temp float) 193 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 194 0:10 Constant: 195 0:10 3 (const int) 196 0:10 move second child to first child ( temp int) 197 0:? '@entryPointOutput.ii' (layout( location=0) out int) 198 0:10 ii: direct index for structure ( temp int) 199 0:10 'flattenTemp' ( temp structure{ temp float clip0, temp float clip1, temp float cull0, temp float cull1, temp int ii}) 200 0:10 Constant: 201 0:10 4 (const int) 202 0:? Linker Objects 203 0:? '@entryPointOutput.ii' (layout( location=0) out int) 204 0:? 'ins.ii' ( in int InstanceIndex) 205 0:? 'ins.clip0' (layout( location=0) in float) 206 0:? 'ins.clip1' (layout( location=1) in float) 207 0:? 'ins.cull0' (layout( location=0) in float) 208 0:? 'ins.cull1' (layout( location=1) in float) 209 0:? '@entryPointOutput.clip1' ( out 2-element array of float ClipDistance) 210 0:? '@entryPointOutput.cull1' ( out 2-element array of float CullDistance) 211 212 // Module Version 10000 213 // Generated by (magic number): 80007 214 // Id's are bound by 70 215 216 Capability Shader 217 Capability ClipDistance 218 Capability CullDistance 219 1: ExtInstImport "GLSL.std.450" 220 MemoryModel Logical GLSL450 221 EntryPoint Vertex 4 "main" 21 26 30 34 39 51 59 67 222 Source HLSL 500 223 Name 4 "main" 224 Name 8 "S" 225 MemberName 8(S) 0 "clip0" 226 MemberName 8(S) 1 "clip1" 227 MemberName 8(S) 2 "cull0" 228 MemberName 8(S) 3 "cull1" 229 MemberName 8(S) 4 "ii" 230 Name 12 "@main(struct-S-f1-f1-f1-f1-i11;" 231 Name 11 "ins" 232 Name 14 "s" 233 Name 18 "ins" 234 Name 21 "ins.clip0" 235 Name 26 "ins.clip1" 236 Name 30 "ins.cull0" 237 Name 34 "ins.cull1" 238 Name 39 "ins.ii" 239 Name 43 "flattenTemp" 240 Name 44 "param" 241 Name 51 "@entryPointOutput.clip1" 242 Name 59 "@entryPointOutput.cull1" 243 Name 67 "@entryPointOutput.ii" 244 Decorate 21(ins.clip0) Location 0 245 Decorate 26(ins.clip1) Location 1 246 Decorate 30(ins.cull0) Location 0 247 Decorate 34(ins.cull1) Location 1 248 Decorate 39(ins.ii) BuiltIn InstanceIndex 249 Decorate 51(@entryPointOutput.clip1) BuiltIn ClipDistance 250 Decorate 59(@entryPointOutput.cull1) BuiltIn CullDistance 251 Decorate 67(@entryPointOutput.ii) Location 0 252 2: TypeVoid 253 3: TypeFunction 2 254 6: TypeFloat 32 255 7: TypeInt 32 1 256 8(S): TypeStruct 6(float) 6(float) 6(float) 6(float) 7(int) 257 9: TypePointer Function 8(S) 258 10: TypeFunction 8(S) 9(ptr) 259 19: 7(int) Constant 0 260 20: TypePointer Input 6(float) 261 21(ins.clip0): 20(ptr) Variable Input 262 23: TypePointer Function 6(float) 263 25: 7(int) Constant 1 264 26(ins.clip1): 20(ptr) Variable Input 265 29: 7(int) Constant 2 266 30(ins.cull0): 20(ptr) Variable Input 267 33: 7(int) Constant 3 268 34(ins.cull1): 20(ptr) Variable Input 269 37: 7(int) Constant 4 270 38: TypePointer Input 7(int) 271 39(ins.ii): 38(ptr) Variable Input 272 41: TypePointer Function 7(int) 273 47: TypeInt 32 0 274 48: 47(int) Constant 2 275 49: TypeArray 6(float) 48 276 50: TypePointer Output 49 277 51(@entryPointOutput.clip1): 50(ptr) Variable Output 278 54: TypePointer Output 6(float) 279 59(@entryPointOutput.cull1): 50(ptr) Variable Output 280 66: TypePointer Output 7(int) 281 67(@entryPointOutput.ii): 66(ptr) Variable Output 282 4(main): 2 Function None 3 283 5: Label 284 18(ins): 9(ptr) Variable Function 285 43(flattenTemp): 9(ptr) Variable Function 286 44(param): 9(ptr) Variable Function 287 22: 6(float) Load 21(ins.clip0) 288 24: 23(ptr) AccessChain 18(ins) 19 289 Store 24 22 290 27: 6(float) Load 26(ins.clip1) 291 28: 23(ptr) AccessChain 18(ins) 25 292 Store 28 27 293 31: 6(float) Load 30(ins.cull0) 294 32: 23(ptr) AccessChain 18(ins) 29 295 Store 32 31 296 35: 6(float) Load 34(ins.cull1) 297 36: 23(ptr) AccessChain 18(ins) 33 298 Store 36 35 299 40: 7(int) Load 39(ins.ii) 300 42: 41(ptr) AccessChain 18(ins) 37 301 Store 42 40 302 45: 8(S) Load 18(ins) 303 Store 44(param) 45 304 46: 8(S) FunctionCall 12(@main(struct-S-f1-f1-f1-f1-i11;) 44(param) 305 Store 43(flattenTemp) 46 306 52: 23(ptr) AccessChain 43(flattenTemp) 19 307 53: 6(float) Load 52 308 55: 54(ptr) AccessChain 51(@entryPointOutput.clip1) 19 309 Store 55 53 310 56: 23(ptr) AccessChain 43(flattenTemp) 25 311 57: 6(float) Load 56 312 58: 54(ptr) AccessChain 51(@entryPointOutput.clip1) 25 313 Store 58 57 314 60: 23(ptr) AccessChain 43(flattenTemp) 29 315 61: 6(float) Load 60 316 62: 54(ptr) AccessChain 59(@entryPointOutput.cull1) 19 317 Store 62 61 318 63: 23(ptr) AccessChain 43(flattenTemp) 33 319 64: 6(float) Load 63 320 65: 54(ptr) AccessChain 59(@entryPointOutput.cull1) 25 321 Store 65 64 322 68: 41(ptr) AccessChain 43(flattenTemp) 37 323 69: 7(int) Load 68 324 Store 67(@entryPointOutput.ii) 69 325 Return 326 FunctionEnd 327 12(@main(struct-S-f1-f1-f1-f1-i11;): 8(S) Function None 10 328 11(ins): 9(ptr) FunctionParameter 329 13: Label 330 14(s): 9(ptr) Variable Function 331 15: 8(S) Load 14(s) 332 ReturnValue 15 333 FunctionEnd 334