summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJan Zielinski <[email protected]>2019-07-23 12:31:35 +0200
committerJan Zielinski <[email protected]>2019-07-23 21:55:09 +0200
commitec4a5f5e1388155a45b083e5de3143a6ed635127 (patch)
tree3bda31aa93a1bd3228743219a08fa070cd108eb8 /src/gallium
parent47cdb0ac2773c13bcd33388a8e7b351e67efaedf (diff)
swr/rasterizer: Fix return type on SIMD8 version of Clamp and Normalize utility functions
Reviewed-by: Alok Hota <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/format_conversion.h4
1 files 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);
}