mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
r300g: fix uploading RC state shader constants on r3xx
I've messed this up in one of my previous commits. Reported-by: Igor Murzov
This commit is contained in:
parent
1c0e5ba9f1
commit
8ad410dc13
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
get_rc_constant_state(r300, &constants->Constants[i]);
|
||||||
|
|
||||||
for (j = 0; j < 4; j++)
|
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_REG_SEQ(R300_PFS_PARAM_0_X + i * 16, 4);
|
||||||
OUT_CS_TABLE(cdata, 4);
|
OUT_CS_TABLE(cdata, 4);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue