anv: add support for vk_x11_override_min_image_count
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 29 Aug 2019 22:55:29 +0000 (23:55 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 6 Sep 2019 22:16:05 +0000 (23:16 +0100)
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c

index 3363c8fa791b45b559e65366cf3dbefa54c69564..77361f8f6315a40760af7d3186f84029dfc4d5e4 100644 (file)
@@ -50,6 +50,9 @@
 
 static const char anv_dri_options_xml[] =
 DRI_CONF_BEGIN
+   DRI_CONF_SECTION_PERFORMANCE
+      DRI_CONF_VK_X11_OVERRIDE_MIN_IMAGE_COUNT(0)
+   DRI_CONF_SECTION_END
 DRI_CONF_END;
 
 /* This is probably far to big but it reflects the max size used for messages