svga: fix pixel center integer
authorBrian Paul <brianp@vmware.com>
Mon, 30 Sep 2013 15:47:31 +0000 (09:47 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Oct 2013 00:50:37 +0000 (18:50 -0600)
commit1d05caf9f2b27b1af4424ebd66584ab2b25025a5
tree41860c3ab52d4e1b41d3c6e420bb798d1b97d164
parent360610c89efa62c869ffbe32c050b0fb86525ffe
svga: fix pixel center integer

The svga/d3d9 convention is that pixel centers are at integer coordinates.
Fixes piglit glsl-arb-fragment-coord-conventions test.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_screen.c