aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-06-15 21:18:31 -0700
committerJason Ekstrand <[email protected]>2017-06-23 12:30:24 -0700
commit793b312b4ad57e1f5a3bfa9405169e108384bdbc (patch)
tree34008550d38691448a8cd6a59f18dfdff5f52f97
parent764cce442e6135459027aa7fdabbd0bb6e8f3ca9 (diff)
i965: Don't bother with HiZ in renderbuffer_move_to_temp
This function is only used on gen4-5 which don't support HiZ. Reviewed-by: Chad Versace <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_fbo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c
index f84cea13225..4bf2934033a 100644
--- a/src/mesa/drivers/dri/i965/intel_fbo.c
+++ b/src/mesa/drivers/dri/i965/intel_fbo.c
@@ -989,10 +989,6 @@ intel_renderbuffer_move_to_temp(struct brw_context *brw,
irb->mt->num_samples,
layout_flags);
- if (intel_miptree_wants_hiz_buffer(brw, new_mt)) {
- intel_miptree_alloc_hiz(brw, new_mt);
- }
-
if (!invalidate)
intel_miptree_copy_slice(brw, intel_image->mt,
intel_image->base.Base.Level, irb->mt_layer,