未验证 提交 ff75ee91 编写于 作者: G Garrett Johnson 提交者: GitHub

Move sampler3D precision definition inside #ifdef (#21531)

上级 07e58027
......@@ -31,10 +31,10 @@ const LUTShader = {
fragmentShader: /* glsl */`
precision highp sampler3D;
uniform float lutSize;
#if USE_3DTEXTURE
precision highp sampler3D;
uniform sampler3D lut3d;
#else
uniform sampler2D lut;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册