From ca65b9e62d2928c2b96502a8762b84e4e8ecd699 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 14 Sep 2017 11:06:59 +0200 Subject: [PATCH] i965: emit BRW_NEW_AUX_STATE if we drop the aux surface Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 32394ca3aaa..970eca723f8 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -2854,6 +2854,7 @@ intel_miptree_make_shareable(struct brw_context *brw, */ free(mt->aux_state); mt->aux_state = NULL; + brw->ctx.NewDriverState |= BRW_NEW_AUX_STATE; } if (mt->hiz_buf) { @@ -2870,6 +2871,7 @@ intel_miptree_make_shareable(struct brw_context *brw, */ free(mt->aux_state); mt->aux_state = NULL; + brw->ctx.NewDriverState |= BRW_NEW_AUX_STATE; } mt->aux_usage = ISL_AUX_USAGE_NONE; -- 2.30.2