1300block.frag
2ERROR: 0:10: '' : cannot nest a structure definition inside a structure or block
3ERROR: 0:21: '' : cannot nest a structure definition inside a structure or block
4ERROR: 0:20: 'sampler' : member of block cannot be or contain a sampler, image, or atomic_uint type
5ERROR: 0:24: 'fbs' : member of block cannot be or contain a sampler, image, or atomic_uint type
6ERROR: 0:45: 'variable indexing uniform block array' : not supported for this version or the enabled extensions
7ERROR: 0:46: 'fooBlock' : cannot be used (maybe an instance name is needed)
8ERROR: 0:46: 'fooBlock' : undeclared identifier
9ERROR: 0:47: 'constructor' : not enough data provided for construction
10ERROR: 0:51: 'unreferenced' : cannot be used (maybe an instance name is needed)
11ERROR: 0:51: 'unreferenced' : undeclared identifier
12ERROR: 0:52: '++' :  l-value required "s" (can't modify a uniform)
13ERROR: 0:52: '++' :  wrong operand type no operation '++' exists that takes an operand of type  uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t} (or there is no acceptable conversion)
14ERROR: 0:53: '-' :  wrong operand types: no operation '-' exists that takes a left-hand operand of type 'layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni}' and a right operand of type ' const int' (or there is no acceptable conversion)
15ERROR: 0:55: 'barBlockArray' : cannot be used (maybe an instance name is needed)
16ERROR: 0:55: 'barBlockArray' : undeclared identifier
17ERROR: 0:55: '*' :  wrong operand types: no operation '*' exists that takes a left-hand operand of type ' const int' and a right operand of type ' temp float' (or there is no acceptable conversion)
18ERROR: 0:58: 'fooBlock' : redefinition
19ERROR: 17 compilation errors.  No code generated.
20
21
22Shader version: 300
23ERROR: node is still EOpNull!
240:42  Function Definition: main( ( global void)
250:42    Function Parameters:
260:44    Sequence
270:44      texture ( global lowp 4-component vector of int)
280:44        sampler: direct index for structure ( global lowp isampler3D)
290:44          's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
300:44          Constant:
310:44            2 (const int)
320:44        Construct vec3 ( temp lowp 3-component vector of float)
330:44          Convert int to float ( temp lowp float)
340:44            ni: direct index for structure (layout( column_major shared) uniform mediump int)
350:44              'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
360:44              Constant:
370:44                1 (const int)
380:44          Convert uint to float ( temp lowp float)
390:44            direct index ( temp mediump uint)
400:44              bv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint)
410:44                'anon@0' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_major shared) uniform lowp isampler2D sampler, layout( column_major shared) uniform structure{ global mediump int a} t, layout( column_major shared) uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t} fbs})
420:44                Constant:
430:44                  0 (const uint)
440:44              Constant:
450:44                1 (const int)
460:44          Convert uint to float ( temp lowp float)
470:44            direct index ( temp mediump uint)
480:44              nbv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint)
490:44                direct index (layout( column_major shared) temp block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
500:44                  'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
510:44                  Constant:
520:44                    2 (const int)
530:44                Constant:
540:44                  0 (const int)
550:44              Constant:
560:44                2 (const int)
570:45      indirect index (layout( column_major shared) temp block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
580:45        'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
590:45        direct index ( temp mediump uint)
600:45          v: direct index for structure ( global mediump 4-component vector of uint)
610:45            's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
620:45            Constant:
630:45              1 (const int)
640:45          Constant:
650:45            0 (const int)
660:46      'fooBlock' ( temp float)
670:47      Constant:
680:47        0.000000
690:50      Construct mat4 ( temp 4X4 matrix of float)
700:50        'barBlock' ( temp mediump float)
710:51      Construct mat4 ( temp 4X4 matrix of float)
720:51        'unreferenced' ( temp float)
730:52      's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
740:53      'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
750:54      Pre-Increment ( temp mediump float)
760:54        'barBlock' ( temp mediump float)
770:55      Constant:
780:55        2 (const int)
790:?   Linker Objects
800:?     's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
810:?     'anon@0' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_major shared) uniform lowp isampler2D sampler, layout( column_major shared) uniform structure{ global mediump int a} t, layout( column_major shared) uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t} fbs})
820:?     'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
830:?     'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
840:?     'anon@1' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump float f, layout( column_major shared) uniform mediump uint u})
85
86
87Linked fragment stage:
88
89
90Shader version: 300
91ERROR: node is still EOpNull!
920:42  Function Definition: main( ( global void)
930:42    Function Parameters:
940:44    Sequence
950:44      texture ( global lowp 4-component vector of int)
960:44        sampler: direct index for structure ( global lowp isampler3D)
970:44          's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
980:44          Constant:
990:44            2 (const int)
1000:44        Construct vec3 ( temp lowp 3-component vector of float)
1010:44          Convert int to float ( temp lowp float)
1020:44            ni: direct index for structure (layout( column_major shared) uniform mediump int)
1030:44              'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1040:44              Constant:
1050:44                1 (const int)
1060:44          Convert uint to float ( temp lowp float)
1070:44            direct index ( temp mediump uint)
1080:44              bv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint)
1090:44                'anon@0' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_major shared) uniform lowp isampler2D sampler, layout( column_major shared) uniform structure{ global mediump int a} t, layout( column_major shared) uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t} fbs})
1100:44                Constant:
1110:44                  0 (const uint)
1120:44              Constant:
1130:44                1 (const int)
1140:44          Convert uint to float ( temp lowp float)
1150:44            direct index ( temp mediump uint)
1160:44              nbv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint)
1170:44                direct index (layout( column_major shared) temp block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1180:44                  'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1190:44                  Constant:
1200:44                    2 (const int)
1210:44                Constant:
1220:44                  0 (const int)
1230:44              Constant:
1240:44                2 (const int)
1250:45      indirect index (layout( column_major shared) temp block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1260:45        'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1270:45        direct index ( temp mediump uint)
1280:45          v: direct index for structure ( global mediump 4-component vector of uint)
1290:45            's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
1300:45            Constant:
1310:45              1 (const int)
1320:45          Constant:
1330:45            0 (const int)
1340:46      'fooBlock' ( temp float)
1350:47      Constant:
1360:47        0.000000
1370:50      Construct mat4 ( temp 4X4 matrix of float)
1380:50        'barBlock' ( temp mediump float)
1390:51      Construct mat4 ( temp 4X4 matrix of float)
1400:51        'unreferenced' ( temp float)
1410:52      's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
1420:53      'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1430:54      Pre-Increment ( temp mediump float)
1440:54        'barBlock' ( temp mediump float)
1450:55      Constant:
1460:55        2 (const int)
1470:?   Linker Objects
1480:?     's' ( uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t})
1490:?     'anon@0' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_major shared) uniform lowp isampler2D sampler, layout( column_major shared) uniform structure{ global mediump int a} t, layout( column_major shared) uniform structure{ global mediump 4-component vector of float u,  global mediump 4-component vector of uint v,  global lowp isampler3D sampler,  global mediump 3-component vector of float w,  global structure{ global mediump int a} t} fbs})
1500:?     'inst' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1510:?     'insts' (layout( column_major shared) uniform 4-element array of block{layout( column_major shared) uniform mediump 4-component vector of uint nbv, layout( column_major shared) uniform mediump int ni})
1520:?     'anon@1' (layout( column_major shared) uniform block{layout( column_major shared) uniform mediump float f, layout( column_major shared) uniform mediump uint u})
153
154