Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
On 15/02/17 08:26, Dave Airlie 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:
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev