1link.vk.differentPC.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.differentPC.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.differentPC.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 scale2: 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 scale2}) 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 scale2}) 51 52 53Linked fragment stage: 54 55ERROR: Linking fragment stage: Types must match: 56 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}" versus "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 scale2}" 57 58Shader version: 450 59gl_FragCoord origin is upper left 600:? Sequence 610:15 Function Definition: main( ( global void) 620:15 Function Parameters: 630:17 Sequence 640:17 move second child to first child ( temp highp 4-component vector of float) 650:17 'color' (layout( location=0) out highp 4-component vector of float) 660:17 add ( temp highp 4-component vector of float) 670:17 color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float) 680: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}) 690:17 Constant: 700:17 0 (const int) 710:17 vector-scale ( temp highp 4-component vector of float) 720:17 Function Call: getColor2( ( global highp 4-component vector of float) 730:17 Function Call: getScale( ( global highp float) 740:11 Function Definition: getColor2( ( global highp 4-component vector of float) 750:11 Function Parameters: 760:13 Sequence 770:13 Branch: Return with expression 780:13 color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float) 790: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}) 800:13 Constant: 810:13 1 (const int) 820:11 Function Definition: getScale( ( global highp float) 830:11 Function Parameters: 840:13 Sequence 850:13 Branch: Return with expression 860:13 scale2: direct index for structure (layout( column_major std430 offset=32) uniform highp float) 870: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 scale2}) 880:13 Constant: 890:13 2 (const int) 900:? Linker Objects 910:? 'color' (layout( location=0) out highp 4-component vector of float) 920:? '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}) 93 94Validation failed 95SPIR-V is not generated for failed compile or link 96