瀏覽代碼

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 年之前
父節點
當前提交
9b9fcb1977
共有 1 個文件被更改,包括 3 次插入1 次删除
  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() {