llvmpipe: avoid left-shifting a negative number.
authorMaya Rashish <coypu@sdf.org>
Tue, 3 Sep 2019 10:04:15 +0000 (13:04 +0300)
committerMatt Turner <mattst88@gmail.com>
Wed, 9 Oct 2019 20:20:40 +0000 (20:20 +0000)
commite0d89b90d430e44e08210937558ccbc7701da4ae
tree6a3c7417210a5cfda87189701eafa0cd7c347fd1
parent962aca19105dc9b443a62b460b114c1b5f995164
llvmpipe: avoid left-shifting a negative number.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Maya Rashish <coypu@sdf.org>
src/gallium/drivers/llvmpipe/lp_setup_line.c
src/gallium/drivers/llvmpipe/lp_setup_point.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c