iris: Flag ALL_DIRTY_BINDINGS on aux state change.

If we change the aux state for a given resource, we need to re-emit the
binding table pointers for any stage that has such resource bound. Since
we don't track that, flag IRIS_ALL_DIRTY_BINDINGS and emit all of them.
This commit is contained in:
Rafael Antognolli
2019-02-19 17:12:19 -08:00
committed by Kenneth Graunke
parent 95589652a1
commit db81445837
3 changed files with 29 additions and 21 deletions

View File

@@ -294,7 +294,8 @@ iris_resource_get_aux_state(const struct iris_resource *res,
* use iris_resource_prepare_access or iris_resource_finish_write.
*/
void
iris_resource_set_aux_state(struct iris_resource *res, uint32_t level,
iris_resource_set_aux_state(struct iris_context *ice,
struct iris_resource *res, uint32_t level,
uint32_t start_layer, uint32_t num_layers,
enum isl_aux_state aux_state);