summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-04 18:02:49 -0800
committerEric Anholt <[email protected]>2012-01-06 09:49:21 -0800
commitdeb6dd6b4df7324b4b240799029a80db65b89d96 (patch)
treecc2af1af1804eaca9ec6b2ccc97a237d134db3fa
parent3786a3e644d0770e1247f24c6379388513728174 (diff)
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 <[email protected]>
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions.c3
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 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;