mesa/src
Lionel Landwerlin 2d08d71b1a vulkan/overlay: deal with unknown pNext structures
To implement some of the features of the layer, we need to enable some
of the feature bits at device/command_buffer creation. To do so, we
need to edit some of the structures coming from the application. Most
of those are const so we need to clone them before edition.

This change disables some of the layer features if we run into a
situation where one of the structure we need to clone is unknown such
that we can't make a copy of it (since we don't know its size).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7677
Cc: mesa-stable
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19897>
(cherry picked from commit b30a75a195)
2023-04-20 16:05:03 -07:00
..
amd radv: re-emit the guardband state when related PSO are bound 2023-04-20 16:05:03 -07:00
android_stub
asahi agx: Don't crash trying to encoding minifloats 2023-01-11 21:14:21 +00:00
broadcom v3dv: ensure we apply binning syncs to secondary command buffers 2023-02-07 14:23:33 -08:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: avoid generating conflicting output variables 2023-04-04 15:56:12 -07:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl egl: fix memory leak related to _eglRefreshDeviceList() 2023-04-20 16:05:01 -07:00
etnaviv etnaviv: drm: fix check if BO is on a deferred destroy list 2023-01-31 10:29:04 -08:00
freedreno tu: Use vk_features2_to_features 2023-04-20 16:05:01 -07:00
gallium r600: fix refcnt imbalance related to evergreen_set_shader_images() 2023-04-20 16:05:03 -07:00
gbm gbm/backend: fix gbm compile without dri 2023-02-16 09:10:45 -08:00
getopt
glx glx: Fix glXGetFBConfigFromVisualSGIX 2023-03-20 11:49:41 -07:00
gtest
hgl
imagination pvr: Remove PVR_STATIC_CLEAR_.*_BIT and use VkImageAspectFlags. 2023-01-04 16:30:39 +00:00
imgui
intel intel/fs: use nomask for setting cr0 for float controls 2023-04-20 16:05:01 -07:00
loader loader: do not check the mesa DRI_Mesa version if it was not found 2023-02-22 10:12:12 -08:00
mapi glapi/meson: drop duplicate line in deps 2023-02-28 09:48:59 -08:00
mesa mesa/st: Only set seamless for GLES3 2023-04-20 16:05:02 -07:00
microsoft dzn: Don't use write-combine memory for cache-coherent UMA 2023-04-20 16:05:00 -07:00
nouveau nir: Eliminate nir_op_i2b 2022-12-14 06:23:21 +00:00
panfrost mesa/st: Only set seamless for GLES3 2023-04-20 16:05:02 -07:00
tool pps: Fix build errors. 2023-03-27 14:06:52 -07:00
util util/00-mesa-defaults: add Akka Arrh workaround 2023-04-03 15:47:22 -07:00
virtio venus: fix VK_EXT_image_view_min_lod feature query 2023-03-15 13:04:22 -07:00
vulkan vulkan/overlay: deal with unknown pNext structures 2023-04-20 16:05:03 -07:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00