panfrost: Re-init the VT payloads at draw/launch_grid() time
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 6 Mar 2020 10:31:06 +0000 (11:31 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commitd66ef690d127a37e6832c1d0e9fee0f48e2c6232
tree2fd31fe63ab5d129fe32f930e0c1da4e8d3cd0da
parent836686daf36cd8d7c17c909d98f5c9e07549d674
panfrost: Re-init the VT payloads at draw/launch_grid() time

Doing that should help us avoiding state leaks between draw/launch_grid
calls.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_cmdstream.h
src/gallium/drivers/panfrost/pan_compute.c
src/gallium/drivers/panfrost/pan_context.c