projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c12ed
)
r300g: raise the max index for generic varyings to 32
author
Marek Olšák
<maraeo@gmail.com>
Wed, 21 Apr 2010 20:48:07 +0000
(22:48 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 21 Apr 2010 20:57:01 +0000
(22:57 +0200)
This should fix an assertion failure in the game Heroes of Newearth.
Yes, the game seems to generate semantic indices greater than 15.
src/gallium/drivers/r300/r300_shader_semantics.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_shader_semantics.h
b/src/gallium/drivers/r300/r300_shader_semantics.h
index 6796841b29bbe74abcda5fd30f523748f3e9fe73..cb7a37033f3117ac1fe7403f7db861cdd8e4de75 100644
(file)
--- 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