aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-10-18 22:38:32 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commit155e1a63d582f8b8ea2133c648f49c6fad62fb56 (patch)
tree6409657a1809c6ebf026d20a98f1d41956554050
parent643030f4fbcb1d2742e55d15e9839cc1d452a252 (diff)
iris: XXX for compute state tracking :/
Maybe we should just move dirty to batch, it would help with the reset stuff too
-rw-r--r--src/gallium/drivers/iris/iris_draw.c1
1 files changed, 1 insertions, 0 deletions
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