projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccd83a
)
r300: reset bos when validating buffers during blit
author
Maciej Cencora
<m.cencora@gmail.com>
Sat, 6 Feb 2010 17:25:36 +0000
(18:25 +0100)
committer
Alex Deucher
<alexdeucher@gmail.com>
Mon, 8 Mar 2010 16:49:01 +0000
(11:49 -0500)
src/mesa/drivers/dri/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_blit.c
b/src/mesa/drivers/dri/r300/r300_blit.c
index
2bc761b
..
f9c085e
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_blit.c
+++ b/
src/mesa/drivers/dri/r300/r300_blit.c
@@
-381,6
+381,9
@@
static GLboolean validate_buffers(struct r300_context *r300,
struct radeon_bo *dst_bo)
{
int ret;
+
+ radeon_cs_space_reset_bos(r300->radeon.cmdbuf.cs);
+
ret = radeon_cs_space_check_with_bo(r300->radeon.cmdbuf.cs,
src_bo, RADEON_GEM_DOMAIN_VRAM, 0);
if (ret)