mesa/src
Victor Hermann Chiletto 28264dd5c9 radv: always check entry count in descriptor pool when allocating
Previously this check was skipped for pools with
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT unset, but after
96a240e1 we need to check this otherwise we risk overflowing
radv_descriptor_pool::entries into the host memory base

This fixes a crash to desktop when launching Dota 2, which overallocates
descriptor sets and expects an error to allocate another descriptor pool

Fixes: 96a240e176 ("radv: fix memory leak of descriptor set layout")

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16490>
(cherry picked from commit 580046e49f)
2022-05-13 10:06:04 -07:00
..
amd radv: always check entry count in descriptor pool when allocating 2022-05-13 10:06:04 -07:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi asahi: Port driver to macOS 12.x ABI 2022-03-22 00:19:30 +00:00
broadcom v3dv: Add emulated timeline semaphore support 2022-04-13 17:22:14 +00:00
compiler nir/opt_algebraic: Fix mask in shift by constant combining. 2022-05-10 21:23:14 -07:00
drm-shim drm-shim: Implement a shim function for close 2022-04-12 10:01:39 +00:00
egl egl/kopper: Hook up eglSwapInterval 2022-05-05 14:05:37 -04:00
etnaviv ci: update various ci result files 2022-03-11 09:58:28 +00:00
freedreno tu: Fix indices of drm_msm_gem_submit_cmd when filling them 2022-05-13 10:06:01 -07:00
gallium zink: remove implicit query resets 2022-05-13 10:06:02 -07:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/kopper: Enable GLX_EXT_swap_control etc. 2022-05-05 14:05:37 -04:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imagination pvr: Implement vkCreateQueryPool() and vkDestroyQueryPool(). 2022-04-13 17:58:03 +00:00
imgui
intel anv: disable streamout before emitting mesh shading state 2022-05-13 10:06:04 -07:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi glthread: call _mesa_glthread_BindBuffer unconditionally 2022-02-01 06:11:22 +00:00
mesa st/draw_feedback: set constant buffer stride 2022-05-10 21:23:14 -07:00
microsoft microsoft/compiler: Unload DXIL validator library *after* calling Release() 2022-05-02 10:46:35 -07:00
nouveau
panfrost pan/mdg: Fix multiple spilt writes in the same bundle 2022-05-10 21:23:14 -07:00
tool pps: Open writable renderer node in DrmDevice::create 2022-05-13 10:05:22 -07:00
util util: Keep quiet NaNs quiet when converting to half float. 2022-05-03 09:41:32 -07:00
virtio venus: prepare and feed renderer protocol info into cs 2022-04-09 00:19:05 +00:00
vulkan vulkan/wsi/x11: Ensure we have the required number of images for acquire. 2022-05-10 20:08:49 -07:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00