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 67e415cdcc79557378054eb56680c72b79398991..6fa60a17d9b703f52e640f8cedb3275d915fa927 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));