radv,vulkan: add a new x11 wsi drirc workaround for DOOM Eternal
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 1 Jul 2020 06:06:09 +0000 (08:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 08:31:57 +0000 (08:31 +0000)
commitab9ecb607b88dd4610815ac254205656918e408e
tree76c4bf96d6eb748d2b6d44f7a32606b04e714414
parent311b9f25834d9ad6ad91f9eb41ec77ab71ab2a73
radv,vulkan: add a new x11 wsi drirc workaround for DOOM Eternal

DOOM Eternal happily creates a swapchain with 2 images for IMMEDIATE.
This fixes a 10% performance issue with RADV.

Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5704>
src/amd/vulkan/radv_device.c
src/util/00-mesa-defaults.conf
src/util/driconf.h
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_x11.c