Oops... R-b

On Feb 15, 2017 12:27 AM, "Dave Airlie" <airl...@gmail.com> wrote:

> From: Dave Airlie <airl...@redhat.com>
>
> This was falling into the quantizetof16 path.
>
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> ---
>  src/compiler/spirv/vtn_alu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c
> index 55f7f2e..0738fe0 100644
> --- a/src/compiler/spirv/vtn_alu.c
> +++ b/src/compiler/spirv/vtn_alu.c
> @@ -286,8 +286,8 @@ vtn_nir_alu_op_for_spirv_opcode(SpvOp opcode, bool
> *swap,
>
>     /* Conversions: */
>     case SpvOpBitcast:               return nir_op_imov;
> -   case SpvOpUConvert:
>     case SpvOpQuantizeToF16:         return nir_op_fquantize2f16;
> +   case SpvOpUConvert:
>     case SpvOpConvertFToU:
>     case SpvOpConvertFToS:
>     case SpvOpConvertSToF:
> --
> 2.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to