swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility functions
authorJan Zielinski <jan.zielinski@intel.com>
Tue, 23 Jul 2019 10:31:35 +0000 (12:31 +0200)
committerJan Zielinski <jan.zielinski@intel.com>
Tue, 23 Jul 2019 19:55:09 +0000 (21:55 +0200)
Reviewed-by: Alok Hota <alok.hota@intel.com>
src/gallium/drivers/swr/rasterizer/core/format_conversion.h

index ce908099e33fdf059f6fc89d5b48ad60801bb1ba..247ba0b0dcd90f44bc2fdf703e159652873f1491 100644 (file)
@@ -139,7 +139,7 @@ INLINE Float<SIMD_T> SIMDCALL Clamp(Float<SIMD_T> const& v, uint32_t Component)
 }
 
 template <SWR_FORMAT Format>
-INLINE simd16scalar SIMDCALL Clamp(simdscalar const& v, uint32_t Component)
+INLINE simdscalar SIMDCALL Clamp(simdscalar const& v, uint32_t Component)
 {
     return Clamp<SIMD256, Format>(v, Component);
 }
@@ -168,7 +168,7 @@ INLINE Float<SIMD_T> SIMDCALL Normalize(Float<SIMD_T> const& vComp, uint32_t Com
 }
 
 template <SWR_FORMAT Format>
-INLINE simd16scalar SIMDCALL Normalize(simdscalar const& vComp, uint32_t Component)
+INLINE simdscalar SIMDCALL Normalize(simdscalar const& vComp, uint32_t Component)
 {
     return Normalize<SIMD256, Format>(vComp, Component);
 }