1 300block.frag 2 ERROR: 0:10: '' : cannot nest a structure definition inside a structure or block 3 ERROR: 0:21: '' : cannot nest a structure definition inside a structure or block 4 ERROR: 0:20: 'sampler' : member of block cannot be or contain a sampler, image, or atomic_uint type 5 ERROR: 0:24: 'fbs' : member of block cannot be or contain a sampler, image, or atomic_uint type 6 ERROR: 0:45: 'variable indexing uniform block array' : not supported for this version or the enabled extensions 7 ERROR: 0:46: 'fooBlock' : cannot be used (maybe an instance name is needed) 8 ERROR: 0:46: 'fooBlock' : undeclared identifier 9 ERROR: 0:47: 'constructor' : not enough data provided for construction 10 ERROR: 0:51: 'unreferenced' : cannot be used (maybe an instance name is needed) 11 ERROR: 0:51: 'unreferenced' : undeclared identifier 12 ERROR: 0:52: '++' : l-value required "s" (can't modify a uniform) 13 ERROR: 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) 14 ERROR: 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) 15 ERROR: 0:55: 'barBlockArray' : cannot be used (maybe an instance name is needed) 16 ERROR: 0:55: 'barBlockArray' : undeclared identifier 17 ERROR: 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) 18 ERROR: 0:58: 'fooBlock' : redefinition 19 ERROR: 17 compilation errors. No code generated. 20 21 22 Shader version: 300 23 ERROR: node is still EOpNull! 24 0:42 Function Definition: main( ( global void) 25 0:42 Function Parameters: 26 0:44 Sequence 27 0:44 texture ( global lowp 4-component vector of int) 28 0:44 sampler: direct index for structure ( global lowp isampler3D) 29 0: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}) 30 0:44 Constant: 31 0:44 2 (const int) 32 0:44 Construct vec3 ( temp lowp 3-component vector of float) 33 0:44 Convert int to float ( temp lowp float) 34 0:44 ni: direct index for structure (layout( column_major shared) uniform mediump int) 35 0: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}) 36 0:44 Constant: 37 0:44 1 (const int) 38 0:44 Convert uint to float ( temp lowp float) 39 0:44 direct index ( temp mediump uint) 40 0:44 bv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint) 41 0: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}) 42 0:44 Constant: 43 0:44 0 (const uint) 44 0:44 Constant: 45 0:44 1 (const int) 46 0:44 Convert uint to float ( temp lowp float) 47 0:44 direct index ( temp mediump uint) 48 0:44 nbv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint) 49 0: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}) 50 0: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}) 51 0:44 Constant: 52 0:44 2 (const int) 53 0:44 Constant: 54 0:44 0 (const int) 55 0:44 Constant: 56 0:44 2 (const int) 57 0: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}) 58 0: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}) 59 0:45 direct index ( temp mediump uint) 60 0:45 v: direct index for structure ( global mediump 4-component vector of uint) 61 0: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}) 62 0:45 Constant: 63 0:45 1 (const int) 64 0:45 Constant: 65 0:45 0 (const int) 66 0:46 'fooBlock' ( temp float) 67 0:47 Constant: 68 0:47 0.000000 69 0:50 Construct mat4 ( temp 4X4 matrix of float) 70 0:50 'barBlock' ( temp mediump float) 71 0:51 Construct mat4 ( temp 4X4 matrix of float) 72 0:51 'unreferenced' ( temp float) 73 0: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}) 74 0: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}) 75 0:54 Pre-Increment ( temp mediump float) 76 0:54 'barBlock' ( temp mediump float) 77 0:55 Constant: 78 0:55 2 (const int) 79 0:? Linker Objects 80 0:? '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}) 81 0:? '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}) 82 0:? '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}) 83 0:? '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}) 84 0:? '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 87 Linked fragment stage: 88 89 90 Shader version: 300 91 ERROR: node is still EOpNull! 92 0:42 Function Definition: main( ( global void) 93 0:42 Function Parameters: 94 0:44 Sequence 95 0:44 texture ( global lowp 4-component vector of int) 96 0:44 sampler: direct index for structure ( global lowp isampler3D) 97 0: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}) 98 0:44 Constant: 99 0:44 2 (const int) 100 0:44 Construct vec3 ( temp lowp 3-component vector of float) 101 0:44 Convert int to float ( temp lowp float) 102 0:44 ni: direct index for structure (layout( column_major shared) uniform mediump int) 103 0: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}) 104 0:44 Constant: 105 0:44 1 (const int) 106 0:44 Convert uint to float ( temp lowp float) 107 0:44 direct index ( temp mediump uint) 108 0:44 bv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint) 109 0: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}) 110 0:44 Constant: 111 0:44 0 (const uint) 112 0:44 Constant: 113 0:44 1 (const int) 114 0:44 Convert uint to float ( temp lowp float) 115 0:44 direct index ( temp mediump uint) 116 0:44 nbv: direct index for structure (layout( column_major shared) uniform mediump 4-component vector of uint) 117 0: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}) 118 0: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}) 119 0:44 Constant: 120 0:44 2 (const int) 121 0:44 Constant: 122 0:44 0 (const int) 123 0:44 Constant: 124 0:44 2 (const int) 125 0: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}) 126 0: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}) 127 0:45 direct index ( temp mediump uint) 128 0:45 v: direct index for structure ( global mediump 4-component vector of uint) 129 0: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}) 130 0:45 Constant: 131 0:45 1 (const int) 132 0:45 Constant: 133 0:45 0 (const int) 134 0:46 'fooBlock' ( temp float) 135 0:47 Constant: 136 0:47 0.000000 137 0:50 Construct mat4 ( temp 4X4 matrix of float) 138 0:50 'barBlock' ( temp mediump float) 139 0:51 Construct mat4 ( temp 4X4 matrix of float) 140 0:51 'unreferenced' ( temp float) 141 0: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}) 142 0: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}) 143 0:54 Pre-Increment ( temp mediump float) 144 0:54 'barBlock' ( temp mediump float) 145 0:55 Constant: 146 0:55 2 (const int) 147 0:? Linker Objects 148 0:? '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}) 149 0:? '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}) 150 0:? '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}) 151 0:? '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}) 152 0:? '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