Module: Mesa
Branch: master
Commit: ec4a5f5e1388155a45b083e5de3143a6ed635127
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec4a5f5e1388155a45b083e5de3143a6ed635127

Author: Jan Zielinski <[email protected]>
Date:   Tue Jul 23 12:31:35 2019 +0200

swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility 
functions

Reviewed-by: Alok Hota <[email protected]>

---

 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 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<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);
 }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to