From: Eric Anholt Date: Thu, 5 Jan 2012 02:02:49 +0000 (-0800) Subject: i965: Turn on ARB_depth_buffer_float by default. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deb6dd6b4df7324b4b240799029a80db65b89d96;p=mesa.git 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 --- 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;