diff options
author | Rob Clark <[email protected]> | 2018-07-17 09:54:23 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-07-17 11:00:00 -0400 |
commit | 20f677f6bccdabafbffd0d8e948514dda0acb3f4 (patch) | |
tree | 7c7bfa11a69c6015cacbec58c63c5f60e0dc96e3 /src/gallium/drivers/freedreno/freedreno_gmem.c | |
parent | 15f6c0509a8b6928a94023e095e08419cf1fe589 (diff) |
freedreno: get rid of noop render
This was basically to avoid a zero-dword IB (indirect-branch), but
instead just don't emit the IB packet in that case.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index 1cd254b3629..95b4c16e091 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -442,21 +442,6 @@ fd_gmem_render_tiles(struct fd_batch *batch) flush_ring(batch); } -/* special case for when we need to create a fence but have no rendering - * to flush.. just emit a no-op string-marker packet. - */ -void -fd_gmem_render_noop(struct fd_batch *batch) -{ - struct fd_context *ctx = batch->ctx; - struct pipe_context *pctx = &ctx->base; - - pctx->emit_string_marker(pctx, "noop", 4); - /* emit IB to drawcmds (which contain the string marker): */ - ctx->emit_ib(batch->gmem, batch->draw); - flush_ring(batch); -} - /* tile needs restore if it isn't completely contained within the * cleared scissor: */ |