summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/jitter
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2016-03-24 11:52:51 -0600
committerTim Rowley <timothy.o.rowley@intel.com>2016-03-25 14:45:40 -0500
commit74a04840e5e7213e1b317cfee63ce1e236c622fa (patch)
treeb8a7dcb1ab93cd388548672b10da756fdd711af7 /src/gallium/drivers/swr/rasterizer/jitter
parent93c1a2dedfa8b786e969a9ae44765bf6841218ef (diff)
downloadexternal_mesa3d-74a04840e5e7213e1b317cfee63ce1e236c622fa.zip
external_mesa3d-74a04840e5e7213e1b317cfee63ce1e236c622fa.tar.gz
external_mesa3d-74a04840e5e7213e1b317cfee63ce1e236c622fa.tar.bz2
swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32)
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/jitter')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
index c6cf793..486dad8 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
@@ -351,7 +351,7 @@ Value *Builder::MASKLOADD(Value* src,Value* mask)
else
{
Function *func = Intrinsic::getDeclaration(JM()->mpCurrentModule,Intrinsic::x86_avx_maskload_ps_256);
- Value* fMask = BITCAST(mask,VectorType::get(mFP32Ty,mVWidth));
+ Value* fMask = BITCAST(mask,VectorType::get(mInt32Ty,mVWidth));
vResult = BITCAST(CALL(func,{src,fMask}), VectorType::get(mInt32Ty,mVWidth));
}
return vResult;