Module: Mesa Branch: master Commit: ca65b9e62d2928c2b96502a8762b84e4e8ecd699 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca65b9e62d2928c2b96502a8762b84e4e8ecd699
Author: Iago Toral Quiroga <[email protected]> Date: Thu Sep 14 11:06:59 2017 +0200 i965: emit BRW_NEW_AUX_STATE if we drop the aux surface Reviewed-by: Jason Ekstrand <[email protected]> --- 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 32394ca3aa..970eca723f 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
