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:
parent
d008f9d35a
commit
5360e6240d
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue