1hlsl.mintypes.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 60:9 Function Parameters: 70:? Sequence 80:40 add ( temp mediump 2-component vector of float) 90:40 'mf16_2' ( temp mediump 2-component vector of float) 100:40 'mf16' ( temp mediump float) 110:41 add ( temp mediump 2-component vector of float) 120:41 'mf10_2' ( temp mediump 2-component vector of float) 130:41 'mf10' ( temp mediump float) 140:42 add ( temp mediump 2-component vector of int) 150:42 'mi16_2' ( temp mediump 2-component vector of int) 160:42 'mi16' ( temp mediump int) 170:43 add ( temp mediump 2-component vector of int) 180:43 'mi12_2' ( temp mediump 2-component vector of int) 190:43 'mi12' ( temp mediump int) 200:44 add ( temp mediump 2-component vector of uint) 210:44 'mu16_2' ( temp mediump 2-component vector of uint) 220:44 'mu16' ( temp mediump uint) 230:47 move second child to first child ( temp 4-component vector of float) 240:47 Color: direct index for structure ( temp 4-component vector of float) 250:47 'psout' ( temp structure{ temp 4-component vector of float Color}) 260:47 Constant: 270:47 0 (const int) 280:47 Constant: 290:47 0.000000 300:47 0.000000 310:47 0.000000 320:47 0.000000 330:48 Branch: Return with expression 340:48 'psout' ( temp structure{ temp 4-component vector of float Color}) 350:9 Function Definition: main( ( temp void) 360:9 Function Parameters: 370:? Sequence 380:9 Sequence 390:9 move second child to first child ( temp 4-component vector of float) 400:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 410:9 Color: direct index for structure ( temp 4-component vector of float) 420:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 430:9 Constant: 440:9 0 (const int) 450:? Linker Objects 460:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b}) 470:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 48 49 50Linked fragment stage: 51 52 53Shader version: 500 54gl_FragCoord origin is upper left 550:? Sequence 560:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 570:9 Function Parameters: 580:? Sequence 590:40 add ( temp mediump 2-component vector of float) 600:40 'mf16_2' ( temp mediump 2-component vector of float) 610:40 'mf16' ( temp mediump float) 620:41 add ( temp mediump 2-component vector of float) 630:41 'mf10_2' ( temp mediump 2-component vector of float) 640:41 'mf10' ( temp mediump float) 650:42 add ( temp mediump 2-component vector of int) 660:42 'mi16_2' ( temp mediump 2-component vector of int) 670:42 'mi16' ( temp mediump int) 680:43 add ( temp mediump 2-component vector of int) 690:43 'mi12_2' ( temp mediump 2-component vector of int) 700:43 'mi12' ( temp mediump int) 710:44 add ( temp mediump 2-component vector of uint) 720:44 'mu16_2' ( temp mediump 2-component vector of uint) 730:44 'mu16' ( temp mediump uint) 740:47 move second child to first child ( temp 4-component vector of float) 750:47 Color: direct index for structure ( temp 4-component vector of float) 760:47 'psout' ( temp structure{ temp 4-component vector of float Color}) 770:47 Constant: 780:47 0 (const int) 790:47 Constant: 800:47 0.000000 810:47 0.000000 820:47 0.000000 830:47 0.000000 840:48 Branch: Return with expression 850:48 'psout' ( temp structure{ temp 4-component vector of float Color}) 860:9 Function Definition: main( ( temp void) 870:9 Function Parameters: 880:? Sequence 890:9 Sequence 900:9 move second child to first child ( temp 4-component vector of float) 910:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 920:9 Color: direct index for structure ( temp 4-component vector of float) 930:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 940:9 Constant: 950:9 0 (const int) 960:? Linker Objects 970:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b}) 980:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 99 100// Module Version 10000 101// Generated by (magic number): 80007 102// Id's are bound by 70 103 104 Capability Shader 105 1: ExtInstImport "GLSL.std.450" 106 MemoryModel Logical GLSL450 107 EntryPoint Fragment 4 "main" 64 108 ExecutionMode 4 OriginUpperLeft 109 Source HLSL 500 110 Name 4 "main" 111 Name 8 "PS_OUTPUT" 112 MemberName 8(PS_OUTPUT) 0 "Color" 113 Name 10 "@main(" 114 Name 14 "mf16_2" 115 Name 17 "mf16" 116 Name 21 "mf10_2" 117 Name 23 "mf10" 118 Name 30 "mi16_2" 119 Name 33 "mi16" 120 Name 37 "mi12_2" 121 Name 39 "mi12" 122 Name 46 "mu16_2" 123 Name 49 "mu16" 124 Name 54 "psout" 125 Name 64 "@entryPointOutput.Color" 126 Name 67 "$Global" 127 MemberName 67($Global) 0 "b1a" 128 MemberName 67($Global) 1 "b1b" 129 Name 69 "" 130 Decorate 14(mf16_2) RelaxedPrecision 131 Decorate 15 RelaxedPrecision 132 Decorate 17(mf16) RelaxedPrecision 133 Decorate 18 RelaxedPrecision 134 Decorate 19 RelaxedPrecision 135 Decorate 20 RelaxedPrecision 136 Decorate 21(mf10_2) RelaxedPrecision 137 Decorate 22 RelaxedPrecision 138 Decorate 23(mf10) RelaxedPrecision 139 Decorate 24 RelaxedPrecision 140 Decorate 25 RelaxedPrecision 141 Decorate 26 RelaxedPrecision 142 Decorate 30(mi16_2) RelaxedPrecision 143 Decorate 31 RelaxedPrecision 144 Decorate 33(mi16) RelaxedPrecision 145 Decorate 34 RelaxedPrecision 146 Decorate 35 RelaxedPrecision 147 Decorate 36 RelaxedPrecision 148 Decorate 37(mi12_2) RelaxedPrecision 149 Decorate 38 RelaxedPrecision 150 Decorate 39(mi12) RelaxedPrecision 151 Decorate 40 RelaxedPrecision 152 Decorate 41 RelaxedPrecision 153 Decorate 42 RelaxedPrecision 154 Decorate 46(mu16_2) RelaxedPrecision 155 Decorate 47 RelaxedPrecision 156 Decorate 49(mu16) RelaxedPrecision 157 Decorate 50 RelaxedPrecision 158 Decorate 51 RelaxedPrecision 159 Decorate 52 RelaxedPrecision 160 Decorate 64(@entryPointOutput.Color) Location 0 161 MemberDecorate 67($Global) 0 RelaxedPrecision 162 MemberDecorate 67($Global) 0 Offset 0 163 MemberDecorate 67($Global) 1 RelaxedPrecision 164 MemberDecorate 67($Global) 1 Offset 4 165 Decorate 67($Global) Block 166 Decorate 69 DescriptorSet 0 167 2: TypeVoid 168 3: TypeFunction 2 169 6: TypeFloat 32 170 7: TypeVector 6(float) 4 171 8(PS_OUTPUT): TypeStruct 7(fvec4) 172 9: TypeFunction 8(PS_OUTPUT) 173 12: TypeVector 6(float) 2 174 13: TypePointer Function 12(fvec2) 175 16: TypePointer Function 6(float) 176 27: TypeInt 32 1 177 28: TypeVector 27(int) 2 178 29: TypePointer Function 28(ivec2) 179 32: TypePointer Function 27(int) 180 43: TypeInt 32 0 181 44: TypeVector 43(int) 2 182 45: TypePointer Function 44(ivec2) 183 48: TypePointer Function 43(int) 184 53: TypePointer Function 8(PS_OUTPUT) 185 55: 27(int) Constant 0 186 56: 6(float) Constant 0 187 57: 7(fvec4) ConstantComposite 56 56 56 56 188 58: TypePointer Function 7(fvec4) 189 63: TypePointer Output 7(fvec4) 19064(@entryPointOutput.Color): 63(ptr) Variable Output 191 67($Global): TypeStruct 6(float) 6(float) 192 68: TypePointer Uniform 67($Global) 193 69: 68(ptr) Variable Uniform 194 4(main): 2 Function None 3 195 5: Label 196 65:8(PS_OUTPUT) FunctionCall 10(@main() 197 66: 7(fvec4) CompositeExtract 65 0 198 Store 64(@entryPointOutput.Color) 66 199 Return 200 FunctionEnd 201 10(@main():8(PS_OUTPUT) Function None 9 202 11: Label 203 14(mf16_2): 13(ptr) Variable Function 204 17(mf16): 16(ptr) Variable Function 205 21(mf10_2): 13(ptr) Variable Function 206 23(mf10): 16(ptr) Variable Function 207 30(mi16_2): 29(ptr) Variable Function 208 33(mi16): 32(ptr) Variable Function 209 37(mi12_2): 29(ptr) Variable Function 210 39(mi12): 32(ptr) Variable Function 211 46(mu16_2): 45(ptr) Variable Function 212 49(mu16): 48(ptr) Variable Function 213 54(psout): 53(ptr) Variable Function 214 15: 12(fvec2) Load 14(mf16_2) 215 18: 6(float) Load 17(mf16) 216 19: 12(fvec2) CompositeConstruct 18 18 217 20: 12(fvec2) FAdd 15 19 218 22: 12(fvec2) Load 21(mf10_2) 219 24: 6(float) Load 23(mf10) 220 25: 12(fvec2) CompositeConstruct 24 24 221 26: 12(fvec2) FAdd 22 25 222 31: 28(ivec2) Load 30(mi16_2) 223 34: 27(int) Load 33(mi16) 224 35: 28(ivec2) CompositeConstruct 34 34 225 36: 28(ivec2) IAdd 31 35 226 38: 28(ivec2) Load 37(mi12_2) 227 40: 27(int) Load 39(mi12) 228 41: 28(ivec2) CompositeConstruct 40 40 229 42: 28(ivec2) IAdd 38 41 230 47: 44(ivec2) Load 46(mu16_2) 231 50: 43(int) Load 49(mu16) 232 51: 44(ivec2) CompositeConstruct 50 50 233 52: 44(ivec2) IAdd 47 51 234 59: 58(ptr) AccessChain 54(psout) 55 235 Store 59 57 236 60:8(PS_OUTPUT) Load 54(psout) 237 ReturnValue 60 238 FunctionEnd 239