diff options
author | Maciej Cencora <[email protected]> | 2010-02-06 18:25:36 +0100 |
---|---|---|
committer | Maciej Cencora <[email protected]> | 2010-03-07 12:04:44 +0100 |
commit | c0a0a1933d4c2a7d32284b5e7170e79ac6157043 (patch) | |
tree | f578c6e4c26c797788bad40b31d0db5f63d6c6ff | |
parent | 9543f7f05f416ef6c1ac160e12e2d7ceed3b32ae (diff) |
r300: reset bos when validating buffers during blit
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_blit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c index 2bc761bc208..f9c085e2832 100644 --- 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) |