swr/rast: Added comment
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 21 Feb 2018 01:24:55 +0000 (19:24 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 9 Mar 2018 15:34:55 +0000 (09:34 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp

index 67e415c..6fa60a1 100644 (file)
@@ -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));