From: Tim Rowley Date: Thu, 24 Mar 2016 17:52:51 +0000 (-0600) Subject: swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74a04840e5e7213e1b317cfee63ce1e236c622fa;p=mesa.git swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32) --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp index c6cf793139c..486dad8f04c 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;