panvk: Don't invalidate the vertex attributes when binding a new pipeline

This should be done when binding new vertex buffers.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13077>
This commit is contained in:
Boris Brezillon 2021-09-23 17:36:45 +02:00 committed by Marge Bot
parent d008f9d35a
commit 5360e6240d
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ panvk_CmdBindPipeline(VkCommandBuffer commandBuffer,
cmdbuf->state.bind_point = pipelineBindPoint;
cmdbuf->state.pipeline = pipeline;
cmdbuf->state.varyings = pipeline->varyings;
cmdbuf->state.vb.attrib_bufs = cmdbuf->state.vb.attribs = 0;
cmdbuf->state.fs_rsd = 0;
memset(cmdbuf->descriptors[pipelineBindPoint].sysvals, 0,
sizeof(cmdbuf->descriptors[pipelineBindPoint].sysvals));