Explorar o código

Disable invariant gl_Position to workaround Mesa bug 100316

Fixes #13450, though it would be worth reverting if/when the Mesa bug is fixed.
Rémi Verschelde %!s(int64=7) %!d(string=hai) anos
pai
achega
9b9fcb1977
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      drivers/gles3/shaders/scene.glsl

+ 3 - 1
drivers/gles3/shaders/scene.glsl

@@ -263,7 +263,9 @@ uniform highp sampler2D skeleton_texture; //texunit:-1
 
 out highp vec4 position_interp;
 
-invariant gl_Position;
+// FIXME: This triggers a Mesa bug that breaks rendering, so disabled for now.
+// See GH-13450 and https://bugs.freedesktop.org/show_bug.cgi?id=100316
+//invariant gl_Position;
 
 void main() {