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

Author: Dave Airlie <[email protected]>
Date:   Mon Oct 26 13:55:36 2020 +1000

gallivm/nir: lower dot products.

The nir lowering should suffice

Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7595>

---

 src/gallium/drivers/llvmpipe/lp_screen.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c 
b/src/gallium/drivers/llvmpipe/lp_screen.c
index f133bbf8a4d..6a2a421bdd8 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -548,6 +548,8 @@ static const struct nir_shader_compiler_options 
gallivm_nir_options = {
    .lower_bitfield_insert_to_shifts = true,
    .lower_bitfield_extract_to_shifts = true,
    .lower_sub = true,
+   .lower_fdot = true,
+   .lower_fdph = true,
    .lower_ffma16 = true,
    .lower_ffma32 = true,
    .lower_ffma64 = true,

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

Reply via email to