• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 and fragment stages: fragment block member has no corresponding member in fragment block:
56    fragment stage: Block: PushConstantBlock, Member: scale2
57    fragment stage: Block: PushConstantBlock, Member: n/a
58ERROR: Linking fragment and fragment stages: fragment block member has no corresponding member in fragment block:
59    fragment stage: Block: PushConstantBlock, Member: scale2
60    fragment stage: Block: PushConstantBlock, Member: n/a
61
62Shader version: 450
63gl_FragCoord origin is upper left
640:? Sequence
650:12  Function Definition: getScale( ( global highp float)
660:12    Function Parameters:
670:14    Sequence
680:14      Branch: Return with expression
690:14        scale: direct index for structure (layout( column_major std430 offset=32) uniform highp float)
700: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})
710:14          Constant:
720:14            2 (const int)
730:11  Function Definition: getColor2( ( global highp 4-component vector of float)
740:11    Function Parameters:
750:13    Sequence
760:13      Branch: Return with expression
770:13        color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float)
780: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})
790:13          Constant:
800:13            1 (const int)
810:15  Function Definition: main( ( global void)
820:15    Function Parameters:
830:17    Sequence
840:17      move second child to first child ( temp highp 4-component vector of float)
850:17        'color' (layout( location=0) out highp 4-component vector of float)
860:17        add ( temp highp 4-component vector of float)
870:17          color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float)
880: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})
890:17            Constant:
900:17              0 (const int)
910:17          vector-scale ( temp highp 4-component vector of float)
920:17            Function Call: getColor2( ( global highp 4-component vector of float)
930:17            Function Call: getScale( ( global highp float)
940:?   Linker Objects
950:?     '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})
960:?     'color' (layout( location=0) out highp 4-component vector of float)
97
98Validation failed
99SPIR-V is not generated for failed compile or link
100