diff options
author | Qiang Yu <[email protected]> | 2020-02-04 17:30:59 +0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-17 02:54:15 +0000 |
commit | 7e5abc11f427b67084ad791a6adab5d99717c064 (patch) | |
tree | bb20bfe1dea25387b37e0469d483d50cdfd2e7eb /src/gallium/drivers/lima/lima_context.c | |
parent | c64994433c0da03d1dabf7cf561f1f1474d6554f (diff) |
lima: move plbu/vs_cmd_array into lima_submit
This information is preserved across draws and needed
when task submission.
Reviewed-by: Vasily Khoruzhick <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
Diffstat (limited to 'src/gallium/drivers/lima/lima_context.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_context.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/lima/lima_context.c b/src/gallium/drivers/lima/lima_context.c index 817e0295a5a..ffa656c6b3f 100644 --- a/src/gallium/drivers/lima/lima_context.c +++ b/src/gallium/drivers/lima/lima_context.c @@ -225,10 +225,6 @@ lima_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) ctx->damage_rect.minx = ctx->damage_rect.miny = 0xffff; ctx->damage_rect.maxx = ctx->damage_rect.maxy = 0; - util_dynarray_init(&ctx->vs_cmd_array, ctx); - util_dynarray_init(&ctx->plbu_cmd_array, ctx); - util_dynarray_init(&ctx->plbu_cmd_head, ctx); - ctx->plb_size = screen->plb_max_blk * LIMA_CTX_PLB_BLK_SIZE; ctx->plb_gp_size = screen->plb_max_blk * 4; |