diff options
author | Rob Clark <[email protected]> | 2017-04-21 16:26:49 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-04-22 10:03:02 -0400 |
commit | 52d2fa37f5337f637d04d012331b40d923ea5354 (patch) | |
tree | c9b523b6d4f19362f2f6b82eacbc5104b7f2df21 /src/gallium/drivers/freedreno/freedreno_draw.c | |
parent | 5923780b2a610bc9dc4fb88e19638e604cff9b79 (diff) |
freedreno: drop ring arg from _set_stage()
It is always the draw ring. Except for a5xx queries like time-elapsed,
where we will eventually want to emit cmds into both binning and draw
rings.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_draw.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c index 7d3fc8e32da..d5b9a7b23a5 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.c +++ b/src/gallium/drivers/freedreno/freedreno_draw.c @@ -110,7 +110,7 @@ fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info) /* NOTE: needs to be before resource_written(batch->query_buf), otherwise * query_buf may not be created yet. */ - fd_batch_set_stage(batch, batch->draw, FD_STAGE_DRAW); + fd_batch_set_stage(batch, FD_STAGE_DRAW); /* * Figure out the buffers/features we need: @@ -375,7 +375,7 @@ fd_clear(struct pipe_context *pctx, unsigned buffers, return; } - fd_batch_set_stage(batch, batch->draw, FD_STAGE_CLEAR); + fd_batch_set_stage(batch, FD_STAGE_CLEAR); ctx->clear(ctx, buffers, color, depth, stencil); |