Mesa (main): d3d12: Use DXIL load/store lowering pass

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 28 00:22:18 UTC 2021


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

Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Wed Dec 22 11:54:40 2021 -0800

d3d12: Use DXIL load/store lowering pass

Reviewed-by: Sil Vilerino <sivileri at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14294>

---

 src/gallium/drivers/d3d12/d3d12_compiler.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/d3d12/d3d12_compiler.cpp b/src/gallium/drivers/d3d12/d3d12_compiler.cpp
index eb528a0fdf4..d8c702fa6dc 100644
--- a/src/gallium/drivers/d3d12/d3d12_compiler.cpp
+++ b/src/gallium/drivers/d3d12/d3d12_compiler.cpp
@@ -173,6 +173,7 @@ compile_nir(struct d3d12_context *ctx, struct d3d12_shader_selector *sel,
    NIR_PASS_V(nir, d3d12_lower_load_first_vertex);
    NIR_PASS_V(nir, d3d12_lower_state_vars, shader);
    NIR_PASS_V(nir, dxil_nir_lower_bool_input);
+   NIR_PASS_V(nir, dxil_nir_lower_loads_stores_to_dxil);
 
    struct nir_to_dxil_options opts = {};
    opts.interpolate_at_vertex = screen->have_load_at_vertex;



More information about the mesa-commit mailing list