projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0e5ba
)
r300g: fix uploading RC state shader constants on r3xx
author
Marek Olšák
<maraeo@gmail.com>
Mon, 14 Jun 2010 11:03:13 +0000
(13:03 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 14 Jun 2010 11:03:13 +0000
(13:03 +0200)
I've messed this up in one of my previous commits.
Reported-by: Igor Murzov
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 46b958bdd91b250a6a480a0091ca8a592ae8c33b..64d66e421f25a102349d6491eadd84311c46b608 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-204,7
+204,7
@@
void r300_emit_fs_rc_constant_state(struct r300_context* r300, unsigned size, vo
get_rc_constant_state(r300, &constants->Constants[i]);
for (j = 0; j < 4; j++)
- cdata[
i] = pack_float24(data[i
]);
+ cdata[
j] = pack_float24(data[j
]);
OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X + i * 16, 4);
OUT_CS_TABLE(cdata, 4);