From: George Kyriazis Date: Thu, 19 Apr 2018 18:15:31 +0000 (-0500) Subject: swr/rast: Fix return type of VCVTPS2PH. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a72d4c03e202cbf233a99363207f8fb05955091;p=mesa.git swr/rast: Fix return type of VCVTPS2PH. expecting <8xi16> return. Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py index bced6576443..2e7f1a88a0a 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py @@ -53,7 +53,7 @@ intrinsics = [ ['VPERMPS', ['idx', 'a'], 'a'], ['VCVTPD2PS', ['a'], 'VectorType::get(mFP32Ty, a->getType()->getVectorNumElements())'], ['VCVTPH2PS', ['a'], 'VectorType::get(mFP32Ty, a->getType()->getVectorNumElements())'], - ['VCVTPS2PH', ['a', 'round'], 'mSimdFP16Ty'], + ['VCVTPS2PH', ['a', 'round'], 'mSimdInt16Ty'], ['VHSUBPS', ['a', 'b'], 'a'], ['VPTESTC', ['a', 'b'], 'mInt32Ty'], ['VPTESTZ', ['a', 'b'], 'mInt32Ty'],