From ec4a5f5e1388155a45b083e5de3143a6ed635127 Mon Sep 17 00:00:00 2001 From: Jan Zielinski Date: Tue, 23 Jul 2019 12:31:35 +0200 Subject: [PATCH] swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility functions Reviewed-by: Alok Hota --- src/gallium/drivers/swr/rasterizer/core/format_conversion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/core/format_conversion.h b/src/gallium/drivers/swr/rasterizer/core/format_conversion.h index ce90809..247ba0b 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); } -- 2.7.4