[Mesa-dev] [PATCH 5/7] i965/fs: Add support for nir_op_[iu]2[iu]32
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Wed Feb 8 15:19:34 UTC 2017
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
On 08/02/17 14:58, Samuel Iglesias Gonsálvez wrote:
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660
> ---
> src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 4 ++++
> 1 file changed, 4 insertions(+)
>
> 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 {
More information about the mesa-dev
mailing list