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

Author: Pedro J. Estébanez <[email protected]>
Date:   Mon Oct 17 13:34:05 2022 +0200

nir2dxil: Lower texture projections

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19115>

---

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

diff --git a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c 
b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
index bd77dd8aff9..1681318ed90 100644
--- a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
+++ b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
@@ -726,6 +726,7 @@ dxil_spirv_nir_passes(nir_shader *nir,
 
    NIR_PASS_V(nir, nir_lower_readonly_images_to_tex, true);
    nir_lower_tex_options lower_tex_options = {
+      .lower_txp = UINT32_MAX,
       .lower_invalid_implicit_lod = true,
    };
    NIR_PASS_V(nir, nir_lower_tex, &lower_tex_options);

Reply via email to