microsoft/spirv_to_dxil: use dxil_nir_lower_bool_input pass

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13262>
This commit is contained in:
Michael Tang
2021-10-07 16:19:55 -07:00
committed by Marge Bot
parent 36aa1a2959
commit c0e45dd882

View File

@@ -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));