1 hlsl.wavequery.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:2 Function Definition: @PixelShaderFunction( ( temp 4-component vector of float) 6 0:2 Function Parameters: 7 0:? Sequence 8 0:3 Test condition and select ( temp void) 9 0:3 Condition 10 0:3 subgroupElect ( temp bool) 11 0:3 true case 12 0:? Sequence 13 0:5 Branch: Return with expression 14 0:? Constant: 15 0:? 1.000000 16 0:? 2.000000 17 0:? 3.000000 18 0:? 4.000000 19 0:3 false case 20 0:? Sequence 21 0:9 Branch: Return with expression 22 0:? Constant: 23 0:? 4.000000 24 0:? 3.000000 25 0:? 2.000000 26 0:? 1.000000 27 0:2 Function Definition: PixelShaderFunction( ( temp void) 28 0:2 Function Parameters: 29 0:? Sequence 30 0:2 move second child to first child ( temp 4-component vector of float) 31 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 32 0:2 Function Call: @PixelShaderFunction( ( temp 4-component vector of float) 33 0:? Linker Objects 34 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 35 36 37 Linked fragment stage: 38 39 40 Shader version: 500 41 gl_FragCoord origin is upper left 42 0:? Sequence 43 0:2 Function Definition: @PixelShaderFunction( ( temp 4-component vector of float) 44 0:2 Function Parameters: 45 0:? Sequence 46 0:3 Test condition and select ( temp void) 47 0:3 Condition 48 0:3 subgroupElect ( temp bool) 49 0:3 true case 50 0:? Sequence 51 0:5 Branch: Return with expression 52 0:? Constant: 53 0:? 1.000000 54 0:? 2.000000 55 0:? 3.000000 56 0:? 4.000000 57 0:3 false case 58 0:? Sequence 59 0:9 Branch: Return with expression 60 0:? Constant: 61 0:? 4.000000 62 0:? 3.000000 63 0:? 2.000000 64 0:? 1.000000 65 0:2 Function Definition: PixelShaderFunction( ( temp void) 66 0:2 Function Parameters: 67 0:? Sequence 68 0:2 move second child to first child ( temp 4-component vector of float) 69 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 70 0:2 Function Call: @PixelShaderFunction( ( temp 4-component vector of float) 71 0:? Linker Objects 72 0:? '@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) 104 28(@entryPointOutput): 27(ptr) Variable Output 105 4(PixelShaderFunction): 2 Function None 3 106 5: Label 107 29: 7(fvec4) FunctionCall 9(@PixelShaderFunction() 108 Store 28(@entryPointOutput) 29 109 Return 110 FunctionEnd 111 9(@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