projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0719088
)
r300g: fix the size of CS when emitting the fragprog constant buffer
author
Marek Olšák
<maraeo@gmail.com>
Tue, 3 Nov 2009 15:58:39 +0000
(16:58 +0100)
committer
Corbin Simpson
<MostAwesomeDude@gmail.com>
Thu, 5 Nov 2009 02:19:34 +0000
(18:19 -0800)
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
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 fc823ad31fef713465b879250caee664d730636c..6415c59c2d55be1c8b0cb2098473b1684e0f0a4f 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-285,7
+285,7
@@
void r500_emit_fs_constant_buffer(struct r300_context* r300,
if (constants->Count == 0)
return;
- BEGIN_CS(constants->Count * 4 +
2
);
+ BEGIN_CS(constants->Count * 4 +
3
);
OUT_CS_REG(R500_GA_US_VECTOR_INDEX, R500_GA_US_VECTOR_INDEX_TYPE_CONST);
OUT_CS_ONE_REG(R500_GA_US_VECTOR_DATA, constants->Count * 4);
for (i = 0; i < constants->Count; i++) {