vulkan: pick the surface format with the highest depth
Rather than the first compatible surface format. No idea if this makes sense, but it's definitely something we can do.
We might also want to assign a score based on the actual transfer function being used.
Merge request reports
Activity
Filter activity
added enhancement help wanted vulkan labels
added 21 commits
-
a24c7dda...3b528417 - 20 commits from branch
master
- ad72fc6f - vulkan: improve surface format selection logic
-
a24c7dda...3b528417 - 20 commits from branch
enabled an automatic merge when the pipeline for ad72fc6f succeeds
Looking at the surface formats defined by implementations in the vulkan gpuinfo database, it definitely does seem to be the case that some platforms have both unorm10 and float16, and in this case, we most likely want to prefer unorm10. While rewriting this logic to use a score rather than just looking at the depth, I decided to also add in support for prioritizing HDR over SDR.
Please register or sign in to reply