1link.vk.differentPC.1.0.frag 2Shader version: 450 3gl_FragCoord origin is upper left 40:? Sequence 50:12 Function Definition: getScale( ( global highp float) 60:12 Function Parameters: 70:14 Sequence 80:14 Branch: Return with expression 90:14 scale: direct index for structure (layout( column_major std430 offset=32) uniform highp float) 100:14 '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, layout( column_major std430 offset=36) uniform highp float scale2}) 110:14 Constant: 120:14 2 (const int) 130:? Linker Objects 140:? '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, layout( column_major std430 offset=36) uniform highp float scale2}) 15 16link.vk.differentPC.1.1.frag 17Shader version: 450 18gl_FragCoord origin is upper left 190:? Sequence 200:11 Function Definition: getColor2( ( global highp 4-component vector of float) 210:11 Function Parameters: 220:13 Sequence 230:13 Branch: Return with expression 240:13 color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float) 250: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}) 260:13 Constant: 270:13 1 (const int) 280:? Linker Objects 290:? '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}) 30 31link.vk.differentPC.1.2.frag 32Shader version: 450 33gl_FragCoord origin is upper left 340:? Sequence 350:15 Function Definition: main( ( global void) 360:15 Function Parameters: 370:17 Sequence 380:17 move second child to first child ( temp highp 4-component vector of float) 390:17 'color' (layout( location=0) out highp 4-component vector of float) 400:17 add ( temp highp 4-component vector of float) 410:17 color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float) 420: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}) 430:17 Constant: 440:17 0 (const int) 450:17 vector-scale ( temp highp 4-component vector of float) 460:17 Function Call: getColor2( ( global highp 4-component vector of float) 470:17 Function Call: getScale( ( global highp float) 480:? Linker Objects 490:? 'color' (layout( location=0) out highp 4-component vector of float) 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 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, layout( column_major std430 offset=36) uniform highp float scale2}" 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 scale}" 57ERROR: Linking fragment stage: Types must match: 58 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, layout( column_major std430 offset=36) uniform highp float scale2}" 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 scale}" 59 60Shader version: 450 61gl_FragCoord origin is upper left 620:? Sequence 630:12 Function Definition: getScale( ( global highp float) 640:12 Function Parameters: 650:14 Sequence 660:14 Branch: Return with expression 670:14 scale: direct index for structure (layout( column_major std430 offset=32) uniform highp float) 680:14 '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, layout( column_major std430 offset=36) uniform highp float scale2}) 690:14 Constant: 700:14 2 (const int) 710:11 Function Definition: getColor2( ( global highp 4-component vector of float) 720:11 Function Parameters: 730:13 Sequence 740:13 Branch: Return with expression 750:13 color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float) 760: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}) 770:13 Constant: 780:13 1 (const int) 790:15 Function Definition: main( ( global void) 800:15 Function Parameters: 810:17 Sequence 820:17 move second child to first child ( temp highp 4-component vector of float) 830:17 'color' (layout( location=0) out highp 4-component vector of float) 840:17 add ( temp highp 4-component vector of float) 850:17 color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float) 860: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}) 870:17 Constant: 880:17 0 (const int) 890:17 vector-scale ( temp highp 4-component vector of float) 900:17 Function Call: getColor2( ( global highp 4-component vector of float) 910:17 Function Call: getScale( ( global highp float) 920:? Linker Objects 930:? '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, layout( column_major std430 offset=36) uniform highp float scale2}) 940:? 'color' (layout( location=0) out highp 4-component vector of float) 95 96Validation failed 97SPIR-V is not generated for failed compile or link 98