From 9bbf7c139bb02fe9fc3822bf2ca9ac5963d0d5af Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 4 Jul 2012 10:52:33 -0700 Subject: intel: Remove dead intel_framebuffer_has_hiz(). Reviewed-by: Chad Versace Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_fbo.c | 9 --------- src/mesa/drivers/dri/intel/intel_fbo.h | 4 ---- 2 files changed, 13 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index f9fdc361de6..db4fb3b74a8 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -59,15 +59,6 @@ static struct gl_renderbuffer * intel_new_renderbuffer(struct gl_context * ctx, GLuint name); -bool -intel_framebuffer_has_hiz(struct gl_framebuffer *fb) -{ - struct intel_renderbuffer *rb = NULL; - if (fb) - rb = intel_get_renderbuffer(fb, BUFFER_DEPTH); - return rb && rb->mt && rb->mt->hiz_mt; -} - struct intel_region* intel_get_rb_region(struct gl_framebuffer *fb, GLuint attIndex) { diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index e14fe550b0c..02bda1efc8b 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -129,10 +129,6 @@ intel_rb_format(const struct intel_renderbuffer *rb) return rb->Base.Base.Format; } - -bool -intel_framebuffer_has_hiz(struct gl_framebuffer *fb); - extern struct intel_renderbuffer * intel_create_renderbuffer(gl_format format); -- cgit v1.2.3