summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-14 13:29:11 +1000
committerDave Airlie <airlied@redhat.com>2010-10-14 14:15:15 +1000
commit8a9f02c5d503089bdcc90ff934f6269e59356d52 (patch)
treec10d9c5b29c88352d3e5e3fbf47894cffe0ebb31 /src/gallium/drivers/r600/r600_shader.h
parent338b3f0b90fdd6f5f6a84a7cf7cd6f3c1be65105 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index 6e2620f201..a341cca083 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -31,6 +31,7 @@ struct r600_shader_io {
unsigned done;
int sid;
unsigned interpolate;
+ boolean centroid;
};
struct r600_shader {