1hlsl.wavequery.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: @PixelShaderFunction( ( temp 4-component vector of float)
60:2    Function Parameters:
70:?     Sequence
80:3      Test condition and select ( temp void)
90:3        Condition
100:3        subgroupElect ( temp bool)
110:3        true case
120:?         Sequence
130:5          Branch: Return with expression
140:?             Constant:
150:?               1.000000
160:?               2.000000
170:?               3.000000
180:?               4.000000
190:3        false case
200:?         Sequence
210:9          Branch: Return with expression
220:?             Constant:
230:?               4.000000
240:?               3.000000
250:?               2.000000
260:?               1.000000
270:2  Function Definition: PixelShaderFunction( ( temp void)
280:2    Function Parameters:
290:?     Sequence
300:2      move second child to first child ( temp 4-component vector of float)
310:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
320:2        Function Call: @PixelShaderFunction( ( temp 4-component vector of float)
330:?   Linker Objects
340:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
35
36
37Linked fragment stage:
38
39
40Shader version: 500
41gl_FragCoord origin is upper left
420:? Sequence
430:2  Function Definition: @PixelShaderFunction( ( temp 4-component vector of float)
440:2    Function Parameters:
450:?     Sequence
460:3      Test condition and select ( temp void)
470:3        Condition
480:3        subgroupElect ( temp bool)
490:3        true case
500:?         Sequence
510:5          Branch: Return with expression
520:?             Constant:
530:?               1.000000
540:?               2.000000
550:?               3.000000
560:?               4.000000
570:3        false case
580:?         Sequence
590:9          Branch: Return with expression
600:?             Constant:
610:?               4.000000
620:?               3.000000
630:?               2.000000
640:?               1.000000
650:2  Function Definition: PixelShaderFunction( ( temp void)
660:2    Function Parameters:
670:?     Sequence
680:2      move second child to first child ( temp 4-component vector of float)
690:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
700:2        Function Call: @PixelShaderFunction( ( temp 4-component vector of float)
710:?   Linker Objects
720:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
73
74// Module Version 10300
75// Generated by (magic number): 80007
76// Id's are bound by 30
77
78                              Capability Shader
79                              Capability GroupNonUniform
80               1:             ExtInstImport  "GLSL.std.450"
81                              MemoryModel Logical GLSL450
82                              EntryPoint Fragment 4  "PixelShaderFunction" 28
83                              ExecutionMode 4 OriginUpperLeft
84                              Source HLSL 500
85                              Name 4  "PixelShaderFunction"
86                              Name 9  "@PixelShaderFunction("
87                              Name 28  "@entryPointOutput"
88                              Decorate 28(@entryPointOutput) Location 0
89               2:             TypeVoid
90               3:             TypeFunction 2
91               6:             TypeFloat 32
92               7:             TypeVector 6(float) 4
93               8:             TypeFunction 7(fvec4)
94              11:             TypeBool
95              12:             TypeInt 32 0
96              13:     12(int) Constant 3
97              17:    6(float) Constant 1065353216
98              18:    6(float) Constant 1073741824
99              19:    6(float) Constant 1077936128
100              20:    6(float) Constant 1082130432
101              21:    7(fvec4) ConstantComposite 17 18 19 20
102              24:    7(fvec4) ConstantComposite 20 19 18 17
103              27:             TypePointer Output 7(fvec4)
10428(@entryPointOutput):     27(ptr) Variable Output
1054(PixelShaderFunction):           2 Function None 3
106               5:             Label
107              29:    7(fvec4) FunctionCall 9(@PixelShaderFunction()
108                              Store 28(@entryPointOutput) 29
109                              Return
110                              FunctionEnd
1119(@PixelShaderFunction():    7(fvec4) Function None 8
112              10:             Label
113              14:    11(bool) GroupNonUniformElect 13
114                              SelectionMerge 16 None
115                              BranchConditional 14 15 23
116              15:               Label
117                                ReturnValue 21
118              23:               Label
119                                ReturnValue 24
120              16:             Label
121              26:    7(fvec4) Undef
122                              ReturnValue 26
123                              FunctionEnd
124