diff options
author | Kenneth Graunke <[email protected]> | 2018-11-08 15:32:59 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | 587e4381280852977182e63e08b2c00f20a82145 (patch) | |
tree | fec9aa609d3226df67e42b73ae668f3b82b120b1 /src/gallium/drivers/iris/iris_context.c | |
parent | 2727a942a483648135ad9fdb310e70304eb7617e (diff) |
iris: Print the batch name when decoding
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c index 9283bff6311..981b7dd8b88 100644 --- a/src/gallium/drivers/iris/iris_context.c +++ b/src/gallium/drivers/iris/iris_context.c @@ -215,10 +215,11 @@ iris_create_context(struct pipe_screen *pscreen, void *priv, unsigned flags) &ice->render_batch, &ice->compute_batch, }; + const char *batch_names[IRIS_BATCH_COUNT] = { "render", "compute", }; for (int i = 0; i < IRIS_BATCH_COUNT; i++) { iris_init_batch(batches[i], screen, &ice->vtbl, &ice->dbg, - batches, I915_EXEC_RENDER); + batches, batch_names[i], I915_EXEC_RENDER); } ice->vtbl.init_render_context(screen, &ice->render_batch, &ice->vtbl, |