From: Iago Toral Quiroga Date: Thu, 14 Sep 2017 09:06:59 +0000 (+0200) Subject: i965: emit BRW_NEW_AUX_STATE if we drop the aux surface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca65b9e62d2928c2b96502a8762b84e4e8ecd699;p=mesa.git i965: emit BRW_NEW_AUX_STATE if we drop the aux surface Reviewed-by: Jason Ekstrand --- 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;