d3d12: Handle is_new_style_shadow comparison filtering
authorJesse Natalie <jenatali@microsoft.com>
Mon, 1 Mar 2021 21:42:21 +0000 (13:42 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Mar 2021 15:22:35 +0000 (15:22 +0000)
commit8708d32d9c941542d9483a4102a653a652dbae39
tree13e6dcbde8f3f26cbd766fcf6f6c8692950cf359
parent6db28f520121196c7ec19afa2abf91b6fe5fb2da
d3d12: Handle is_new_style_shadow comparison filtering

Note: the tex instruction is modified in place, so the correct
number of expected result components needs to be cached before
the shadow state is modified

Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9349>
src/gallium/drivers/d3d12/d3d12_nir_lower_texcmp.c