diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index 2f939b34ca9..b1489f2e913 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -376,7 +376,11 @@ render_tiles(struct fd_batch *batch) ctx->query_prepare_tile(batch, i, batch->gmem); /* emit IB to drawcmds: */ - ctx->emit_ib(batch->gmem, batch->draw); + if (ctx->emit_tile) { + ctx->emit_tile(batch, tile); + } else { + ctx->emit_ib(batch->gmem, batch->draw); + } fd_reset_wfi(batch); /* emit gmem2mem to transfer tile back to system memory: */ |