summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-29 23:55:29 +0100
committerDylan Baker <[email protected]>2019-09-09 09:13:04 -0700
commit9d22b0dc90f05c9d1139e499d45484f73ce0f98c (patch)
tree850395eb0e81d634917802c87352301ac5dbde62 /src
parentcb548d566de57649640abf59018516973787da9d (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]> (cherry picked from commit 037b5b567f75db2dd264b23a93abbc88305c7551)
Diffstat (limited to 'src')
-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 1777be65aa5..5b1c5220b5f 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