From deb6dd6b4df7324b4b240799029a80db65b89d96 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 4 Jan 2012 18:02:49 -0800 Subject: [PATCH] i965: Turn on ARB_depth_buffer_float by default. Everything about this that we have tests for works except for the deprecated metaops. The conclusion we came to on IRC sounded like we were OK with turning it on as long as core functionality works. The remaining failures (copypixels, drawpixels) should just be a matter of finishing the MapRenderbuffer for them. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_extensions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 789fc9e0c7b..7aa040cc5cb 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -113,8 +113,7 @@ intelInitExtensions(struct gl_context *ctx) if (intel->gen >= 4) { ctx->Extensions.ARB_color_buffer_float = true; - if (override_version >= 30) - ctx->Extensions.ARB_depth_buffer_float = true; + ctx->Extensions.ARB_depth_buffer_float = true; ctx->Extensions.ARB_depth_clamp = true; ctx->Extensions.ARB_fragment_coord_conventions = true; ctx->Extensions.ARB_fragment_program_shadow = true; -- 2.30.2