From aae0865dc0134bdfb4a4fe05b2bcdbee9fc0a0ff Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 16 May 2016 17:49:21 -0700 Subject: [PATCH] i965: Enable ARB_shader_precision on Gen8+. I recently fixed a bug in the Piglit tests: https://lists.freedesktop.org/archives/piglit/2016-May/019802.html With that patch in place, we pass all the tests. So, turn it on. We could probably expose this earlier than Gen8, but the extension says that OpenGL 4.0 is required, and all of our tests are written against GLSL 4.00 (which is only supported on Gen8+). Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 362a7e558d5..cae53f29668 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -374,6 +374,7 @@ intelInitExtensions(struct gl_context *ctx) } if (brw->gen >= 8) { + ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_stencil_texturing = true; ctx->Extensions.ARB_texture_stencil8 = true; ctx->Extensions.ARB_gpu_shader_fp64 = true; -- 2.30.2