diff options
author | Iago Toral Quiroga <[email protected]> | 2017-09-14 11:06:59 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-09-18 10:47:51 +0200 |
commit | ca65b9e62d2928c2b96502a8762b84e4e8ecd699 (patch) | |
tree | 3351772409df5f0084ad3f84523f7e4fc3aacd49 /src/mesa/drivers | |
parent | 5b27816b22f98abaa22a133a264fe7356afc46fa (diff) |
i965: emit BRW_NEW_AUX_STATE if we drop the aux surface
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |