i965: Remove brw_query_object::first_index field as it's always 0.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Feb 2013 02:05:55 +0000 (18:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Mar 2013 06:09:04 +0000 (22:09 -0800)
commitec5d502ec3215c7610bcff0be4418f698b2f36ab
treeab7d703ef1015bcc5db845eabf39159c38850f18
parentd92c7d8eed4eb0a1c1291a93d84439ba9a9983a2
i965: Remove brw_query_object::first_index field as it's always 0.

brw->query.index is initialized to 0 just a few lines before it's
copied to first_index.

Presumably the idea here was to reuse the query BO for subsequent
queries of the same type, but since that doesn't happen, there's no need
to have the extra code complexity.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_queryobj.c