i965: Write TIMESTAMP query values into the first buffer element.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Feb 2013 21:56:01 +0000 (13:56 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Mar 2013 06:09:03 +0000 (22:09 -0800)
commitd1b34baf9b9c977d2bcd612aa8ea7256f2143ad8
tree48b238be172294faed2e8854e5459c6a844d5111
parent3d71f4fbac2e0337a1881cef93a220c36f9875f5
i965: Write TIMESTAMP query values into the first buffer element.

For timestamp queries, we just write a single value to a BO.  The
natural place to write that is element 0, so we should do that.

Previously, we wrote it into element 1 (the second slot) leaving
element 0 filled with garbage.

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