dzn: Support aniso-with-point-mip samplers
authorJesse Natalie <jenatali@microsoft.com>
Thu, 20 Apr 2023 17:38:49 +0000 (10:38 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 21:02:15 +0000 (21:02 +0000)
commit31ced4c5ad2efcbaf70357c2ef42eeae15caafcb
tree6d974380c296fc664ace9631dce2fbbb396da6ec
parent4e2c5ba10075b3527904a98aea501f87acd2fff7
dzn: Support aniso-with-point-mip samplers

Also rework the sampler translation logic to take advantage of the
fact that the D3D12 filter types are bitfields. No need to loop over
a sparse enum space like we were doing.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22606>
src/microsoft/vulkan/dzn_device.c
src/microsoft/vulkan/dzn_private.h
src/microsoft/vulkan/dzn_util.c