llvmpipe: Respect bottom_edge_rule when computing the rasterization bounding boxes.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 7 Jan 2014 17:52:21 +0000 (17:52 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Jan 2014 12:18:17 +0000 (12:18 +0000)
commit37de6b06821b208920ccf6fb99fbc727d0344004
tree8dbdae889c87d1e5e0da812ef066e42b8fc8e2bc
parent76edf44f9ed7ea8d8e8f44d0d01b5ed26606903e
llvmpipe: Respect bottom_edge_rule when computing the rasterization bounding boxes.

This was inadvertently forgotten when replacing gl_rasterization_rules
with lower_left_origin and half_pixel_center (commit
2737abb44efebfa10ac84b183c20fc5818d1514e).

This makes a difference when lower_left_origin != half_pixel_center, e.g,
D3D10.

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