xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/link.vk.differentPC.0.0.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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 and fragment stages: Member names and types must match:
56    Block: PushConstantBlock
57        fragment stage: " float scale"
58        fragment stage: " float scale2"
59
60Shader version: 450
61gl_FragCoord origin is upper left
620:? Sequence
630:15  Function Definition: main( ( global void)
640:15    Function Parameters:
650:17    Sequence
660:17      move second child to first child ( temp highp 4-component vector of float)
670:17        'color' (layout( location=0) out highp 4-component vector of float)
680:17        add ( temp highp 4-component vector of float)
690:17          color: direct index for structure (layout( column_major std430 offset=0) uniform highp 4-component vector of float)
700: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})
710:17            Constant:
720:17              0 (const int)
730:17          vector-scale ( temp highp 4-component vector of float)
740:17            Function Call: getColor2( ( global highp 4-component vector of float)
750:17            Function Call: getScale( ( global highp float)
760:11  Function Definition: getColor2( ( global highp 4-component vector of float)
770:11    Function Parameters:
780:13    Sequence
790:13      Branch: Return with expression
800:13        color2: direct index for structure (layout( column_major std430 offset=16) uniform highp 4-component vector of float)
810: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})
820:13          Constant:
830:13            1 (const int)
840:11  Function Definition: getScale( ( global highp float)
850:11    Function Parameters:
860:13    Sequence
870:13      Branch: Return with expression
880:13        scale2: direct index for structure (layout( column_major std430 offset=32) uniform highp float)
890: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})
900:13          Constant:
910:13            2 (const int)
920:?   Linker Objects
930:?     'color' (layout( location=0) out highp 4-component vector of float)
940:?     '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})
95
96Validation failed
97SPIR-V is not generated for failed compile or link
98