summaryrefslogtreecommitdiffstats
path: root/src/glx/tests/fake_glx_screen.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-02-25 22:30:21 -0800
committerKenneth Graunke <[email protected]>2013-03-01 22:09:04 -0800
commit90feda81de3c608d5a6041246fc010904a3afa81 (patch)
tree5fb8fb8b906ce0e2808359eb2d03fb7b415c08f4 /src/glx/tests/fake_glx_screen.h
parentec5d502ec3215c7610bcff0be4418f698b2f36ab (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/tests/fake_glx_screen.h')
0 files changed, 0 insertions, 0 deletions