mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 20:00:24 +01:00
r300g: remove unused r300_query::active
This commit is contained in:
parent
251fae69e5
commit
af87ef10dc
2 changed files with 0 additions and 6 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue