OSDN Git Service

llvmpipe: Fix the bottom_edge_rule adjustment for points.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 7 Jan 2014 17:57:59 +0000 (17:57 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Jan 2014 12:18:17 +0000 (12:18 +0000)
commiteda21d2a3010d9fc5a68b55a843c5e44b2abf8dd
tree58520caafb414829acc18187483bf12b44be4691
parent37de6b06821b208920ccf6fb99fbc727d0344004
llvmpipe: Fix the bottom_edge_rule adjustment for points.

The adjustment needs to be applied to the y coordinates and not the x
coordinates, just like the equivalent code for lines and triangles in
lp_setup_line.c and lp_setup_tri.c.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_point.c