1link.vk.matchingPC.0.0.frag 2Shader version: 450 3gl_FragCoord origin is upper left 40:? Sequence 50:15 Function Definition: main( ( global void) 60:15 Function Parameters: 70:17 Sequence 80:17 move second child to first child ( temp highp 4-component vector of float) 90:17 'color' (layout( location=0) out highp 4-component vector of float) 100:17 add ( temp highp 4-component vector of float) 110:17 color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float) 120:17 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 130:17 Constant: 140:17 0 (const int) 150:17 vector-scale ( temp highp 4-component vector of float) 160:17 Function Call: getColor2( ( global highp 4-component vector of float) 170:17 Function Call: getScale( ( global highp float) 180:? Linker Objects 190:? 'color' (layout( location=0) out highp 4-component vector of float) 200:? 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 21 22link.vk.matchingPC.0.1.frag 23Shader version: 450 24gl_FragCoord origin is upper left 250:? Sequence 260:11 Function Definition: getColor2( ( global highp 4-component vector of float) 270:11 Function Parameters: 280:13 Sequence 290:13 Branch: Return with expression 300:13 color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float) 310:13 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 320:13 Constant: 330:13 1 (const int) 340:? Linker Objects 350:? 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 36 37link.vk.matchingPC.0.2.frag 38Shader version: 450 39gl_FragCoord origin is upper left 400:? Sequence 410:11 Function Definition: getScale( ( global highp float) 420:11 Function Parameters: 430:13 Sequence 440:13 Branch: Return with expression 450:13 scale: direct index for structure (layout( column_major std430 offset=32) uniform highp float) 460:13 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 470:13 Constant: 480:13 2 (const int) 490:? Linker Objects 500:? 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 51 52 53Linked fragment stage: 54 55 56Shader version: 450 57gl_FragCoord origin is upper left 580:? Sequence 590:15 Function Definition: main( ( global void) 600:15 Function Parameters: 610:17 Sequence 620:17 move second child to first child ( temp highp 4-component vector of float) 630:17 'color' (layout( location=0) out highp 4-component vector of float) 640:17 add ( temp highp 4-component vector of float) 650:17 color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float) 660:17 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 670:17 Constant: 680:17 0 (const int) 690:17 vector-scale ( temp highp 4-component vector of float) 700:17 Function Call: getColor2( ( global highp 4-component vector of float) 710:17 Function Call: getScale( ( global highp float) 720:11 Function Definition: getColor2( ( global highp 4-component vector of float) 730:11 Function Parameters: 740:13 Sequence 750:13 Branch: Return with expression 760:13 color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float) 770:13 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 780:13 Constant: 790:13 1 (const int) 800:11 Function Definition: getScale( ( global highp float) 810:11 Function Parameters: 820:13 Sequence 830:13 Branch: Return with expression 840:13 scale: direct index for structure (layout( column_major std430 offset=32) uniform highp float) 850:13 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 860:13 Constant: 870:13 2 (const int) 880:? Linker Objects 890:? 'color' (layout( location=0) out highp 4-component vector of float) 900:? 'uPC' (layout( column_major std430 push_constant) uniform block{layout( column_major std430 offset=0) uniform highp 4-component vector of float color, layout( column_major std430 offset=16) uniform highp 4-component vector of float color2, layout( column_major std430 offset=32) uniform highp float scale}) 91 92// Module Version 10000 93// Generated by (magic number): 8000a 94// Id's are bound by 39 95 96 Capability Shader 97 1: ExtInstImport "GLSL.std.450" 98 MemoryModel Logical GLSL450 99 EntryPoint Fragment 4 "main" 15 100 ExecutionMode 4 OriginUpperLeft 101 Source GLSL 450 102 Name 4 "main" 103 Name 9 "getColor2(" 104 Name 12 "getScale(" 105 Name 15 "color" 106 Name 16 "PushConstantBlock" 107 MemberName 16(PushConstantBlock) 0 "color" 108 MemberName 16(PushConstantBlock) 1 "color2" 109 MemberName 16(PushConstantBlock) 2 "scale" 110 Name 18 "uPC" 111 Decorate 15(color) Location 0 112 MemberDecorate 16(PushConstantBlock) 0 Offset 0 113 MemberDecorate 16(PushConstantBlock) 1 Offset 16 114 MemberDecorate 16(PushConstantBlock) 2 Offset 32 115 Decorate 16(PushConstantBlock) Block 116 2: TypeVoid 117 3: TypeFunction 2 118 6: TypeFloat 32 119 7: TypeVector 6(float) 4 120 8: TypeFunction 7(fvec4) 121 11: TypeFunction 6(float) 122 14: TypePointer Output 7(fvec4) 123 15(color): 14(ptr) Variable Output 12416(PushConstantBlock): TypeStruct 7(fvec4) 7(fvec4) 6(float) 125 17: TypePointer PushConstant 16(PushConstantBlock) 126 18(uPC): 17(ptr) Variable PushConstant 127 19: TypeInt 32 1 128 20: 19(int) Constant 0 129 21: TypePointer PushConstant 7(fvec4) 130 28: 19(int) Constant 1 131 33: 19(int) Constant 2 132 34: TypePointer PushConstant 6(float) 133 4(main): 2 Function None 3 134 5: Label 135 22: 21(ptr) AccessChain 18(uPC) 20 136 23: 7(fvec4) Load 22 137 24: 7(fvec4) FunctionCall 9(getColor2() 138 25: 6(float) FunctionCall 12(getScale() 139 26: 7(fvec4) VectorTimesScalar 24 25 140 27: 7(fvec4) FAdd 23 26 141 Store 15(color) 27 142 Return 143 FunctionEnd 144 9(getColor2(): 7(fvec4) Function None 8 145 10: Label 146 29: 21(ptr) AccessChain 18(uPC) 28 147 30: 7(fvec4) Load 29 148 ReturnValue 30 149 FunctionEnd 150 12(getScale(): 6(float) Function None 11 151 13: Label 152 35: 34(ptr) AccessChain 18(uPC) 33 153 36: 6(float) Load 35 154 ReturnValue 36 155 FunctionEnd 156