mesa/src
Emma Anholt 4514207d25 vulkan: Handle alignment failure in the pipeline cache.
On malloc failure, or more likely a passed in pDataSize < pipeline cache
data size, we should return incomplete.  Otherwise,
vk_pipeline_cache_object_serialize will assertion fail about the start not
being aligned.

Closes: #8868
Fixes: 591da98779 ("vulkan: Add a common VkPipelineCache implementation")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22700>
(cherry picked from commit bc257928d7)
2023-05-03 14:40:42 +01:00
..
amd radv: add padding to radv_shader_binary_legacy 2023-05-03 14:40:42 +01:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Add resource debugging 2023-04-07 03:23:04 +00:00
broadcom v3d: apply 1D texture miplevel alignment in arrays 2023-05-03 14:40:11 +01:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: fix constant-folding of 64-bit fpow 2023-05-03 14:40:41 +01:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl dri/android: Fix MSAA resolve 2023-05-01 09:02:30 +01:00
etnaviv ci/etnaviv: Polish the gc2000 xfails a bit. 2023-03-29 07:52:45 +00:00
freedreno ci/freedreno: fix the a530_piglit job and switch to Weston 2023-04-16 22:37:10 +01:00
gallium crocus: fix refcnt imbalance related to crocus_create_surface() 2023-05-03 14:40:42 +01:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: Fix error handling yet again in CreateContextAttribs 2023-04-06 21:29:54 +00:00
gtest
imagination pvr: fix buggy usage of unreachable() 2023-04-19 14:37:56 +01:00
imgui
intel intel/fs: fix per vertex input clamping 2023-05-01 09:02:33 +01:00
loader loader: Add Xe KMD support 2023-04-12 10:41:21 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa mesa/main: rework locale setup/teardown 2023-05-01 09:02:26 +01:00
microsoft dzn: Hook up subgroup size to compute shader compilation 2023-05-03 14:40:42 +01:00
nouveau nouveau/codegen: Check nir_dest_num_components 2023-04-26 17:37:26 +01:00
panfrost pan/decode: Print compute job payloads 2023-04-13 01:49:33 +00:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util util: check and initialize locale before using it 2023-05-01 09:02:27 +01:00
virtio llvmpipe: do late init for llvm builder 2023-04-26 17:37:26 +01:00
vulkan vulkan: Handle alignment failure in the pipeline cache. 2023-05-03 14:40:42 +01:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00