[Mesa-dev] [Bug 106528] radv doesn't support VK_FORMAT_D24_UNORM_S8_UINT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 8 20:11:28 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106528

--- Comment #7 from Roland Scheidegger <sroland at vmware.com> ---
FWIW (not talking specifically about vulkan here) not supporting d24unorm may
not be much of a problem for ordinary apps as you can use d32f instead and
adapt your code to it. But if you're translating from some other APIs and you
have to emulate it, it's not actually all that easy to emulate faithfully if
you have no idea what the app is actually doing, since depth bias works a bit
differently for unorm vs float formats. As far as I know the only way to
emulate this somewhat accurately (of course the results still won't be 100%
identical due to different precision) is to apply the depth bias (the constant
part, not the slope scale part) in the fragment shader manually, which is of
course rather a pain and probably quite suboptimal from a performance point of
view (even if the hw actually might allow configuring how depth bias works
independently from the actual format, but if it isn't exposed that doesn't
help).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180608/f4cff1af/attachment.html>


More information about the mesa-dev mailing list