1 hlsl.scope.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void) 6 0:2 Function Parameters: 7 0:2 'input' ( in 4-component vector of float) 8 0:? Sequence 9 0:4 'x' ( temp int) 10 0:? Sequence 11 0:7 'x' ( temp float) 12 0:? Sequence 13 0:10 'x' ( temp bool) 14 0:? Sequence 15 0:13 'x' ( temp 3-component vector of float) 16 0:15 'x' ( temp bool) 17 0:17 'x' ( temp float) 18 0:19 'x' ( temp int) 19 0:21 Test condition and select ( temp void) 20 0:21 Condition 21 0:21 Compare Greater Than ( temp bool) 22 0:21 'x' ( temp int) 23 0:21 Constant: 24 0:21 0 (const int) 25 0:21 true case is null 26 0:24 Loop with condition tested first 27 0:24 Loop Condition 28 0:24 Compare Greater Than ( temp bool) 29 0:24 'x' ( temp int) 30 0:24 Constant: 31 0:24 0 (const int) 32 0:24 No loop body 33 0:27 Loop with condition not tested first 34 0:27 Loop Condition 35 0:29 Compare Greater Than ( temp bool) 36 0:29 'x' ( temp int) 37 0:29 Constant: 38 0:29 0 (const int) 39 0:27 No loop body 40 0:2 Function Definition: PixelShaderFunction( ( temp void) 41 0:2 Function Parameters: 42 0:? Sequence 43 0:2 move second child to first child ( temp 4-component vector of float) 44 0:? 'input' ( temp 4-component vector of float) 45 0:? 'input' (layout( location=0) in 4-component vector of float) 46 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void) 47 0:? 'input' ( temp 4-component vector of float) 48 0:? Linker Objects 49 0:? 'input' (layout( location=0) in 4-component vector of float) 50 51 52 Linked fragment stage: 53 54 55 Shader version: 500 56 gl_FragCoord origin is upper left 57 0:? Sequence 58 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void) 59 0:2 Function Parameters: 60 0:2 'input' ( in 4-component vector of float) 61 0:? Sequence 62 0:4 'x' ( temp int) 63 0:? Sequence 64 0:7 'x' ( temp float) 65 0:? Sequence 66 0:10 'x' ( temp bool) 67 0:? Sequence 68 0:13 'x' ( temp 3-component vector of float) 69 0:15 'x' ( temp bool) 70 0:17 'x' ( temp float) 71 0:19 'x' ( temp int) 72 0:21 Test condition and select ( temp void) 73 0:21 Condition 74 0:21 Compare Greater Than ( temp bool) 75 0:21 'x' ( temp int) 76 0:21 Constant: 77 0:21 0 (const int) 78 0:21 true case is null 79 0:24 Loop with condition tested first 80 0:24 Loop Condition 81 0:24 Compare Greater Than ( temp bool) 82 0:24 'x' ( temp int) 83 0:24 Constant: 84 0:24 0 (const int) 85 0:24 No loop body 86 0:27 Loop with condition not tested first 87 0:27 Loop Condition 88 0:29 Compare Greater Than ( temp bool) 89 0:29 'x' ( temp int) 90 0:29 Constant: 91 0:29 0 (const int) 92 0:27 No loop body 93 0:2 Function Definition: PixelShaderFunction( ( temp void) 94 0:2 Function Parameters: 95 0:? Sequence 96 0:2 move second child to first child ( temp 4-component vector of float) 97 0:? 'input' ( temp 4-component vector of float) 98 0:? 'input' (layout( location=0) in 4-component vector of float) 99 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void) 100 0:? 'input' ( temp 4-component vector of float) 101 0:? Linker Objects 102 0:? '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 141 4(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 152 11(@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