-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chose format from supported ones that we support #47640
Conversation
9d64d47
to
d06829a
Compare
Note that besides adding more formats to the supported formats list we may wish to order this list from the formats we wish to use and swap the two for loops around. This way we determine priority, not the Vulkan driver which may turn out to just return the list in value order. edit I'm going to swap the order, hang on |
d06829a
to
4881581
Compare
I confirm that this fixes the issue for me with both Intel HD 630 and Radeon RX Vega M running on Mesa 21.1. |
4881581
to
ceebe4b
Compare
One footnote after discussions with Reduz, we expect most if not all GPUs support If Same if someone runs into |
Thanks! |
Check the available formats against formats we support to choose the first match. Basically we want to skip sRGB formats as we're doing the linear -> sRGB color correction ourselves. sRGB formats will do a hardware conversion which doubles this and causes the screen to look washed out.
We may wish to add more supported formats.
This may fix #47585