[Mesa-dev] [PATCH 7/7] i965: Turn on ARB_depth_buffer_float by default.

Eric Anholt eric at anholt.net
Wed Jan 4 18:04:55 PST 2012


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.
---
 src/mesa/drivers/dri/intel/intel_extensions.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 09ee9ba..2aff14d 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -112,8 +112,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;
-- 
1.7.7.3



More information about the mesa-dev mailing list