From: George Kyriazis Date: Wed, 21 Feb 2018 01:24:55 +0000 (-0600) Subject: swr/rast: Added comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d78b28fc335059b058ce7e97c19302c254d1630c;p=mesa.git swr/rast: Added comment Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp index 67e415cdcc7..6fa60a17d9b 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp +++ b/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp @@ -137,6 +137,7 @@ namespace SwrJit } else { + // maskload intrinsic expects integer mask operand in llvm >= 3.8 mask = BITCAST(mask, VectorType::get(mInt32Ty, mVWidth)); Function *func = Intrinsic::getDeclaration(JM()->mpCurrentModule, Intrinsic::x86_avx_maskload_ps_256); vResult = BITCAST(CALL(func, { src,mask }), VectorType::get(mInt32Ty, mVWidth));