[Mesa-dev] [PATCH v3 33/44] i965/fs/nir: check that fdot*_{rtne, rtz} was properly lowered

Samuel Iglesias Gonsálvez siglesias at igalia.com
Wed Feb 6 10:45:02 UTC 2019


Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
 src/intel/compiler/brw_fs_nir.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp
index ef1ed9b7f0a..9dacff9785b 100644
--- a/src/intel/compiler/brw_fs_nir.cpp
+++ b/src/intel/compiler/brw_fs_nir.cpp
@@ -1200,6 +1200,12 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
    case nir_op_fdot2:
    case nir_op_fdot3:
    case nir_op_fdot4:
+   case nir_op_fdot2_rtne:
+   case nir_op_fdot3_rtne:
+   case nir_op_fdot4_rtne:
+   case nir_op_fdot2_rtz:
+   case nir_op_fdot3_rtz:
+   case nir_op_fdot4_rtz:
    case nir_op_b32all_fequal2:
    case nir_op_b32all_iequal2:
    case nir_op_b32all_fequal3:
-- 
2.19.1



More information about the mesa-dev mailing list