diff options
author | Marek Olšák <[email protected]> | 2010-05-02 17:31:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-05-02 20:59:47 +0200 |
commit | b08b7b737760bc4ff8c8326763765c22c777580a (patch) | |
tree | afc0ab36fb0a829e1aafd957b6b93f61df500627 /src | |
parent | 3b2cf97c5c84c3a92f97f335b27f754aa42c5259 (diff) |
r300g: do not validate buffers in check_cs
It's already done in r300_emit_buffer_validate.
This also fixes Total Annihilation 3D on debug builds at least.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_r300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_r300.c b/src/gallium/winsys/radeon/drm/radeon_r300.c index 80923de9373..fb779e4033b 100644 --- a/src/gallium/winsys/radeon/drm/radeon_r300.c +++ b/src/gallium/winsys/radeon/drm/radeon_r300.c @@ -181,7 +181,7 @@ static boolean radeon_check_cs(struct r300_winsys_screen *rws, int size) struct radeon_libdrm_winsys *ws = radeon_winsys_screen(rws); struct radeon_cs *cs = ws->cs; - return radeon_validate(rws) && cs->cdw + size <= cs->ndw; + return cs->cdw + size <= cs->ndw; } static void radeon_begin_cs(struct r300_winsys_screen *rws, |