projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2cf97
)
r300g: do not validate buffers in check_cs
author
Marek Olšák
<maraeo@gmail.com>
Sun, 2 May 2010 15:31:06 +0000
(17:31 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 2 May 2010 18:59:47 +0000
(20:59 +0200)
It's already done in r300_emit_buffer_validate.
This also fixes Total Annihilation 3D on debug builds at least.
src/gallium/winsys/radeon/drm/radeon_r300.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/radeon/drm/radeon_r300.c
b/src/gallium/winsys/radeon/drm/radeon_r300.c
index 80923de9373d23d7f2f13e42227debb0a3fe84d0..fb779e4033b37c8e93b865738973cc39f2a40f3d 100644
(file)
--- 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,