From b0dc11993eeaf4c7561f12e7034c4b0894b1cf8b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Thu, 18 Oct 2018 21:26:06 -0700 Subject: [PATCH] iris: bail if SLM is needed --- src/gallium/drivers/iris/iris_state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index f36838262e5..68ecc1bb742 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -4274,6 +4274,9 @@ iris_upload_compute_state(struct iris_context *ice, struct brw_stage_prog_data *prog_data = shader->prog_data; struct brw_cs_prog_data *cs_prog_data = (void *) prog_data; + // XXX: L3 configuration not set up for SLM + assert(prog_data->total_shared == 0); + struct pipe_resource *grid_size_res = NULL; uint32_t grid_size_offset; if (grid->indirect) { -- 2.30.2