diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-18 15:29:00 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-18 16:15:03 +0100 |
commit | fd8d4b32ede6ebeae332539b71d38c36420e2654 (patch) | |
tree | b885d31842ac9d76046872f2110a413fed4401f5 /src/gallium/drivers/r300/r300_flush.c | |
parent | bb46eeade3a3eb604aba5c084d1e21942c2fa2ac (diff) | |
download | external_mesa3d-fd8d4b32ede6ebeae332539b71d38c36420e2654.zip external_mesa3d-fd8d4b32ede6ebeae332539b71d38c36420e2654.tar.gz external_mesa3d-fd8d4b32ede6ebeae332539b71d38c36420e2654.tar.bz2 |
r300g: remove tracking whether vertex buffers need to be validated
This was getting hard to maintain and didn't really bring any real benefits.
Instead, validate buffers when the vertex array state is dirty.
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_flush.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index c4bb332..c77cc08 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -77,10 +77,6 @@ static void r300_flush(struct pipe_context* pipe, r300->vs_state.dirty = FALSE; r300->vs_constants.dirty = FALSE; } - - r300->validate_buffers = TRUE; - r300->upload_vb_validated = FALSE; - r300->upload_ib_validated = FALSE; } else { if (rfence) { /* We have to create a fence object, but the command stream is empty |