diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/00-mesa-defaults.conf | 1 | ||||
-rw-r--r-- | src/util/xmlpool/t_options.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index e5f333942b7..8702a317d79 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -503,6 +503,7 @@ TODO: document the other workarounds. <application name="gfxbench" executable="testfw_app"> <option name="vk_x11_override_min_image_count" value="2" /> + <option name="vk_wsi_force_bgra8_unorm_first" value="true" /> </application> <!-- Gallium Nine workarounds: --> diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index fe186c1fa79..1d8ea07ebdd 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -225,6 +225,11 @@ DRI_CONF_OPT_BEGIN_B(adaptive_sync,def) \ DRI_CONF_DESC(en,gettext("Adapt the monitor sync to the application performance (when possible)")) \ DRI_CONF_OPT_END +#define DRI_CONF_VK_WSI_FORCE_BGRA8_UNORM_FIRST(def) \ +DRI_CONF_OPT_BEGIN_B(vk_wsi_force_bgra8_unorm_first, def) \ + DRI_CONF_DESC(en,gettext("Force vkGetPhysicalDeviceSurfaceFormatsKHR to return VK_FORMAT_B8G8R8A8_UNORM as the first format")) \ +DRI_CONF_OPT_END + #define DRI_CONF_VK_X11_OVERRIDE_MIN_IMAGE_COUNT(def) \ DRI_CONF_OPT_BEGIN_V(vk_x11_override_min_image_count, int, def, "0:999") \ DRI_CONF_DESC(en,gettext("Override the VkSurfaceCapabilitiesKHR::minImageCount (0 = no override)")) \ |