r300g: remove unused r300_query::active

This commit is contained in:
Marek Olšák 2010-05-15 19:37:33 +02:00
parent 251fae69e5
commit af87ef10dc
2 changed files with 0 additions and 6 deletions

View File

@ -235,10 +235,6 @@ struct r300_constant_buffer {
struct r300_query {
/* The kind of query. Currently only OQ is supported. */
unsigned type;
/* Whether this query is currently active. Only active queries will
* get emitted into the command stream, and only active queries get
* tallied. */
boolean active;
/* The current count of this query. Required to be at least 32 bits. */
unsigned int count;
/* The offset of this query into the query buffer, in bytes. */

View File

@ -43,8 +43,6 @@ static struct pipe_query *r300_create_query(struct pipe_context *pipe,
q->type = query_type;
assert(q->type == PIPE_QUERY_OCCLUSION_COUNTER);
q->active = FALSE;
if (r300screen->caps.family == CHIP_FAMILY_RV530)
query_size = r300screen->caps.num_z_pipes * sizeof(uint32_t);
else