summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-03-08 10:04:02 -0500
committerAlex Deucher <[email protected]>2010-03-08 10:04:02 -0500
commit7959274858fe66a90e6f97fed81141c39cb6702b (patch)
treed61bfef9d67ea27300420fefd0e70447b53fb383 /src/mesa/drivers/dri/radeon
parentcbe28cb892e3b451d2d2cf6769ef7ef131f1853b (diff)
radeon/r200/r600: reset bos when validating buffers during blit
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_blit.c3
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 e188a122d53..8c3c2e47667 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)