summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-06-04 22:55:13 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-06-05 12:57:54 -0700
commit747926ddfbc743b4b26ec63041c5aa49f89dfe2b (patch)
tree8c12a91ac7a92d4d386c6d3cbb7d5308c537cbeb /src/gallium
parent0430c6d18a90549b1dd40ea29a0c28d1a8e3a47d (diff)
iris: Only recompile CS when needed
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Sagar Ghuge <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_draw.c b/src/gallium/drivers/iris/iris_draw.c
index 17e4eab67d8..fd937ec7138 100644
--- a/src/gallium/drivers/iris/iris_draw.c
+++ b/src/gallium/drivers/iris/iris_draw.c
@@ -314,7 +314,7 @@ iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid)
iris_batch_maybe_flush(batch, 1500);
- //if (dirty & IRIS_DIRTY_UNCOMPILED_CS)
+ if (ice->state.dirty & IRIS_DIRTY_UNCOMPILED_CS)
iris_update_compiled_compute_shader(ice);
iris_update_grid_size_resource(ice, grid);