diff options
author | Kenneth Graunke <[email protected]> | 2013-02-25 22:30:21 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-03-01 22:09:04 -0800 |
commit | 90feda81de3c608d5a6041246fc010904a3afa81 (patch) | |
tree | 5fb8fb8b906ce0e2808359eb2d03fb7b415c08f4 /src/glx/dri_common.h | |
parent | ec5d502ec3215c7610bcff0be4418f698b2f36ab (diff) |
i965: Use query->last_index instead of the global brw->query.index.
Since we already have an index in the brw_query_object, there's no need
to also keep a global variable that shadows it.
Plus, if we ever add support for more types of queries that still need
the per-batch before/after treatment we do for occlusion queries, we
won't be able to use a single global variable. In contrast, per-query
object variables will work fine.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/dri_common.h')
0 files changed, 0 insertions, 0 deletions