From e8f391cbe1d18346420c2a0ff1972a2a2f61988d Mon Sep 17 00:00:00 2001 From: Kelsey Gilbert Date: Tue, 17 Sep 2024 16:56:43 +0000 Subject: [PATCH] Bug 1912404 - Remove unneeded 16kiB var limit for Mesa. r=gfx-reviewers,lsalzman Differential Revision: https://phabricator.services.mozilla.com/D222010 --- dom/canvas/WebGLShaderValidator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dom/canvas/WebGLShaderValidator.cpp b/dom/canvas/WebGLShaderValidator.cpp index cc760439b64d..16d389af8f18 100644 --- a/dom/canvas/WebGLShaderValidator.cpp +++ b/dom/canvas/WebGLShaderValidator.cpp @@ -208,10 +208,6 @@ std::unique_ptr WebGLContext::CreateShaderValidator( return static_cast(bytes); } - if (gl->IsMesa()) { - return 4 * 4 * 1024; // 4K words - } - if (kIsMacOS) { return 128 * 1024; // 8k vec4s }