projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f7859
)
r300: report correct state atom size
author
Maciej Cencora
<m.cencora@gmail.com>
Sun, 21 Mar 2010 11:43:38 +0000
(12:43 +0100)
committer
Maciej Cencora
<m.cencora@gmail.com>
Wed, 24 Mar 2010 19:08:17 +0000
(20:08 +0100)
Spotted by Pauli Nieminen
src/mesa/drivers/dri/r300/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 8eb596d1c5abe97ab1357b2ba15fc0514dc8d715..788dc2f16e9f2c7bbfb70de6692cfe0b2f18e2f8 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@
-77,7
+77,7
@@
static int check_vpu(GLcontext *ctx, struct radeon_state_atom *atom)
cnt = vpu_count(atom->cmd);
if (r300->radeon.radeonScreen->kernel_mm) {
- extra =
5
;
+ extra =
3
;
}
return cnt ? (cnt * 4) + extra : 0;
@@
-91,7
+91,7
@@
static int check_vpp(GLcontext *ctx, struct radeon_state_atom *atom)
if (r300->radeon.radeonScreen->kernel_mm) {
cnt = r300->selected_vp->code.constants.Count * 4;
- extra =
5
;
+ extra =
3
;
} else {
cnt = vpu_count(atom->cmd);
extra = 1;