summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-07-04 10:52:33 -0700
committerChad Versace <[email protected]>2012-07-17 08:18:02 -0700
commit9bbf7c139bb02fe9fc3822bf2ca9ac5963d0d5af (patch)
tree7f6a78209f6ac6afe675975b27e3814e517ac634 /src/mesa/drivers
parentbce58e155db7202a98642c10e6132dee4e08162b (diff)
intel: Remove dead intel_framebuffer_has_hiz().
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c9
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.h4
2 files changed, 0 insertions, 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);