swrast: Implement ARB_fragment_coord_conventions but don't enable.
authorEric Anholt <eric@anholt.net>
Tue, 26 Jan 2010 20:43:43 +0000 (12:43 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 26 Jan 2010 21:30:26 +0000 (13:30 -0800)
commit11c581c6ce0b09dc4203a7f93ebb8f76357f19be
tree6c1efd4a34ec21c2ffb3101a5c4828a588f0335e
parentdea98eb792b5a0637ff2067d9bfe2f666f01423e
swrast: Implement ARB_fragment_coord_conventions but don't enable.

This brings swrast's support up to the state of gallium, and fixes the
default center behavior of fragment.position.xy in piglit
fp-arb-fragment-coord-conventions-none.

The extension is not enabled currently because the GLSL part of the
extension isn't supported, so piglit
glsl-arb-fragment-coord-conventions-define fails as would any serious
test of the GLSL part.
src/mesa/swrast/s_fragprog.c