1hlsl.attributeGlobalBuffer.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:6 Function Definition: @main( ( temp 4-component vector of float) 60:6 Function Parameters: 70:? Sequence 80:7 Branch: Return with expression 90:7 add ( temp 4-component vector of float) 100:7 u1: direct index for structure ( uniform 4-component vector of float) 110:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 120:7 Constant: 130:7 0 (const uint) 140:7 u2: direct index for structure ( uniform 4-component vector of float) 150:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 160:7 Constant: 170:7 1 (const uint) 180:6 Function Definition: main( ( temp void) 190:6 Function Parameters: 200:? Sequence 210:6 move second child to first child ( temp 4-component vector of float) 220:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 230:6 Function Call: @main( ( temp 4-component vector of float) 240:? Linker Objects 250:? 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 260:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 27 28 29Linked fragment stage: 30 31 32Shader version: 500 33gl_FragCoord origin is upper left 340:? Sequence 350:6 Function Definition: @main( ( temp 4-component vector of float) 360:6 Function Parameters: 370:? Sequence 380:7 Branch: Return with expression 390:7 add ( temp 4-component vector of float) 400:7 u1: direct index for structure ( uniform 4-component vector of float) 410:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 420:7 Constant: 430:7 0 (const uint) 440:7 u2: direct index for structure ( uniform 4-component vector of float) 450:7 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 460:7 Constant: 470:7 1 (const uint) 480:6 Function Definition: main( ( temp void) 490:6 Function Parameters: 500:? Sequence 510:6 move second child to first child ( temp 4-component vector of float) 520:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 530:6 Function Call: @main( ( temp 4-component vector of float) 540:? Linker Objects 550:? 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2}) 560:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 57 58// Module Version 10000 59// Generated by (magic number): 8000a 60// Id's are bound by 28 61 62 Capability Shader 63 1: ExtInstImport "GLSL.std.450" 64 MemoryModel Logical GLSL450 65 EntryPoint Fragment 4 "main" 26 66 ExecutionMode 4 OriginUpperLeft 67 Source HLSL 500 68 Name 4 "main" 69 Name 9 "@main(" 70 Name 11 "$Global" 71 MemberName 11($Global) 0 "u1" 72 MemberName 11($Global) 1 "u2" 73 Name 13 "" 74 Name 26 "@entryPointOutput" 75 MemberDecorate 11($Global) 0 Offset 0 76 MemberDecorate 11($Global) 1 Offset 16 77 Decorate 11($Global) Block 78 Decorate 13 DescriptorSet 2 79 Decorate 13 Binding 5 80 Decorate 26(@entryPointOutput) Location 0 81 2: TypeVoid 82 3: TypeFunction 2 83 6: TypeFloat 32 84 7: TypeVector 6(float) 4 85 8: TypeFunction 7(fvec4) 86 11($Global): TypeStruct 7(fvec4) 7(fvec4) 87 12: TypePointer Uniform 11($Global) 88 13: 12(ptr) Variable Uniform 89 14: TypeInt 32 1 90 15: 14(int) Constant 0 91 16: TypePointer Uniform 7(fvec4) 92 19: 14(int) Constant 1 93 25: TypePointer Output 7(fvec4) 9426(@entryPointOutput): 25(ptr) Variable Output 95 4(main): 2 Function None 3 96 5: Label 97 27: 7(fvec4) FunctionCall 9(@main() 98 Store 26(@entryPointOutput) 27 99 Return 100 FunctionEnd 101 9(@main(): 7(fvec4) Function None 8 102 10: Label 103 17: 16(ptr) AccessChain 13 15 104 18: 7(fvec4) Load 17 105 20: 16(ptr) AccessChain 13 19 106 21: 7(fvec4) Load 20 107 22: 7(fvec4) FAdd 18 21 108 ReturnValue 22 109 FunctionEnd 110