r600g: set hardware pixel centers according to gl_rasterization_rules
authorKeith Whitwell <keithw@vmware.com>
Sun, 17 Oct 2010 18:45:49 +0000 (11:45 -0700)
committerKeith Whitwell <keithw@vmware.com>
Wed, 3 Nov 2010 09:36:01 +0000 (09:36 +0000)
commitc3974dc837b4a11a30603bb00fa1d346e721af59
treefac5924eb1b1d003f6405f090bb6225b92f1cc8c
parent7b120ceac8738b73dcffe4d39e3e32b473dea3cf
r600g: set hardware pixel centers according to gl_rasterization_rules

These were previously being left in the default (D3D) mode.  This mean
that triangles were drawn slightly incorrectly, but also because this
state is relied on by the u_blitter code, all blits were half a pixel
off.
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600d.h
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600d.h