llvmpipe: we need to subdivide if fb is bigger in either direction
authorZack Rusin <zackr@vmware.com>
Tue, 24 Sep 2013 20:25:24 +0000 (16:25 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 25 Sep 2013 23:38:21 +0000 (19:38 -0400)
commit1291e833e70f79bc7fb53846c25de7309075ea10
tree3a6af94d05e25496b0ff471ae1ad4d04765cbba7
parent028b26e2efa7485fb7a5dd9be681074a36f9e442
llvmpipe: we need to subdivide if fb is bigger in either direction

We need to subdivide triangles if either of the dimensions is
larger than the max edge length, not when both of them are larger.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup.c