projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92d1a5
)
r300g: fix typo in r3xx constant buffer emission
author
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Jul 2010 12:40:41 +0000
(14:40 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Jul 2010 12:40:41 +0000
(14:40 +0200)
Ooops.
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 53e7f25df3a15f75d67c980e78935718f43e33ef..167e3c09ca8c68a089292937f62cb9d6b23b0219 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-178,7
+178,7
@@
void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *stat
return;
BEGIN_CS(size);
- OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X, count);
+ OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X, count
* 4
);
for (i = 0; i < count; i++)
for (j = 0; j < 4; j++)
OUT_CS(pack_float24(buf->ptr[i*4+j]));