diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-05-20 16:00:26 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-07-02 08:58:50 -0400 |
commit | 2081c1ecc00682302faa9555cc0551fc14a338f0 (patch) | |
tree | 857c6f1f4544bdf98a4381be7cc10af1c5fb60da /src/gallium/drivers/freedreno/a2xx/fd2_emit.h | |
parent | 2c3b54c27820edcf2d74e96faa812f8dd29f56df (diff) |
freedreno/a2xx: move setup/restore cmds into binning pass
Rather than doing a separate submit at context create, move these cmds
to before first tile, as is done on a3xx/a4xx. Otherwise state can
be overwritten by other contexts.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_emit.h')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h index 3c146c17151..6a26c85c142 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h +++ b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h @@ -43,7 +43,7 @@ struct fd2_vertex_buf { void fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val, struct fd2_vertex_buf *vbufs, uint32_t n); void fd2_emit_state(struct fd_context *ctx, uint32_t dirty); -void fd2_emit_setup(struct fd_context *ctx); +void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring); void fd2_emit_init(struct pipe_context *pctx); |