From: Jan Zielinski Date: Tue, 23 Jul 2019 10:31:35 +0000 (+0200) Subject: swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec4a5f5e1388155a45b083e5de3143a6ed635127;p=mesa.git swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility functions Reviewed-by: Alok Hota --- diff --git a/src/gallium/drivers/swr/rasterizer/core/format_conversion.h b/src/gallium/drivers/swr/rasterizer/core/format_conversion.h index ce908099e33..247ba0b0dcd 100644 --- a/src/gallium/drivers/swr/rasterizer/core/format_conversion.h +++ b/src/gallium/drivers/swr/rasterizer/core/format_conversion.h @@ -139,7 +139,7 @@ INLINE Float SIMDCALL Clamp(Float const& v, uint32_t Component) } template -INLINE simd16scalar SIMDCALL Clamp(simdscalar const& v, uint32_t Component) +INLINE simdscalar SIMDCALL Clamp(simdscalar const& v, uint32_t Component) { return Clamp(v, Component); } @@ -168,7 +168,7 @@ INLINE Float SIMDCALL Normalize(Float const& vComp, uint32_t Com } template -INLINE simd16scalar SIMDCALL Normalize(simdscalar const& vComp, uint32_t Component) +INLINE simdscalar SIMDCALL Normalize(simdscalar const& vComp, uint32_t Component) { return Normalize(vComp, Component); }