diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-07-17 14:40:41 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-07-17 14:40:41 +0200 |
commit | f7d6cab6cd4eda5c5ae63ccac6d0c2138a45f470 (patch) | |
tree | 9712465a9fdc33446d0d38994ab2c31fd8cb0794 /src/gallium/drivers/r300 | |
parent | f92d1a54e998c1fbe65eefd7af539f97a60fc82b (diff) |
r300g: fix typo in r3xx constant buffer emission
Ooops.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 53e7f25df3..167e3c09ca 100644 --- 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])); |