summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_gradient.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-03 20:52:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-12-03 20:53:20 +0900
commitf88333326ff397647882959c60fb50456ee18799 (patch)
tree5175418a54c8e29ac9a0b1fbaf1aaa2aabb3601b /src/lib/ector/software/ector_software_gradient.c
parentc09199f0e036a4abb806dbc9fca4960316ecdd08 (diff)
Ector: Fix Windows build (missed in previous patch)
Diffstat (limited to '')
-rw-r--r--src/lib/ector/software/ector_software_gradient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ector/software/ector_software_gradient.c b/src/lib/ector/software/ector_software_gradient.c
index 5472becfad..ea1b4a2295 100644
--- a/src/lib/ector/software/ector_software_gradient.c
+++ b/src/lib/ector/software/ector_software_gradient.c
@@ -78,8 +78,8 @@ typedef union { __m128 v; float f[4];} vec4_f;
78 __m128 v_min = _mm_set1_ps(0.0f); \ 78 __m128 v_min = _mm_set1_ps(0.0f); \
79 __m128 v_max = _mm_set1_ps((float)(GRADIENT_STOPTABLE_SIZE-1)); \ 79 __m128 v_max = _mm_set1_ps((float)(GRADIENT_STOPTABLE_SIZE-1)); \
80 __m128 v_halff = _mm_set1_ps(0.5f); \ 80 __m128 v_halff = _mm_set1_ps(0.5f); \
81 __m128i v_repeat_mask = _mm_set1_epi32(~((uint)(0xffffff) << GRADIENT_STOPTABLE_SIZE_SHIFT)); \ 81 __m128i v_repeat_mask = _mm_set1_epi32(~((uint32_t)(0xffffff) << GRADIENT_STOPTABLE_SIZE_SHIFT)); \
82 __m128i v_reflect_mask = _mm_set1_epi32(~((uint)(0xffffff) << (GRADIENT_STOPTABLE_SIZE_SHIFT+1))); \ 82 __m128i v_reflect_mask = _mm_set1_epi32(~((uint32_t)(0xffffff) << (GRADIENT_STOPTABLE_SIZE_SHIFT+1))); \
83 __m128i v_reflect_limit = _mm_set1_epi32(2 * GRADIENT_STOPTABLE_SIZE - 1); 83 __m128i v_reflect_limit = _mm_set1_epi32(2 * GRADIENT_STOPTABLE_SIZE - 1);
84 84
85#define FETCH_CLAMP_REPEAT_F \ 85#define FETCH_CLAMP_REPEAT_F \