<div dir="ltr">NAKish... I specifically put them in that order to *cause* talos to break.  If we're going to support both UNORM and sRGB, then applications need to look at the formats they're getting and pick one intelligently rather than just using the first thing they find (which Talos does) especially if that app does their own gamma curvs.  Apps that just grab the first thing they find probably "want" sRGB encoding done for them.  I've talked to the guys at croteam and there is a Talos update in the pipe that fixes this.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 16, 2016 at 9:24 PM, Dave Airlie <span dir="ltr"><<a href="mailto:airlied@gmail.com" target="_blank">airlied@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
<br>
This prevents a Talos regression before radv<br>
starts using shared WSI.<br>
---<br>
 src/vulkan/wsi/wsi_common_x11.<wbr>c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/vulkan/wsi/wsi_common_<wbr>x11.c b/src/vulkan/wsi/wsi_common_<wbr>x11.c<br>
index b5832c6..241ef42 100644<br>
--- a/src/vulkan/wsi/wsi_common_<wbr>x11.c<br>
+++ b/src/vulkan/wsi/wsi_common_<wbr>x11.c<br>
@@ -135,8 +135,8 @@ wsi_x11_get_connection(struct wsi_device *wsi_dev,<br>
 }<br>
<br>
 static const VkSurfaceFormatKHR formats[] = {<br>
-   { .format = VK_FORMAT_B8G8R8A8_SRGB, },<br>
    { .format = VK_FORMAT_B8G8R8A8_UNORM, },<br>
+   { .format = VK_FORMAT_B8G8R8A8_SRGB, },<br>
 };<br>
<br>
 static const VkPresentModeKHR present_modes[] = {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.5.5<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>