[Mesa-dev] [PATCH 1/9] swr/rast: Added comment
George Kyriazis
george.kyriazis at intel.com
Thu Mar 8 01:32:03 UTC 2018
---
src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp
index 67e415c..6fa60a1 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));
--
2.7.4
More information about the mesa-dev
mailing list