From b661be363163b73eaf8af92ced46d6dcf09e3760 Mon Sep 17 00:00:00 2001 From: N1ark Date: Sun, 15 Dec 2024 22:10:30 +0000 Subject: [PATCH] Add `texture` to builtin functions --- src/minify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minify.ts b/src/minify.ts index 4932fee..100b80f 100644 --- a/src/minify.ts +++ b/src/minify.ts @@ -127,7 +127,7 @@ const glslBuiltinFunctions = [ 'mix', 'step', 'smoothstep', // Texture functions - 'texture2D', 'texture2DProj', 'textureCube', 'textureSize', + 'texture2D', 'texture2DProj', 'textureCube', 'textureSize', 'texture', // Noise functions 'noise1', 'noise2', 'noise3', 'noise4',