projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184abe8
)
r300g: fix constant buffer emission on r3xx
author
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Jul 2010 11:37:14 +0000
(13:37 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Jul 2010 11:37:14 +0000
(13:37 +0200)
FDO bug #29128.
src/gallium/drivers/r300/r300_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_emit.c
b/src/gallium/drivers/r300/r300_emit.c
index 349f3912d13e33b142c435a836d8cf0377c95164..53e7f25df3a15f75d67c980e78935718f43e33ef 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-170,7
+170,7
@@
void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *stat
{
struct r300_fragment_shader *fs = r300_fs(r300);
struct r300_constant_buffer *buf = (struct r300_constant_buffer*)state;
- unsigned count = fs->shader->externals_count
* 4
;
+ unsigned count = fs->shader->externals_count;
unsigned i, j;
CS_LOCALS(r300);