summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-21 22:48:07 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-21 22:57:01 +0200
commitdd029dcb144eaffead1d82599b45e06fcfe97b77 (patch)
treec763476169ea0ff2487559249f5c0f24ecd4225c /src/gallium/drivers
parent01c12ed60c9079e2c83a6c0e24c0e99db416668c (diff)
r300g: raise the max index for generic varyings to 32
This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_shader_semantics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_shader_semantics.h b/src/gallium/drivers/r300/r300_shader_semantics.h
index 6796841b29..cb7a37033f 100644
--- a/src/gallium/drivers/r300/r300_shader_semantics.h
+++ b/src/gallium/drivers/r300/r300_shader_semantics.h
@@ -25,7 +25,7 @@
#define ATTR_UNUSED (-1)
#define ATTR_COLOR_COUNT 2
-#define ATTR_GENERIC_COUNT 16
+#define ATTR_GENERIC_COUNT 32
/* This structure contains information about what attributes are written by VS
* or read by FS. (but not both) It's much easier to work with than