diff options
author | Kenneth Graunke <[email protected]> | 2018-10-18 21:26:06 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | b0dc11993eeaf4c7561f12e7034c4b0894b1cf8b (patch) | |
tree | 85af0bc1c5b2333be856b4a0f5d0252839ad5178 | |
parent | 973b937cac02a17b8fd23d69cdecda7579973bcb (diff) |
iris: bail if SLM is needed
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |