diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-08 13:26:43 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-09 10:18:34 +0100 |
commit | 7ab26613dbe7e917f823d16c5edca2d14dd21d13 (patch) | |
tree | f71ac3afdb32c553472d2f2e45a2c6409efc6558 /src/mesa/drivers | |
parent | 7b5834ff5489e8e1045c0b208c82a3c3f9211d27 (diff) |
i965/fs: Add support for nir_op_[iu]2[iu]32
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]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 4 |
1 files changed, 4 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 f0ab285f6ed..76887a9e3eb 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -691,6 +691,10 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr) case nir_op_d2u: case nir_op_i642f: case nir_op_u642f: + case nir_op_u2i32: + case nir_op_i2i32: + case nir_op_u2u32: + case nir_op_i2u32: if (instr->op == nir_op_b2i64) { bld.MOV(result, negate(op[0])); } else { |