iris: XXX for compute state tracking :/
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 19 Oct 2018 05:38:32 +0000 (22:38 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
Maybe we should just move dirty to batch, it would help with the
reset stuff too

src/gallium/drivers/iris/iris_draw.c

index 196f8d2caf4cebe4c6d6ebaff21a35baeccf5fe6..2bde382b49fd0618dbe94cc676967a2ff7116276 100644 (file)
@@ -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