radv: Add adaptive_sync driconfig option and enable it by default.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 16 Apr 2019 23:51:10 +0000 (01:51 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 23 Apr 2019 23:49:39 +0000 (23:49 +0000)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c

index f44b6842c2ec9259c32676ec8e2447b5990bd7b4..5d5bfb1df24b96c58ae6c9640880a6f293434d32 100644 (file)
@@ -523,6 +523,9 @@ static int radv_get_instance_extension_index(const char *name)
 
 static const char radv_dri_options_xml[] =
 DRI_CONF_BEGIN
+       DRI_CONF_SECTION_QUALITY
+               DRI_CONF_ADAPTIVE_SYNC("true")
+       DRI_CONF_SECTION_END
 DRI_CONF_END;
 
 static void  radv_init_dri_options(struct radv_instance *instance)