mesa/src/virtio
Chad Versace fe3e850dfb venus: Don't encode ignored pTessellationState
The spec says that VkGraphicsPipelineCreateInfo::pTessellationState is
ignored and may be an invalid pointer in some cases. When ignored,
patch the pCreateInfo with `pTessellationState = NULL`, so the encoder
doesn't attempt to encode an invalid pointer.

Tested in Borealis, with debug build of venus, with a minimal test app
that sets `.pTesselationState = 0x17`. Pre-patch, the app crashes;
post-patch, the app works.

Signed-off-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16284>
2022-05-17 19:47:52 +00:00
..
venus-protocol venus: update protocol for mask helper and ignore renderer unknown pNext 2022-04-09 00:19:05 +00:00
virtio-gpu freedreno/drm/virtio: Protocol updates 2022-04-27 23:10:00 +00:00
vtest virgl: update headers from virglrenderer 2021-04-08 17:15:37 +00:00
vulkan venus: Don't encode ignored pTessellationState 2022-05-17 19:47:52 +00:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00