summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_shader_semantics.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2009-12-24 03:10:33 +0100
committerCorbin Simpson <[email protected]>2010-01-06 12:49:15 -0800
commitbf60eb3fec844a7c3793aba0c70da56b74a17344 (patch)
tree3fd46844a6fb0ee0d1b7a9bf60e54512929a0382 /src/gallium/drivers/r300/r300_shader_semantics.h
parentdc7f309f9c4562e367bb18a2eb3d1dcf67003cad (diff)
r300g: add WPOS
Diffstat (limited to 'src/gallium/drivers/r300/r300_shader_semantics.h')
-rw-r--r--src/gallium/drivers/r300/r300_shader_semantics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_shader_semantics.h b/src/gallium/drivers/r300/r300_shader_semantics.h
index 85184e2cfd7..6796841b29b 100644
--- a/src/gallium/drivers/r300/r300_shader_semantics.h
+++ b/src/gallium/drivers/r300/r300_shader_semantics.h
@@ -40,6 +40,7 @@ struct r300_shader_semantics {
int bcolor[ATTR_COLOR_COUNT];
int generic[ATTR_GENERIC_COUNT];
int fog;
+ int wpos;
};
static INLINE void r300_shader_semantics_reset(
@@ -50,6 +51,7 @@ static INLINE void r300_shader_semantics_reset(
info->pos = ATTR_UNUSED;
info->psize = ATTR_UNUSED;
info->fog = ATTR_UNUSED;
+ info->wpos = ATTR_UNUSED;
for (i = 0; i < ATTR_COLOR_COUNT; i++) {
info->color[i] = ATTR_UNUSED;