summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mesa/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/Scatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/Scatter.cpp b/lib/mesa/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/Scatter.cpp
index 925d57f5d..de8115404 100644
--- a/lib/mesa/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/Scatter.cpp
+++ b/lib/mesa/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/Scatter.cpp
@@ -39,7 +39,7 @@ extern "C" void ScatterPS_256(uint8_t* pBase, SIMD256::Integer vIndices, SIMD256
SIMD256::store_ps(src, vSrc);
SIMD256::store_si((SIMD256::Integer*)indices, vIndices);
- unsigned long index;
+ DWORD index;
while (_BitScanForward(&index, mask))
{
mask &= ~(1 << index);