Re: [Mesa-dev] [PATCH 04/10] i965: Add a pile of comments to brw_queryobj.c.

2013-02-28 Thread Eric Anholt
Kenneth Graunke writes: > This code was really difficult to follow, for a number of reasons: > > - Queries were handled in four different ways (TIMESTAMP writes a single > value, TIME_ELAPSED writes a single pair of values, occlusion queries > write pairs of values for the start and end of ea

[Mesa-dev] [PATCH 04/10] i965: Add a pile of comments to brw_queryobj.c.

2013-02-28 Thread Kenneth Graunke
This code was really difficult to follow, for a number of reasons: - Queries were handled in four different ways (TIMESTAMP writes a single value, TIME_ELAPSED writes a single pair of values, occlusion queries write pairs of values for the start and end of each batch, and other queries are d