1hlsl.scope.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:2 Function Definition: @PixelShaderFunction(vf4; ( temp void) 60:2 Function Parameters: 70:2 'input' ( in 4-component vector of float) 80:? Sequence 90:4 'x' ( temp int) 100:? Sequence 110:7 'x' ( temp float) 120:? Sequence 130:10 'x' ( temp bool) 140:? Sequence 150:13 'x' ( temp 3-component vector of float) 160:15 'x' ( temp bool) 170:17 'x' ( temp float) 180:19 'x' ( temp int) 190:21 Test condition and select ( temp void) 200:21 Condition 210:21 Compare Greater Than ( temp bool) 220:21 'x' ( temp int) 230:21 Constant: 240:21 0 (const int) 250:21 true case is null 260:24 Loop with condition tested first 270:24 Loop Condition 280:24 Compare Greater Than ( temp bool) 290:24 'x' ( temp int) 300:24 Constant: 310:24 0 (const int) 320:24 No loop body 330:27 Loop with condition not tested first 340:27 Loop Condition 350:29 Compare Greater Than ( temp bool) 360:29 'x' ( temp int) 370:29 Constant: 380:29 0 (const int) 390:27 No loop body 400:2 Function Definition: PixelShaderFunction( ( temp void) 410:2 Function Parameters: 420:? Sequence 430:2 move second child to first child ( temp 4-component vector of float) 440:? 'input' ( temp 4-component vector of float) 450:? 'input' (layout( location=0) in 4-component vector of float) 460:2 Function Call: @PixelShaderFunction(vf4; ( temp void) 470:? 'input' ( temp 4-component vector of float) 480:? Linker Objects 490:? 'input' (layout( location=0) in 4-component vector of float) 50 51 52Linked fragment stage: 53 54 55Shader version: 500 56gl_FragCoord origin is upper left 570:? Sequence 580:2 Function Definition: @PixelShaderFunction(vf4; ( temp void) 590:2 Function Parameters: 600:2 'input' ( in 4-component vector of float) 610:? Sequence 620:4 'x' ( temp int) 630:? Sequence 640:7 'x' ( temp float) 650:? Sequence 660:10 'x' ( temp bool) 670:? Sequence 680:13 'x' ( temp 3-component vector of float) 690:15 'x' ( temp bool) 700:17 'x' ( temp float) 710:19 'x' ( temp int) 720:21 Test condition and select ( temp void) 730:21 Condition 740:21 Compare Greater Than ( temp bool) 750:21 'x' ( temp int) 760:21 Constant: 770:21 0 (const int) 780:21 true case is null 790:24 Loop with condition tested first 800:24 Loop Condition 810:24 Compare Greater Than ( temp bool) 820:24 'x' ( temp int) 830:24 Constant: 840:24 0 (const int) 850:24 No loop body 860:27 Loop with condition not tested first 870:27 Loop Condition 880:29 Compare Greater Than ( temp bool) 890:29 'x' ( temp int) 900:29 Constant: 910:29 0 (const int) 920:27 No loop body 930:2 Function Definition: PixelShaderFunction( ( temp void) 940:2 Function Parameters: 950:? Sequence 960:2 move second child to first child ( temp 4-component vector of float) 970:? 'input' ( temp 4-component vector of float) 980:? 'input' (layout( location=0) in 4-component vector of float) 990:2 Function Call: @PixelShaderFunction(vf4; ( temp void) 1000:? 'input' ( temp 4-component vector of float) 1010:? Linker Objects 1020:? 'input' (layout( location=0) in 4-component vector of float) 103 104// Module Version 10000 105// Generated by (magic number): 80007 106// Id's are bound by 49 107 108 Capability Shader 109 1: ExtInstImport "GLSL.std.450" 110 MemoryModel Logical GLSL450 111 EntryPoint Fragment 4 "PixelShaderFunction" 44 112 ExecutionMode 4 OriginUpperLeft 113 Source HLSL 500 114 Name 4 "PixelShaderFunction" 115 Name 11 "@PixelShaderFunction(vf4;" 116 Name 10 "input" 117 Name 15 "x" 118 Name 17 "x" 119 Name 20 "x" 120 Name 23 "x" 121 Name 42 "input" 122 Name 44 "input" 123 Name 46 "param" 124 Decorate 44(input) Location 0 125 2: TypeVoid 126 3: TypeFunction 2 127 6: TypeFloat 32 128 7: TypeVector 6(float) 4 129 8: TypePointer Function 7(fvec4) 130 9: TypeFunction 2 8(ptr) 131 13: TypeInt 32 1 132 14: TypePointer Function 13(int) 133 16: TypePointer Function 6(float) 134 18: TypeBool 135 19: TypePointer Function 18(bool) 136 21: TypeVector 6(float) 3 137 22: TypePointer Function 21(fvec3) 138 25: 13(int) Constant 0 139 43: TypePointer Input 7(fvec4) 140 44(input): 43(ptr) Variable Input 1414(PixelShaderFunction): 2 Function None 3 142 5: Label 143 42(input): 8(ptr) Variable Function 144 46(param): 8(ptr) Variable Function 145 45: 7(fvec4) Load 44(input) 146 Store 42(input) 45 147 47: 7(fvec4) Load 42(input) 148 Store 46(param) 47 149 48: 2 FunctionCall 11(@PixelShaderFunction(vf4;) 46(param) 150 Return 151 FunctionEnd 15211(@PixelShaderFunction(vf4;): 2 Function None 9 153 10(input): 8(ptr) FunctionParameter 154 12: Label 155 15(x): 14(ptr) Variable Function 156 17(x): 16(ptr) Variable Function 157 20(x): 19(ptr) Variable Function 158 23(x): 22(ptr) Variable Function 159 24: 13(int) Load 15(x) 160 26: 18(bool) SGreaterThan 24 25 161 SelectionMerge 28 None 162 BranchConditional 26 27 28 163 27: Label 164 Branch 28 165 28: Label 166 Branch 29 167 29: Label 168 LoopMerge 31 32 None 169 Branch 33 170 33: Label 171 34: 13(int) Load 15(x) 172 35: 18(bool) SGreaterThan 34 25 173 BranchConditional 35 30 31 174 30: Label 175 Branch 32 176 32: Label 177 Branch 29 178 31: Label 179 Branch 36 180 36: Label 181 LoopMerge 38 39 None 182 Branch 37 183 37: Label 184 Branch 39 185 39: Label 186 40: 13(int) Load 15(x) 187 41: 18(bool) SGreaterThan 40 25 188 BranchConditional 41 36 38 189 38: Label 190 Return 191 FunctionEnd 192