[POC] GL_RENDERER: WebKit WebGL [POC] UNMASKED_RENDERER: ANGLE (Mesa/X.org, llvmpipe (LLVM 15.0.6 256 bits), OpenGL 4.5) [POC] UNMASKED_VENDOR: Google Inc. (Mesa/X.org) [POC] [POC] [CONTROL] uniform mat4 m[67108864] (4 GiB, plain uniform array) [POC] compile status: FAIL [POC] info log: ERROR: 0:3: 'm' : Size of declared variable exceeds implementation-defined limit [POC] hit checkVariableSize: YES [POC] [POC] [BYPASS] uniform Huge { mat4 m[67108864]; } b (4 GiB, UBO) [POC] compile status: FAIL [POC] info log: ERROR: 0:3: 'b' : Size of declared variable exceeds implementation-defined limit [POC] hit checkVariableSize: YES [POC] [POC] [TRANSLATED] translated UBO shader length=0 [POC] --- translated source (head, 30 lines) --- [POC] [POC] --- end --- [POC] [POC] =================================================================== [POC] VERDICT: bypass not observed -- control=true ubo=true [POC] =================================================================== [STRESS] UNMASKED_RENDERER: ANGLE (Mesa/X.org, llvmpipe (LLVM 15.0.6 256 bits), OpenGL 4.5) [STRESS] [STRESS] [FAIL] mat4[67108864] = 4 GiB (uint32 wrap to 0) [STRESS] ERROR: 0:3: 'b' : Size of declared variable exceeds implementation-defined limit [STRESS] [PASS] mat4[33554432] = 2 GiB (int32 wrap negative) [STRESS] translated contains: [33554432] [STRESS] [PASS] mat4[33554431] = 2 GiB - 64 (just under int32 max) [STRESS] translated contains: [33554431] [STRESS] [PASS] vec4[134217728] = 2 GiB (int32 wrap, vec4 stride) [STRESS] translated contains: [134217728] [STRESS] [FAIL] mat4[33554432] + vec4 trailer (cross-wrap layout) [STRESS] ERROR: 0:3: 'b' : Size of declared variable exceeds implementation-defined limit [STRESS] [FAIL] mat4[2147483647] = 128 GiB (INT_MAX elements) [STRESS] ERROR: 0:3: 'b' : Size of declared variable exceeds implementation-defined limit [STRESS] [FAIL] mat4[67108864] referenced (b.m[0]) [STRESS] ERROR: 0:3: 'b' : Size of declared variable exceeds implementation-defined limit [STRESS] [STRESS] All UBO declarations bypassed checkVariableSize and reached the driver.