swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32)
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 24 Mar 2016 17:52:51 +0000 (11:52 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 25 Mar 2016 19:45:40 +0000 (14:45 -0500)
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp

index c6cf793139ccecd4e58b5c9fe657fc60e7a3e729..486dad8f04ce9c289ecb65373b74f944a6812faa 100644 (file)
@@ -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;