i965: Turn if (query->bo) into an assertion.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Feb 2013 07:31:10 +0000 (23:31 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Mar 2013 06:09:04 +0000 (22:09 -0800)
commit614944b8975ce9827b26b92f42ad8b48493eb7f0
tree602b27f409fb81861dcaaba4c419d2ecdd948ffb
parent981a22b62bc7f8e50ba8bcb0a7f329c25bd53c8d
i965: Turn if (query->bo) into an assertion.

The code a few lines above calls brw_emit_query_begin() if !query->bo,
and that creates query->bo.  So it should always be non-NULL.

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