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

Author: Jason Ekstrand <[email protected]>
Date:   Wed Sep 30 16:54:19 2020 -0500

clover/nir: Call nir_lower_convert_alu_types

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6945>

---

 src/gallium/frontends/clover/nir/invocation.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/frontends/clover/nir/invocation.cpp 
b/src/gallium/frontends/clover/nir/invocation.cpp
index 1016557ff0d..d493201eb54 100644
--- a/src/gallium/frontends/clover/nir/invocation.cpp
+++ b/src/gallium/frontends/clover/nir/invocation.cpp
@@ -299,6 +299,8 @@ module clover::nir::spirv_to_nir(const module &mod, const 
device &dev,
       NIR_PASS_V(nir, nir_lower_vars_to_ssa);
       NIR_PASS_V(nir, nir_opt_dce);
 
+      NIR_PASS_V(nir, nir_lower_convert_alu_types, NULL);
+
       NIR_PASS_V(nir, nir_lower_system_values);
       nir_lower_compute_system_values_options sysval_options = { 0 };
       sysval_options.has_base_global_invocation_id = true;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to