1hlsl.aliasOpaque.frag 2WARNING: AST will form illegal SPIR-V; need to transform to legalize 3Shader version: 500 4gl_FragCoord origin is upper left 50:? Sequence 60:12 Function Definition: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float) 70:12 Function Parameters: 80:12 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 90:? Sequence 100:13 Branch: Return with expression 110:13 vector-scale ( temp 4-component vector of float) 120:13 a: direct index for structure ( temp float) 130:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 140:13 Constant: 150:13 1 (const int) 160:13 texture ( temp 4-component vector of float) 170:13 Construct combined texture-sampler ( temp sampler2D) 180:13 tex: direct index for structure ( temp texture2D) 190:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 200:13 Constant: 210:13 2 (const int) 220:13 ss: direct index for structure ( temp sampler) 230:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 240:13 Constant: 250:13 0 (const int) 260:? Constant: 270:? 0.200000 280:? 0.300000 290:17 Function Definition: @main( ( temp 4-component vector of float) 300:17 Function Parameters: 310:? Sequence 320:19 move second child to first child ( temp sampler) 330:19 ss: direct index for structure ( temp sampler) 340:19 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 350:19 Constant: 360:19 0 (const int) 370:19 'gss2' ( uniform sampler) 380:20 move second child to first child ( temp sampler) 390:20 ss: direct index for structure ( temp sampler) 400:20 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 410:20 Constant: 420:20 0 (const int) 430:20 'gss' ( uniform sampler) 440:21 move second child to first child ( temp texture2D) 450:21 tex: direct index for structure ( temp texture2D) 460:21 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 470:21 Constant: 480:21 2 (const int) 490:21 'gtex' ( uniform texture2D) 500:22 move second child to first child ( temp float) 510:22 a: direct index for structure ( temp float) 520:22 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 530:22 Constant: 540:22 1 (const int) 550:22 Constant: 560:22 3.000000 570:28 Branch: Return with expression 580:28 Function Call: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float) 590:28 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 600:17 Function Definition: main( ( temp void) 610:17 Function Parameters: 620:? Sequence 630:17 move second child to first child ( temp 4-component vector of float) 640:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 650:17 Function Call: @main( ( temp 4-component vector of float) 660:? Linker Objects 670:? 'gss' ( uniform sampler) 680:? 'gss2' ( uniform sampler) 690:? 'gtex' ( uniform texture2D) 700:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 71 72 73Linked fragment stage: 74 75 76Shader version: 500 77gl_FragCoord origin is upper left 780:? Sequence 790:12 Function Definition: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float) 800:12 Function Parameters: 810:12 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 820:? Sequence 830:13 Branch: Return with expression 840:13 vector-scale ( temp 4-component vector of float) 850:13 a: direct index for structure ( temp float) 860:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 870:13 Constant: 880:13 1 (const int) 890:13 texture ( temp 4-component vector of float) 900:13 Construct combined texture-sampler ( temp sampler2D) 910:13 tex: direct index for structure ( temp texture2D) 920:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 930:13 Constant: 940:13 2 (const int) 950:13 ss: direct index for structure ( temp sampler) 960:13 's' ( in structure{ temp sampler ss, temp float a, temp texture2D tex}) 970:13 Constant: 980:13 0 (const int) 990:? Constant: 1000:? 0.200000 1010:? 0.300000 1020:17 Function Definition: @main( ( temp 4-component vector of float) 1030:17 Function Parameters: 1040:? Sequence 1050:19 move second child to first child ( temp sampler) 1060:19 ss: direct index for structure ( temp sampler) 1070:19 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 1080:19 Constant: 1090:19 0 (const int) 1100:19 'gss2' ( uniform sampler) 1110:20 move second child to first child ( temp sampler) 1120:20 ss: direct index for structure ( temp sampler) 1130:20 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 1140:20 Constant: 1150:20 0 (const int) 1160:20 'gss' ( uniform sampler) 1170:21 move second child to first child ( temp texture2D) 1180:21 tex: direct index for structure ( temp texture2D) 1190:21 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 1200:21 Constant: 1210:21 2 (const int) 1220:21 'gtex' ( uniform texture2D) 1230:22 move second child to first child ( temp float) 1240:22 a: direct index for structure ( temp float) 1250:22 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 1260:22 Constant: 1270:22 1 (const int) 1280:22 Constant: 1290:22 3.000000 1300:28 Branch: Return with expression 1310:28 Function Call: osCall(struct-OS-p1-f1-t211; ( temp 4-component vector of float) 1320:28 'os' ( temp structure{ temp sampler ss, temp float a, temp texture2D tex}) 1330:17 Function Definition: main( ( temp void) 1340:17 Function Parameters: 1350:? Sequence 1360:17 move second child to first child ( temp 4-component vector of float) 1370:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 1380:17 Function Call: @main( ( temp 4-component vector of float) 1390:? Linker Objects 1400:? 'gss' ( uniform sampler) 1410:? 'gss2' ( uniform sampler) 1420:? 'gtex' ( uniform texture2D) 1430:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 144 145// Module Version 10000 146// Generated by (magic number): 80007 147// Id's are bound by 64 148 149 Capability Shader 150 1: ExtInstImport "GLSL.std.450" 151 MemoryModel Logical GLSL450 152 EntryPoint Fragment 4 "main" 62 153 ExecutionMode 4 OriginUpperLeft 154 Source HLSL 500 155 Name 4 "main" 156 Name 9 "OS" 157 MemberName 9(OS) 0 "ss" 158 MemberName 9(OS) 1 "a" 159 MemberName 9(OS) 2 "tex" 160 Name 14 "osCall(struct-OS-p1-f1-t211;" 161 Name 13 "s" 162 Name 17 "@main(" 163 Name 42 "os" 164 Name 44 "gss2" 165 Name 47 "gss" 166 Name 51 "gtex" 167 Name 56 "param" 168 Name 62 "@entryPointOutput" 169 Decorate 44(gss2) DescriptorSet 0 170 Decorate 47(gss) DescriptorSet 0 171 Decorate 51(gtex) DescriptorSet 0 172 Decorate 62(@entryPointOutput) Location 0 173 2: TypeVoid 174 3: TypeFunction 2 175 6: TypeSampler 176 7: TypeFloat 32 177 8: TypeImage 7(float) 2D sampled format:Unknown 178 9(OS): TypeStruct 6 7(float) 8 179 10: TypePointer Function 9(OS) 180 11: TypeVector 7(float) 4 181 12: TypeFunction 11(fvec4) 10(ptr) 182 16: TypeFunction 11(fvec4) 183 19: TypeInt 32 1 184 20: 19(int) Constant 1 185 21: TypePointer Function 7(float) 186 24: 19(int) Constant 2 187 25: TypePointer Function 8 188 28: 19(int) Constant 0 189 29: TypePointer Function 6 190 32: TypeSampledImage 8 191 34: TypeVector 7(float) 2 192 35: 7(float) Constant 1045220557 193 36: 7(float) Constant 1050253722 194 37: 34(fvec2) ConstantComposite 35 36 195 43: TypePointer UniformConstant 6 196 44(gss2): 43(ptr) Variable UniformConstant 197 47(gss): 43(ptr) Variable UniformConstant 198 50: TypePointer UniformConstant 8 199 51(gtex): 50(ptr) Variable UniformConstant 200 54: 7(float) Constant 1077936128 201 61: TypePointer Output 11(fvec4) 20262(@entryPointOutput): 61(ptr) Variable Output 203 4(main): 2 Function None 3 204 5: Label 205 63: 11(fvec4) FunctionCall 17(@main() 206 Store 62(@entryPointOutput) 63 207 Return 208 FunctionEnd 20914(osCall(struct-OS-p1-f1-t211;): 11(fvec4) Function None 12 210 13(s): 10(ptr) FunctionParameter 211 15: Label 212 22: 21(ptr) AccessChain 13(s) 20 213 23: 7(float) Load 22 214 26: 25(ptr) AccessChain 13(s) 24 215 27: 8 Load 26 216 30: 29(ptr) AccessChain 13(s) 28 217 31: 6 Load 30 218 33: 32 SampledImage 27 31 219 38: 11(fvec4) ImageSampleImplicitLod 33 37 220 39: 11(fvec4) VectorTimesScalar 38 23 221 ReturnValue 39 222 FunctionEnd 223 17(@main(): 11(fvec4) Function None 16 224 18: Label 225 42(os): 10(ptr) Variable Function 226 56(param): 10(ptr) Variable Function 227 45: 6 Load 44(gss2) 228 46: 29(ptr) AccessChain 42(os) 28 229 Store 46 45 230 48: 6 Load 47(gss) 231 49: 29(ptr) AccessChain 42(os) 28 232 Store 49 48 233 52: 8 Load 51(gtex) 234 53: 25(ptr) AccessChain 42(os) 24 235 Store 53 52 236 55: 21(ptr) AccessChain 42(os) 20 237 Store 55 54 238 57: 9(OS) Load 42(os) 239 Store 56(param) 57 240 58: 11(fvec4) FunctionCall 14(osCall(struct-OS-p1-f1-t211;) 56(param) 241 ReturnValue 58 242 FunctionEnd 243