diff options
author | Tim Rowley <[email protected]> | 2017-01-24 12:37:13 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-02-08 13:57:41 -0600 |
commit | b01f26e0056b6efb96d91cb769cda0ef18c0044a (patch) | |
tree | 648751394cff6645fb4f557ee7db19c5576a82f6 /src/gallium | |
parent | 8780706c62edaa8bf29b57763272d9fe29893265 (diff) |
swr: [rasterizer jitter] Multisample blend jit fix
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp index 76a58b652fd..b4a33b85cc7 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp +++ b/src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp @@ -776,9 +776,9 @@ struct BlendJit : public Builder if(state.desc.sampleMaskEnable || state.desc.alphaToCoverageEnable || state.desc.oMaskEnable) { - // load current mask + // load coverage mask Value* pMask = LOAD(ppMask); - currentMask = S_EXT(ICMP_SGT(currentMask, VBROADCAST(C(0))), mSimdInt32Ty); + currentMask = S_EXT(ICMP_UGT(currentMask, VBROADCAST(C(0))), mSimdInt32Ty); Value* outputMask = AND(pMask, currentMask); // store new mask STORE(outputMask, GEP(ppMask, C(0))); |