From 081c7110803b415e8d109c018b7e1668d04e6f3a Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Tue, 30 Jun 2026 15:02:05 +0100 Subject: [PATCH] fix(element): keep msdfPS chunk version at 2.20 #8990 re-added the font_pxrange uniform and bumped msdfPS to 2.21, but that change is additive: a 2.20-era override that doesn't read font_pxrange just ignores the extra uniform and keeps working. The only overrides that break are pre-2.20 ones (they read the removed font_textureWidth), and those are already flagged by the existing 2.20 marker. 2.20 stays the last breaking change to the chunk, and this keeps main and release-2.20 consistent. Co-Authored-By: Claude Opus 4.8 --- src/scene/shader-lib/glsl/chunks/chunk-validation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/shader-lib/glsl/chunks/chunk-validation.js b/src/scene/shader-lib/glsl/chunks/chunk-validation.js index 083ec55fee0..790553fb803 100644 --- a/src/scene/shader-lib/glsl/chunks/chunk-validation.js +++ b/src/scene/shader-lib/glsl/chunks/chunk-validation.js @@ -60,7 +60,7 @@ const chunkVersions = { refractionDynamicPS: '1.70', // text - msdfPS: '2.21' + msdfPS: '2.20' }; // removed