Browse Source

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 7 years ago
parent
commit
9b9fcb1977
1 changed files with 3 additions and 1 deletions
  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;
 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() {
 void main() {