From: Kenneth Graunke Date: Fri, 19 Oct 2018 05:38:32 +0000 (-0700) Subject: iris: XXX for compute state tracking :/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=155e1a63d582f8b8ea2133c648f49c6fad62fb56;p=mesa.git iris: XXX for compute state tracking :/ Maybe we should just move dirty to batch, it would help with the reset stuff too --- diff --git a/src/gallium/drivers/iris/iris_draw.c b/src/gallium/drivers/iris/iris_draw.c index 196f8d2caf4..2bde382b49f 100644 --- a/src/gallium/drivers/iris/iris_draw.c +++ b/src/gallium/drivers/iris/iris_draw.c @@ -115,6 +115,7 @@ iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *info) ice->vtbl.update_surface_base_address(batch, &ice->state.binder); ice->vtbl.upload_compute_state(ice, batch, info); + // XXX: this is wrong. we need separate dirty tracking for compute/render ice->state.dirty = 0ull; // XXX: postdraw resolve tracking