From 873a0745159c7d30918c33c69d4effca178e1dfd Mon Sep 17 00:00:00 2001 From: Donovan Hutchence Date: Mon, 9 Dec 2024 14:30:56 +0000 Subject: [PATCH] u --- src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js b/src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js index e3149bf5269..d6b765ed687 100644 --- a/src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js +++ b/src/scene/shader-lib/chunks/gsplat/vert/gsplatCompressedData.js @@ -62,7 +62,7 @@ mat3 quatToMat3(vec4 R) { // read center vec3 readCenter(SplatSource source) { - uint w = uint(textureSize(chunkTexture, 0).x) / 5; + uint w = uint(textureSize(chunkTexture, 0).x) / 5u; uint chunkId = source.id / 256u; ivec2 chunkUV = ivec2((chunkId % w) * 5u, chunkId / w);