aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-05-16 17:49:21 -0700
committerKenneth Graunke <[email protected]>2016-05-16 17:52:45 -0700
commitaae0865dc0134bdfb4a4fe05b2bcdbee9fc0a0ff (patch)
tree28153fc367cba9092c7e35a9ad030632e468a506 /src/mesa/drivers/dri
parentcf010de6ee1b409d97f751705e5d8b26424cf025 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
1 files changed, 1 insertions, 0 deletions
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;