summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-03 14:45:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-03 15:05:39 +0100
commit9b9fcb1977c2586fcba86405865a10ad81f8d2e6 (patch)
treee3043b9a54b7b8a295fcd9ca8bfd7cf6b6bfad1f
parent889d262736999a2dc5d9d9b5c223850951393e5a (diff)
Disable invariant gl_Position to workaround Mesa bug 100316
Fixes #13450, though it would be worth reverting if/when the Mesa bug is fixed.
-rw-r--r--drivers/gles3/shaders/scene.glsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl
index 4d87a1d9d2..79b989be4a 100644
--- a/drivers/gles3/shaders/scene.glsl
+++ b/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() {