summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-18 15:29:00 +0100
committerMarek Olšák <[email protected]>2011-02-18 16:15:03 +0100
commitfd8d4b32ede6ebeae332539b71d38c36420e2654 (patch)
treeb885d31842ac9d76046872f2110a413fed4401f5 /src/gallium/drivers/r300/r300_screen_buffer.c
parentbb46eeade3a3eb604aba5c084d1e21942c2fa2ac (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_screen_buffer.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c
index 7855d70a973..1045911f3ae 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.c
+++ b/src/gallium/drivers/r300/r300_screen_buffer.c
@@ -65,11 +65,6 @@ void r300_upload_index_buffer(struct r300_context *r300,
index_buffer, &flushed);
*start = index_offset / index_size;
-
- if (flushed || !r300->upload_ib_validated) {
- r300->upload_ib_validated = FALSE;
- r300->validate_buffers = TRUE;
- }
}
static void r300_buffer_destroy(struct pipe_screen *screen,