d3d12, dozen: make sure we pass float to fge
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 23 May 2023 10:23:51 +0000 (12:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 5 Jun 2023 13:40:07 +0000 (13:40 +0000)
commit57260a836a1ffb4fc8b8e524a947a7302c7e0517
tree76bac29c50e9d3e94422d008aafcafdfe6afb397
parent817be4b86074ba589da32b31939d4f4ef47998df
d3d12, dozen: make sure we pass float to fge

This doesn't matter much in practice, because the integer an float
representations of zero are the same. But it's easier to understand
what's going on if the correct type is used, so let's clean this up.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23393>
src/gallium/drivers/d3d12/d3d12_gs_variant.cpp
src/microsoft/vulkan/dzn_nir.c