mesa/src/virtio/vulkan
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
..
.clang-format
meson.build
vn_android.c venus: update vn_GetSwapchainGrallocUsage2ANDROID for shared present 2022-04-30 04:25:44 +00:00
vn_android.h venus: update vn_GetSwapchainGrallocUsage2ANDROID for shared present 2022-04-30 04:25:44 +00:00
vn_buffer.c venus: extend buffer cache to cover layering usage 2022-05-07 05:26:44 +00:00
vn_buffer.h
vn_command_buffer.c venus: flush when batched draw calls reach a threshold 2022-04-26 23:49:59 +00:00
vn_command_buffer.h venus: flush when batched draw calls reach a threshold 2022-04-26 23:49:59 +00:00
vn_common.c venus: log performance envs upon instance creation with debug init 2022-05-02 20:20:43 +00:00
vn_common.h venus: add VN_RELAX_BASE_SLEEP_US env var for tuning cpu utils 2022-05-02 20:20:43 +00:00
vn_cs.c venus: prepare and feed renderer protocol info into cs 2022-04-09 00:19:05 +00:00
vn_cs.h venus: prepare and feed renderer protocol info into cs 2022-04-09 00:19:05 +00:00
vn_descriptor_set.c venus: add env perf options and introduce no_async_set_alloc 2022-04-26 23:49:59 +00:00
vn_descriptor_set.h
vn_device.c venus: add VK_EXT_calibrated_timestamps extension 2022-03-17 00:02:21 +00:00
vn_device.h
vn_device_memory.c
vn_device_memory.h
vn_icd.c venus: refactor to add struct vn_env 2022-04-26 23:49:59 +00:00
vn_icd.h
vn_image.c venus: fix view format for ahb image 2022-04-26 22:21:53 +00:00
vn_image.h venus: fix view format for ahb image 2022-04-26 22:21:53 +00:00
vn_instance.c venus: add support for vk_xwayland_wait_ready 2022-04-29 00:45:24 +00:00
vn_instance.h
vn_physical_device.c venus: enable ANB shared presentable image prop 2022-04-30 04:25:44 +00:00
vn_physical_device.h venus: add VK_EXT_{conditional_rendering,index_type_uint8} extensions 2022-04-05 05:10:26 +00:00
vn_pipeline.c venus: Don't encode ignored pTessellationState 2022-05-17 19:47:52 +00:00
vn_pipeline.h
vn_query_pool.c
vn_query_pool.h
vn_queue.c venus: add VN_PERF option no_async_queue_submit 2022-04-26 23:49:59 +00:00
vn_queue.h
vn_render_pass.c
vn_render_pass.h
vn_renderer.h venus: store extension mask in renderer info 2022-04-09 00:19:05 +00:00
vn_renderer_internal.c
vn_renderer_internal.h
vn_renderer_util.c
vn_renderer_util.h
vn_renderer_virtgpu.c venus: store extension mask in renderer info 2022-04-09 00:19:05 +00:00
vn_renderer_vtest.c venus: store extension mask in renderer info 2022-04-09 00:19:05 +00:00
vn_ring.c
vn_ring.h
vn_wsi.c venus: use linear modifier for legacy common wsi path 2022-04-21 01:29:21 +00:00
vn_wsi.h