This commit is contained in:
Ryan Oldenburg 2021-02-11 14:40:30 -06:00
parent 50a4687d67
commit abbcc717cd

View file

@ -668,7 +668,8 @@ proc drawUber(
else: else:
var x = xMin var x = xMin
when defined(amd64) and not defined(pixieNoSimd): when defined(amd64) and not defined(pixieNoSimd):
if dx.y == 0 and dy.x == 0 and blendMode.hasSimdBlender(): if blendMode.hasSimdBlender():
if dx.x == 1 and dx.y == 0 and dy.x == 0 and dy.y == 1:
# Check we are not rotated before using SIMD blends # Check we are not rotated before using SIMD blends
let blenderSimd = blendMode.blenderSimd() let blenderSimd = blendMode.blenderSimd()
for _ in countup(x, xMax - 4, 4): for _ in countup(x, xMax - 4, 4):