From 83486d3148f8b8f0ae2679407330c69279f36349 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 29 Jul 2013 13:48:26 -0700 Subject: [PATCH] intel_fbo: remove unused intel_renderbuffer hiz functions We are now using functions that operate on the renderbuffer attachment to handle layered rendering. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry Reviewed-by: Chad Versace --- src/mesa/drivers/dri/i965/intel_fbo.c | 20 -------------------- src/mesa/drivers/dri/i965/intel_fbo.h | 6 ------ 2 files changed, 26 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c index ea376820045..fb0bb71b028 100644 --- a/src/mesa/drivers/dri/i965/intel_fbo.c +++ b/src/mesa/drivers/dri/i965/intel_fbo.c @@ -821,26 +821,6 @@ intel_renderbuffer_has_hiz(struct intel_renderbuffer *irb) return intel_miptree_slice_has_hiz(irb->mt, irb->mt_level, irb->mt_layer); } -void -intel_renderbuffer_set_needs_hiz_resolve(struct intel_renderbuffer *irb) -{ - if (irb->mt) { - intel_miptree_slice_set_needs_hiz_resolve(irb->mt, - irb->mt_level, - irb->mt_layer); - } -} - -void -intel_renderbuffer_set_needs_depth_resolve(struct intel_renderbuffer *irb) -{ - if (irb->mt) { - intel_miptree_slice_set_needs_depth_resolve(irb->mt, - irb->mt_level, - irb->mt_layer); - } -} - bool intel_renderbuffer_resolve_hiz(struct brw_context *brw, struct intel_renderbuffer *irb) diff --git a/src/mesa/drivers/dri/i965/intel_fbo.h b/src/mesa/drivers/dri/i965/intel_fbo.h index 05e96aad7b3..a19830180e1 100644 --- a/src/mesa/drivers/dri/i965/intel_fbo.h +++ b/src/mesa/drivers/dri/i965/intel_fbo.h @@ -158,12 +158,6 @@ intel_renderbuffer_set_needs_downsample(struct intel_renderbuffer *irb); bool intel_renderbuffer_has_hiz(struct intel_renderbuffer *irb); -void -intel_renderbuffer_set_needs_hiz_resolve(struct intel_renderbuffer *irb); - -void -intel_renderbuffer_set_needs_depth_resolve(struct intel_renderbuffer *irb); - void intel_renderbuffer_att_set_needs_depth_resolve(struct gl_renderbuffer_attachment *att); -- 2.30.2