• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1420.frag
2ERROR: 0:4: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth
3ERROR: 0:11: 'layout qualifier' : can only apply depth layout to gl_FragDepth
4ERROR: 0:12: 'gl_FragDepth' : cannot redeclare after use
5ERROR: 0:14: 'atomic_uint' : array must be explicitly sized
6ERROR: 0:17: 'imageSize' : required extension not requested: GL_ARB_shader_image_size
7ERROR: 0:54: 'std430' : not supported for this version or the enabled extensions
8ERROR: 0:54: '' :  syntax error, unexpected IDENTIFIER, expecting LEFT_BRACE or COMMA or SEMICOLON
9ERROR: 7 compilation errors.  No code generated.
10
11
12Shader version: 420
13Requested GL_ARB_shader_image_size
14Requested GL_ARB_shader_storage_buffer_object
15using depth_any
16ERROR: node is still EOpNull!
170:6  Function Definition: main( ( global void)
180:6    Function Parameters:
190:8    Sequence
200:8      move second child to first child ( temp float)
210:8        'gl_FragDepth' ( gl_FragDepth float FragDepth)
220:8        Constant:
230:8          0.300000
240:17  Sequence
250:17    move second child to first child ( temp 2-component vector of int)
260:17      'iv2dim' ( global 2-component vector of int)
270:17      imageQuerySize ( global 2-component vector of int)
280:17        'i2D' ( writeonly uniform image2D)
290:19  Sequence
300:19    move second child to first child ( temp 2-component vector of int)
310:19      'iv2dim1' ( global 2-component vector of int)
320:19      imageQuerySize ( global 2-component vector of int)
330:19        'i2D' ( writeonly uniform image2D)
340:29  Function Definition: atomicOpPass( ( global void)
350:29    Function Parameters:
360:31    Sequence
370:31      Sequence
380:31        move second child to first child ( temp int)
390:31          'origi' ( temp int)
400:31          AtomicAdd ( global int)
410:31            atomi: direct index for structure (layout( column_major std430 offset=0) buffer int)
420:31              'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
430:31              Constant:
440:31                0 (const uint)
450:31            Constant:
460:31              3 (const int)
470:32      Sequence
480:32        move second child to first child ( temp uint)
490:32          'origu' ( temp uint)
500:32          AtomicAnd ( global uint)
510:32            atomu: direct index for structure (layout( column_major std430 offset=4) buffer uint)
520:32              'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
530:32              Constant:
540:32                1 (const uint)
550:32            Constant:
560:32              7 (const uint)
570:33      move second child to first child ( temp int)
580:33        'origi' ( temp int)
590:33        AtomicExchange ( global int)
600:33          atomi: direct index for structure (layout( column_major std430 offset=0) buffer int)
610:33            'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
620:33            Constant:
630:33              0 (const uint)
640:33          Constant:
650:33            4 (const int)
660:34      move second child to first child ( temp uint)
670:34        'origu' ( temp uint)
680:34        AtomicCompSwap ( global uint)
690:34          atomu: direct index for structure (layout( column_major std430 offset=4) buffer uint)
700:34            'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
710:34            Constant:
720:34              1 (const uint)
730:34          Constant:
740:34            10 (const uint)
750:34          Constant:
760:34            8 (const uint)
770:?   Linker Objects
780:?     'gl_FragDepth' ( gl_FragDepth float FragDepth)
790:?     'depth' ( smooth in float)
800:?     'a' (layout( binding=0 offset=0) uniform unsized 1-element array of atomic_uint)
810:?     'i2D' ( writeonly uniform image2D)
820:?     'iv2dim' ( global 2-component vector of int)
830:?     'iv2dim1' ( global 2-component vector of int)
840:?     'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
850:?     'ssboStd430Arr' (layout( binding=2 column_major std430) buffer 2-element array of block{layout( column_major std430 offset=0) buffer int member01, layout( column_major std430 offset=4) buffer 2-element array of int memberArr01, layout( column_major std430 offset=12) buffer unsized 1-element array of int memberUnsizedArr01})
860:?     'ssboSharedArr' (layout( binding=3 column_major shared) buffer 2-element array of block{layout( column_major shared) buffer int member02, layout( column_major shared) buffer 2-element array of int memberArr02, layout( column_major shared) buffer unsized 1-element array of int memberUnsizedArr02})
87
88
89Linked fragment stage:
90
91
92Shader version: 420
93Requested GL_ARB_shader_image_size
94Requested GL_ARB_shader_storage_buffer_object
95using depth_any
96ERROR: node is still EOpNull!
970:6  Function Definition: main( ( global void)
980:6    Function Parameters:
990:8    Sequence
1000:8      move second child to first child ( temp float)
1010:8        'gl_FragDepth' ( gl_FragDepth float FragDepth)
1020:8        Constant:
1030:8          0.300000
1040:17  Sequence
1050:17    move second child to first child ( temp 2-component vector of int)
1060:17      'iv2dim' ( global 2-component vector of int)
1070:17      imageQuerySize ( global 2-component vector of int)
1080:17        'i2D' ( writeonly uniform image2D)
1090:19  Sequence
1100:19    move second child to first child ( temp 2-component vector of int)
1110:19      'iv2dim1' ( global 2-component vector of int)
1120:19      imageQuerySize ( global 2-component vector of int)
1130:19        'i2D' ( writeonly uniform image2D)
1140:?   Linker Objects
1150:?     'gl_FragDepth' ( gl_FragDepth float FragDepth)
1160:?     'depth' ( smooth in float)
1170:?     'a' (layout( binding=0 offset=0) uniform 1-element array of atomic_uint)
1180:?     'i2D' ( writeonly uniform image2D)
1190:?     'iv2dim' ( global 2-component vector of int)
1200:?     'iv2dim1' ( global 2-component vector of int)
1210:?     'anon@0' (layout( binding=0 column_major std430) buffer block{layout( column_major std430 offset=0) buffer int atomi, layout( column_major std430 offset=4) buffer uint atomu})
1220:?     'ssboStd430Arr' (layout( binding=2 column_major std430) buffer 2-element array of block{layout( column_major std430 offset=0) buffer int member01, layout( column_major std430 offset=4) buffer 2-element array of int memberArr01, layout( column_major std430 offset=12) buffer unsized 1-element array of int memberUnsizedArr01})
1230:?     'ssboSharedArr' (layout( binding=3 column_major shared) buffer 2-element array of block{layout( column_major shared) buffer int member02, layout( column_major shared) buffer 2-element array of int memberArr02, layout( column_major shared) buffer unsized 1-element array of int memberUnsizedArr02})
124
125