Mesa (main): microsoft/spirv_to_dxil: use dxil_nir_lower_bool_input pass

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 8 17:31:48 UTC 2021


Module: Mesa
Branch: main
Commit: c0e45dd88233872e1898c25f1a2c45e58873f3bb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0e45dd88233872e1898c25f1a2c45e58873f3bb

Author: Michael Tang <tangm at microsoft.com>
Date:   Thu Oct  7 16:19:55 2021 -0700

microsoft/spirv_to_dxil: use dxil_nir_lower_bool_input pass

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13262>

---

 src/microsoft/spirv_to_dxil/spirv_to_dxil.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/microsoft/spirv_to_dxil/spirv_to_dxil.c b/src/microsoft/spirv_to_dxil/spirv_to_dxil.c
index 1c392e2d3ea..36bb65ff26a 100644
--- a/src/microsoft/spirv_to_dxil/spirv_to_dxil.c
+++ b/src/microsoft/spirv_to_dxil/spirv_to_dxil.c
@@ -290,6 +290,7 @@ spirv_to_dxil(const uint32_t *words, size_t word_count,
    NIR_PASS_V(nir, dxil_nir_split_clip_cull_distance);
    NIR_PASS_V(nir, dxil_nir_lower_loads_stores_to_dxil);
    NIR_PASS_V(nir, dxil_nir_create_bare_samplers);
+   NIR_PASS_V(nir, dxil_nir_lower_bool_input);
 
    nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
 



More information about the mesa-commit mailing list