summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-02-08 13:18:59 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2017-02-09 10:18:34 +0100
commit7b5834ff5489e8e1045c0b208c82a3c3f9211d27 (patch)
tree330adefdfaa15877619373ec6b340c2bc5904c47
parentb115407d75cdde7ee67066f3956b3f43187b3edc (diff)
i965/fs: Add support for nir_op_[iu]642f
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660 Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index a0636596318..f0ab285f6ed 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -689,6 +689,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
case nir_op_d2f:
case nir_op_d2i:
case nir_op_d2u:
+ case nir_op_i642f:
+ case nir_op_u642f:
if (instr->op == nir_op_b2i64) {
bld.MOV(result, negate(op[0]));
} else {