i965: emit BRW_NEW_AUX_STATE if we drop the aux surface

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Iago Toral Quiroga 2017-09-14 11:06:59 +02:00
parent 5b27816b22
commit ca65b9e62d
1 changed files with 2 additions and 0 deletions

View File

@ -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;