diff options
author | George Kyriazis <[email protected]> | 2018-02-20 19:24:55 -0600 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-03-09 09:34:55 -0600 |
commit | d78b28fc335059b058ce7e97c19302c254d1630c (patch) | |
tree | 57139e0f24ac9e47ff33c498e12f8e9c1b0344a1 /src/gallium/drivers | |
parent | e903a7b0bbcadc8911e1b32addd6186acd548809 (diff) |
swr/rast: Added comment
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |