diff options
author | Marek Olšák <[email protected]> | 2011-02-18 15:29:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-18 16:15:03 +0100 |
commit | fd8d4b32ede6ebeae332539b71d38c36420e2654 (patch) | |
tree | b885d31842ac9d76046872f2110a413fed4401f5 /src/gallium/drivers/r300/r300_context.h | |
parent | bb46eeade3a3eb604aba5c084d1e21942c2fa2ac (diff) |
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_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 883b5f99c07..30073759476 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -575,13 +575,6 @@ struct r300_context { boolean vertex_arrays_dirty; boolean vertex_arrays_indexed; int vertex_arrays_offset; - - /* Whether any buffer (FB, textures, VBOs) has been set, but buffers - * haven't been validated yet. */ - boolean validate_buffers; - /* Whether user buffers have been validated. */ - boolean upload_vb_validated; - boolean upload_ib_validated; }; #define foreach_atom(r300, atom) \ |