diff options
author | Tim Rowley <[email protected]> | 2016-03-24 11:52:51 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-03-25 14:45:40 -0500 |
commit | 74a04840e5e7213e1b317cfee63ce1e236c622fa (patch) | |
tree | b8a7dcb1ab93cd388548672b10da756fdd711af7 | |
parent | 93c1a2dedfa8b786e969a9ae44765bf6841218ef (diff) |
swr: [rasterizer jitter] Fix MASKLOADD AVX prototype (float -> i32)
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp | 2 |
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 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; |