diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-08 10:04:02 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-03-08 11:49:53 -0500 |
commit | d7ad1b8b0788536f6fcd261fbe0db7a10b84ac0a (patch) | |
tree | c71b2ab3cec121a46b5c99a5fc16f0a4b304ccf9 /src/mesa/drivers/dri/radeon/radeon_blit.c | |
parent | c65235f97efe30eb9444f7c8f20cb8f0cc529d19 (diff) |
radeon/r200/r600: reset bos when validating buffers during blit
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_blit.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_blit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_blit.c b/src/mesa/drivers/dri/radeon/radeon_blit.c index e188a122d5..8c3c2e4766 100644 --- a/src/mesa/drivers/dri/radeon/radeon_blit.c +++ b/src/mesa/drivers/dri/radeon/radeon_blit.c @@ -204,6 +204,9 @@ static GLboolean validate_buffers(struct r100_context *r100, struct radeon_bo *dst_bo) { int ret; + + radeon_cs_space_reset_bos(r100->radeon.cmdbuf.cs); + ret = radeon_cs_space_check_with_bo(r100->radeon.cmdbuf.cs, src_bo, RADEON_GEM_DOMAIN_VRAM, 0); if (ret) |