1 hlsl.hull.ctrlpt-1.tesc 2 Shader version: 500 3 vertices = 3 4 vertex spacing = fractional_odd_spacing 5 triangle order = cw 6 0:? Sequence 7 0:27 Function Definition: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 8 0:27 Function Parameters: 9 0:27 'i' ( in 3-element array of structure{ temp 3-component vector of float val}) 10 0:27 'cpid' ( in uint) 11 0:? Sequence 12 0:29 move second child to first child ( temp 3-component vector of float) 13 0:29 val: direct index for structure ( temp 3-component vector of float) 14 0:29 'o' ( temp structure{ temp 3-component vector of float val}) 15 0:29 Constant: 16 0:29 0 (const int) 17 0:29 Construct vec3 ( temp 3-component vector of float) 18 0:29 Convert uint to float ( temp float) 19 0:29 'cpid' ( in uint) 20 0:30 Branch: Return with expression 21 0:30 'o' ( temp structure{ temp 3-component vector of float val}) 22 0:27 Function Definition: main( ( temp void) 23 0:27 Function Parameters: 24 0:? Sequence 25 0:27 move second child to first child ( temp 3-element array of structure{ temp 3-component vector of float val}) 26 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 27 0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val}) 28 0:27 move second child to first child ( temp uint) 29 0:? 'cpid' ( temp uint) 30 0:? 'cpid' ( in uint InvocationID) 31 0:27 move second child to first child ( temp structure{ temp 3-component vector of float val}) 32 0:27 indirect index (layout( location=0) out structure{ temp 3-component vector of float val}) 33 0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val}) 34 0:? 'cpid' ( in uint InvocationID) 35 0:27 Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 36 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 37 0:? 'cpid' ( temp uint) 38 0:? Barrier ( temp void) 39 0:? Test condition and select ( temp void) 40 0:? Condition 41 0:? Compare Equal ( temp bool) 42 0:? 'cpid' ( in uint InvocationID) 43 0:? Constant: 44 0:? 0 (const int) 45 0:? true case 46 0:? Sequence 47 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 48 0:? direct index ( temp structure{ temp 3-component vector of float val}) 49 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 50 0:? Constant: 51 0:? 0 (const int) 52 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 53 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 54 0:? Constant: 55 0:? 0 (const uint) 56 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 57 0:? direct index ( temp structure{ temp 3-component vector of float val}) 58 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 59 0:? Constant: 60 0:? 1 (const int) 61 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 62 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 63 0:? Constant: 64 0:? 1 (const uint) 65 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 66 0:? direct index ( temp structure{ temp 3-component vector of float val}) 67 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 68 0:? Constant: 69 0:? 2 (const int) 70 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 71 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 72 0:? Constant: 73 0:? 2 (const uint) 74 0:? move second child to first child ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 75 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 76 0:? Function Call: PCF(struct-hs_out_t-vf31[3]; ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 77 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 78 0:? Sequence 79 0:? move second child to first child ( temp float) 80 0:? direct index ( patch out float TessLevelOuter) 81 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 82 0:? Constant: 83 0:? 0 (const int) 84 0:? direct index ( temp float) 85 0:? tfactor: direct index for structure ( temp 3-element array of float) 86 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 87 0:? Constant: 88 0:? 0 (const int) 89 0:? Constant: 90 0:? 0 (const int) 91 0:? move second child to first child ( temp float) 92 0:? direct index ( patch out float TessLevelOuter) 93 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 94 0:? Constant: 95 0:? 1 (const int) 96 0:? direct index ( temp float) 97 0:? tfactor: direct index for structure ( temp 3-element array of float) 98 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 99 0:? Constant: 100 0:? 0 (const int) 101 0:? Constant: 102 0:? 1 (const int) 103 0:? move second child to first child ( temp float) 104 0:? direct index ( patch out float TessLevelOuter) 105 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 106 0:? Constant: 107 0:? 2 (const int) 108 0:? direct index ( temp float) 109 0:? tfactor: direct index for structure ( temp 3-element array of float) 110 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 111 0:? Constant: 112 0:? 0 (const int) 113 0:? Constant: 114 0:? 2 (const int) 115 0:? move second child to first child ( temp float) 116 0:? direct index ( patch out float TessLevelInner) 117 0:? '@patchConstantOutput.flInFactor' ( patch out 2-element array of float TessLevelInner) 118 0:? Constant: 119 0:? 0 (const int) 120 0:? flInFactor: direct index for structure ( temp float) 121 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 122 0:? Constant: 123 0:? 1 (const int) 124 0:34 Function Definition: PCF(struct-hs_out_t-vf31[3]; ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 125 0:34 Function Parameters: 126 0:34 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 127 0:? Sequence 128 0:37 move second child to first child ( temp float) 129 0:37 direct index ( temp float) 130 0:37 tfactor: direct index for structure ( temp 3-element array of float) 131 0:37 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 132 0:37 Constant: 133 0:37 0 (const int) 134 0:37 Constant: 135 0:37 0 (const int) 136 0:37 direct index ( temp float) 137 0:37 val: direct index for structure ( temp 3-component vector of float) 138 0:37 direct index ( temp structure{ temp 3-component vector of float val}) 139 0:37 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 140 0:37 Constant: 141 0:37 0 (const int) 142 0:37 Constant: 143 0:37 0 (const int) 144 0:37 Constant: 145 0:37 0 (const int) 146 0:38 move second child to first child ( temp float) 147 0:38 direct index ( temp float) 148 0:38 tfactor: direct index for structure ( temp 3-element array of float) 149 0:38 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 150 0:38 Constant: 151 0:38 0 (const int) 152 0:38 Constant: 153 0:38 1 (const int) 154 0:38 direct index ( temp float) 155 0:38 val: direct index for structure ( temp 3-component vector of float) 156 0:38 direct index ( temp structure{ temp 3-component vector of float val}) 157 0:38 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 158 0:38 Constant: 159 0:38 1 (const int) 160 0:38 Constant: 161 0:38 0 (const int) 162 0:38 Constant: 163 0:38 0 (const int) 164 0:39 move second child to first child ( temp float) 165 0:39 direct index ( temp float) 166 0:39 tfactor: direct index for structure ( temp 3-element array of float) 167 0:39 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 168 0:39 Constant: 169 0:39 0 (const int) 170 0:39 Constant: 171 0:39 2 (const int) 172 0:39 direct index ( temp float) 173 0:39 val: direct index for structure ( temp 3-component vector of float) 174 0:39 direct index ( temp structure{ temp 3-component vector of float val}) 175 0:39 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 176 0:39 Constant: 177 0:39 2 (const int) 178 0:39 Constant: 179 0:39 0 (const int) 180 0:39 Constant: 181 0:39 0 (const int) 182 0:40 move second child to first child ( temp float) 183 0:40 flInFactor: direct index for structure ( temp float) 184 0:40 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 185 0:40 Constant: 186 0:40 1 (const int) 187 0:40 Constant: 188 0:40 4.000000 189 0:42 Branch: Return with expression 190 0:42 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 191 0:? Linker Objects 192 0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val}) 193 0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val}) 194 0:? 'cpid' ( in uint InvocationID) 195 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 196 0:? '@patchConstantOutput.flInFactor' ( patch out 2-element array of float TessLevelInner) 197 198 199 Linked tessellation control stage: 200 201 202 Shader version: 500 203 vertices = 3 204 vertex spacing = fractional_odd_spacing 205 triangle order = cw 206 0:? Sequence 207 0:27 Function Definition: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 208 0:27 Function Parameters: 209 0:27 'i' ( in 3-element array of structure{ temp 3-component vector of float val}) 210 0:27 'cpid' ( in uint) 211 0:? Sequence 212 0:29 move second child to first child ( temp 3-component vector of float) 213 0:29 val: direct index for structure ( temp 3-component vector of float) 214 0:29 'o' ( temp structure{ temp 3-component vector of float val}) 215 0:29 Constant: 216 0:29 0 (const int) 217 0:29 Construct vec3 ( temp 3-component vector of float) 218 0:29 Convert uint to float ( temp float) 219 0:29 'cpid' ( in uint) 220 0:30 Branch: Return with expression 221 0:30 'o' ( temp structure{ temp 3-component vector of float val}) 222 0:27 Function Definition: main( ( temp void) 223 0:27 Function Parameters: 224 0:? Sequence 225 0:27 move second child to first child ( temp 3-element array of structure{ temp 3-component vector of float val}) 226 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 227 0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val}) 228 0:27 move second child to first child ( temp uint) 229 0:? 'cpid' ( temp uint) 230 0:? 'cpid' ( in uint InvocationID) 231 0:27 move second child to first child ( temp structure{ temp 3-component vector of float val}) 232 0:27 indirect index (layout( location=0) out structure{ temp 3-component vector of float val}) 233 0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val}) 234 0:? 'cpid' ( in uint InvocationID) 235 0:27 Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 236 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 237 0:? 'cpid' ( temp uint) 238 0:? Barrier ( temp void) 239 0:? Test condition and select ( temp void) 240 0:? Condition 241 0:? Compare Equal ( temp bool) 242 0:? 'cpid' ( in uint InvocationID) 243 0:? Constant: 244 0:? 0 (const int) 245 0:? true case 246 0:? Sequence 247 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 248 0:? direct index ( temp structure{ temp 3-component vector of float val}) 249 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 250 0:? Constant: 251 0:? 0 (const int) 252 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 253 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 254 0:? Constant: 255 0:? 0 (const uint) 256 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 257 0:? direct index ( temp structure{ temp 3-component vector of float val}) 258 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 259 0:? Constant: 260 0:? 1 (const int) 261 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 262 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 263 0:? Constant: 264 0:? 1 (const uint) 265 0:? move second child to first child ( temp structure{ temp 3-component vector of float val}) 266 0:? direct index ( temp structure{ temp 3-component vector of float val}) 267 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 268 0:? Constant: 269 0:? 2 (const int) 270 0:? Function Call: @main(struct-hs_in_t-vf31[3];u1; ( temp structure{ temp 3-component vector of float val}) 271 0:? 'i' ( temp 3-element array of structure{ temp 3-component vector of float val}) 272 0:? Constant: 273 0:? 2 (const uint) 274 0:? move second child to first child ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 275 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 276 0:? Function Call: PCF(struct-hs_out_t-vf31[3]; ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 277 0:? 'pcf_out' ( temp 3-element array of structure{ temp 3-component vector of float val}) 278 0:? Sequence 279 0:? move second child to first child ( temp float) 280 0:? direct index ( patch out float TessLevelOuter) 281 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 282 0:? Constant: 283 0:? 0 (const int) 284 0:? direct index ( temp float) 285 0:? tfactor: direct index for structure ( temp 3-element array of float) 286 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 287 0:? Constant: 288 0:? 0 (const int) 289 0:? Constant: 290 0:? 0 (const int) 291 0:? move second child to first child ( temp float) 292 0:? direct index ( patch out float TessLevelOuter) 293 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 294 0:? Constant: 295 0:? 1 (const int) 296 0:? direct index ( temp float) 297 0:? tfactor: direct index for structure ( temp 3-element array of float) 298 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 299 0:? Constant: 300 0:? 0 (const int) 301 0:? Constant: 302 0:? 1 (const int) 303 0:? move second child to first child ( temp float) 304 0:? direct index ( patch out float TessLevelOuter) 305 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 306 0:? Constant: 307 0:? 2 (const int) 308 0:? direct index ( temp float) 309 0:? tfactor: direct index for structure ( temp 3-element array of float) 310 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 311 0:? Constant: 312 0:? 0 (const int) 313 0:? Constant: 314 0:? 2 (const int) 315 0:? move second child to first child ( temp float) 316 0:? direct index ( patch out float TessLevelInner) 317 0:? '@patchConstantOutput.flInFactor' ( patch out 2-element array of float TessLevelInner) 318 0:? Constant: 319 0:? 0 (const int) 320 0:? flInFactor: direct index for structure ( temp float) 321 0:? '@patchConstantResult' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 322 0:? Constant: 323 0:? 1 (const int) 324 0:34 Function Definition: PCF(struct-hs_out_t-vf31[3]; ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 325 0:34 Function Parameters: 326 0:34 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 327 0:? Sequence 328 0:37 move second child to first child ( temp float) 329 0:37 direct index ( temp float) 330 0:37 tfactor: direct index for structure ( temp 3-element array of float) 331 0:37 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 332 0:37 Constant: 333 0:37 0 (const int) 334 0:37 Constant: 335 0:37 0 (const int) 336 0:37 direct index ( temp float) 337 0:37 val: direct index for structure ( temp 3-component vector of float) 338 0:37 direct index ( temp structure{ temp 3-component vector of float val}) 339 0:37 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 340 0:37 Constant: 341 0:37 0 (const int) 342 0:37 Constant: 343 0:37 0 (const int) 344 0:37 Constant: 345 0:37 0 (const int) 346 0:38 move second child to first child ( temp float) 347 0:38 direct index ( temp float) 348 0:38 tfactor: direct index for structure ( temp 3-element array of float) 349 0:38 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 350 0:38 Constant: 351 0:38 0 (const int) 352 0:38 Constant: 353 0:38 1 (const int) 354 0:38 direct index ( temp float) 355 0:38 val: direct index for structure ( temp 3-component vector of float) 356 0:38 direct index ( temp structure{ temp 3-component vector of float val}) 357 0:38 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 358 0:38 Constant: 359 0:38 1 (const int) 360 0:38 Constant: 361 0:38 0 (const int) 362 0:38 Constant: 363 0:38 0 (const int) 364 0:39 move second child to first child ( temp float) 365 0:39 direct index ( temp float) 366 0:39 tfactor: direct index for structure ( temp 3-element array of float) 367 0:39 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 368 0:39 Constant: 369 0:39 0 (const int) 370 0:39 Constant: 371 0:39 2 (const int) 372 0:39 direct index ( temp float) 373 0:39 val: direct index for structure ( temp 3-component vector of float) 374 0:39 direct index ( temp structure{ temp 3-component vector of float val}) 375 0:39 'pcf_out' ( const (read only) 3-element array of structure{ temp 3-component vector of float val}) 376 0:39 Constant: 377 0:39 2 (const int) 378 0:39 Constant: 379 0:39 0 (const int) 380 0:39 Constant: 381 0:39 0 (const int) 382 0:40 move second child to first child ( temp float) 383 0:40 flInFactor: direct index for structure ( temp float) 384 0:40 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 385 0:40 Constant: 386 0:40 1 (const int) 387 0:40 Constant: 388 0:40 4.000000 389 0:42 Branch: Return with expression 390 0:42 'o' ( temp structure{ temp 3-element array of float tfactor, temp float flInFactor}) 391 0:? Linker Objects 392 0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val}) 393 0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val}) 394 0:? 'cpid' ( in uint InvocationID) 395 0:? '@patchConstantOutput.tfactor' ( patch out 4-element array of float TessLevelOuter) 396 0:? '@patchConstantOutput.flInFactor' ( patch out 2-element array of float TessLevelInner) 397 398 // Module Version 10000 399 // Generated by (magic number): 80007 400 // Id's are bound by 124 401 402 Capability Tessellation 403 1: ExtInstImport "GLSL.std.450" 404 MemoryModel Logical GLSL450 405 EntryPoint TessellationControl 4 "main" 41 45 48 94 108 406 ExecutionMode 4 OutputVertices 3 407 ExecutionMode 4 Triangles 408 ExecutionMode 4 SpacingFractionalOdd 409 ExecutionMode 4 VertexOrderCw 410 Source HLSL 500 411 Name 4 "main" 412 Name 8 "hs_in_t" 413 MemberName 8(hs_in_t) 0 "val" 414 Name 14 "hs_out_t" 415 MemberName 14(hs_out_t) 0 "val" 416 Name 18 "@main(struct-hs_in_t-vf31[3];u1;" 417 Name 16 "i" 418 Name 17 "cpid" 419 Name 22 "hs_pcf_t" 420 MemberName 22(hs_pcf_t) 0 "tfactor" 421 MemberName 22(hs_pcf_t) 1 "flInFactor" 422 Name 25 "PCF(struct-hs_out_t-vf31[3];" 423 Name 24 "pcf_out" 424 Name 28 "o" 425 Name 39 "i" 426 Name 41 "i" 427 Name 43 "cpid" 428 Name 45 "cpid" 429 Name 48 "@entryPointOutput" 430 Name 50 "param" 431 Name 52 "param" 432 Name 66 "pcf_out" 433 Name 67 "i" 434 Name 68 "param" 435 Name 70 "param" 436 Name 74 "i" 437 Name 76 "param" 438 Name 78 "param" 439 Name 82 "i" 440 Name 83 "param" 441 Name 85 "param" 442 Name 89 "@patchConstantResult" 443 Name 94 "@patchConstantOutput.tfactor" 444 Name 108 "@patchConstantOutput.flInFactor" 445 Name 112 "o" 446 Decorate 41(i) Location 0 447 Decorate 45(cpid) BuiltIn InvocationId 448 Decorate 48(@entryPointOutput) Location 0 449 Decorate 94(@patchConstantOutput.tfactor) Patch 450 Decorate 94(@patchConstantOutput.tfactor) BuiltIn TessLevelOuter 451 Decorate 108(@patchConstantOutput.flInFactor) Patch 452 Decorate 108(@patchConstantOutput.flInFactor) BuiltIn TessLevelInner 453 2: TypeVoid 454 3: TypeFunction 2 455 6: TypeFloat 32 456 7: TypeVector 6(float) 3 457 8(hs_in_t): TypeStruct 7(fvec3) 458 9: TypeInt 32 0 459 10: 9(int) Constant 3 460 11: TypeArray 8(hs_in_t) 10 461 12: TypePointer Function 11 462 13: TypePointer Function 9(int) 463 14(hs_out_t): TypeStruct 7(fvec3) 464 15: TypeFunction 14(hs_out_t) 12(ptr) 13(ptr) 465 20: TypeArray 14(hs_out_t) 10 466 21: TypeArray 6(float) 10 467 22(hs_pcf_t): TypeStruct 21 6(float) 468 23: TypeFunction 22(hs_pcf_t) 20 469 27: TypePointer Function 14(hs_out_t) 470 29: TypeInt 32 1 471 30: 29(int) Constant 0 472 34: TypePointer Function 7(fvec3) 473 40: TypePointer Input 11 474 41(i): 40(ptr) Variable Input 475 44: TypePointer Input 9(int) 476 45(cpid): 44(ptr) Variable Input 477 47: TypePointer Output 20 478 48(@entryPointOutput): 47(ptr) Variable Output 479 55: TypePointer Output 14(hs_out_t) 480 57: 9(int) Constant 2 481 58: 9(int) Constant 4 482 59: 9(int) Constant 0 483 61: TypeBool 484 65: TypePointer Function 20 485 73: 29(int) Constant 1 486 75: 9(int) Constant 1 487 81: 29(int) Constant 2 488 88: TypePointer Function 22(hs_pcf_t) 489 92: TypeArray 6(float) 58 490 93: TypePointer Output 92 491 94(@patchConstantOutput.tfactor): 93(ptr) Variable Output 492 95: TypePointer Function 6(float) 493 98: TypePointer Output 6(float) 494 106: TypeArray 6(float) 57 495 107: TypePointer Output 106 496 108(@patchConstantOutput.flInFactor): 107(ptr) Variable Output 497 119: 6(float) Constant 1082130432 498 4(main): 2 Function None 3 499 5: Label 500 39(i): 12(ptr) Variable Function 501 43(cpid): 13(ptr) Variable Function 502 50(param): 12(ptr) Variable Function 503 52(param): 13(ptr) Variable Function 504 66(pcf_out): 65(ptr) Variable Function 505 67(i): 12(ptr) Variable Function 506 68(param): 12(ptr) Variable Function 507 70(param): 13(ptr) Variable Function 508 74(i): 12(ptr) Variable Function 509 76(param): 12(ptr) Variable Function 510 78(param): 13(ptr) Variable Function 511 82(i): 12(ptr) Variable Function 512 83(param): 12(ptr) Variable Function 513 85(param): 13(ptr) Variable Function 514 89(@patchConstantResult): 88(ptr) Variable Function 515 42: 11 Load 41(i) 516 Store 39(i) 42 517 46: 9(int) Load 45(cpid) 518 Store 43(cpid) 46 519 49: 9(int) Load 45(cpid) 520 51: 11 Load 39(i) 521 Store 50(param) 51 522 53: 9(int) Load 43(cpid) 523 Store 52(param) 53 524 54:14(hs_out_t) FunctionCall 18(@main(struct-hs_in_t-vf31[3];u1;) 50(param) 52(param) 525 56: 55(ptr) AccessChain 48(@entryPointOutput) 49 526 Store 56 54 527 ControlBarrier 57 58 59 528 60: 9(int) Load 45(cpid) 529 62: 61(bool) IEqual 60 30 530 SelectionMerge 64 None 531 BranchConditional 62 63 64 532 63: Label 533 69: 11 Load 67(i) 534 Store 68(param) 69 535 Store 70(param) 59 536 71:14(hs_out_t) FunctionCall 18(@main(struct-hs_in_t-vf31[3];u1;) 68(param) 70(param) 537 72: 27(ptr) AccessChain 66(pcf_out) 30 538 Store 72 71 539 77: 11 Load 74(i) 540 Store 76(param) 77 541 Store 78(param) 75 542 79:14(hs_out_t) FunctionCall 18(@main(struct-hs_in_t-vf31[3];u1;) 76(param) 78(param) 543 80: 27(ptr) AccessChain 66(pcf_out) 73 544 Store 80 79 545 84: 11 Load 82(i) 546 Store 83(param) 84 547 Store 85(param) 57 548 86:14(hs_out_t) FunctionCall 18(@main(struct-hs_in_t-vf31[3];u1;) 83(param) 85(param) 549 87: 27(ptr) AccessChain 66(pcf_out) 81 550 Store 87 86 551 90: 20 Load 66(pcf_out) 552 91:22(hs_pcf_t) FunctionCall 25(PCF(struct-hs_out_t-vf31[3];) 90 553 Store 89(@patchConstantResult) 91 554 96: 95(ptr) AccessChain 89(@patchConstantResult) 30 30 555 97: 6(float) Load 96 556 99: 98(ptr) AccessChain 94(@patchConstantOutput.tfactor) 30 557 Store 99 97 558 100: 95(ptr) AccessChain 89(@patchConstantResult) 30 73 559 101: 6(float) Load 100 560 102: 98(ptr) AccessChain 94(@patchConstantOutput.tfactor) 73 561 Store 102 101 562 103: 95(ptr) AccessChain 89(@patchConstantResult) 30 81 563 104: 6(float) Load 103 564 105: 98(ptr) AccessChain 94(@patchConstantOutput.tfactor) 81 565 Store 105 104 566 109: 95(ptr) AccessChain 89(@patchConstantResult) 73 567 110: 6(float) Load 109 568 111: 98(ptr) AccessChain 108(@patchConstantOutput.flInFactor) 30 569 Store 111 110 570 Branch 64 571 64: Label 572 Return 573 FunctionEnd 574 18(@main(struct-hs_in_t-vf31[3];u1;):14(hs_out_t) Function None 15 575 16(i): 12(ptr) FunctionParameter 576 17(cpid): 13(ptr) FunctionParameter 577 19: Label 578 28(o): 27(ptr) Variable Function 579 31: 9(int) Load 17(cpid) 580 32: 6(float) ConvertUToF 31 581 33: 7(fvec3) CompositeConstruct 32 32 32 582 35: 34(ptr) AccessChain 28(o) 30 583 Store 35 33 584 36:14(hs_out_t) Load 28(o) 585 ReturnValue 36 586 FunctionEnd 587 25(PCF(struct-hs_out_t-vf31[3];):22(hs_pcf_t) Function None 23 588 24(pcf_out): 20 FunctionParameter 589 26: Label 590 112(o): 88(ptr) Variable Function 591 113: 6(float) CompositeExtract 24(pcf_out) 0 0 0 592 114: 95(ptr) AccessChain 112(o) 30 30 593 Store 114 113 594 115: 6(float) CompositeExtract 24(pcf_out) 1 0 0 595 116: 95(ptr) AccessChain 112(o) 30 73 596 Store 116 115 597 117: 6(float) CompositeExtract 24(pcf_out) 2 0 0 598 118: 95(ptr) AccessChain 112(o) 30 81 599 Store 118 117 600 120: 95(ptr) AccessChain 112(o) 73 601 Store 120 119 602 121:22(hs_pcf_t) Load 112(o) 603 ReturnValue 121 604 FunctionEnd 605