summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-29 23:55:29 +0100
committerEric Engestrom <[email protected]>2019-09-06 23:16:05 +0100
commit037b5b567f75db2dd264b23a93abbc88305c7551 (patch)
tree19e4342ae7b7e7088e9fbaaf564af8e8108d7e69
parenta72cdd00abd5f3c18df01acc60bf3b385facfdb6 (diff)
anv: add support for vk_x11_override_min_image_count
Cc: [email protected] Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 3363c8fa791..77361f8f631 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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