r600g: only pick centroid coordinate when asked.
authorDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 03:29:11 +0000 (13:29 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 04:15:15 +0000 (14:15 +1000)
commit8a9f02c5d503089bdcc90ff934f6269e59356d52
treec10d9c5b29c88352d3e5e3fbf47894cffe0ebb31
parent338b3f0b90fdd6f5f6a84a7cf7cd6f3c1be65105
r600g: only pick centroid coordinate when asked.

TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though.
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h