Previously whenever a primitive is drawn the driver would call
_mesa_check_conditional_render which blocks waiting for the result of the
query to determine whether to render. On Gen7+ there is a bit in the
3DPRIMITIVE command which can be used to disable the primitive based on the
value of a state
Daniel Vetter writes:
> Oh, I guess my earlier mail was too late. One issue still is picking
> the numbers, since you seem to assume here that ver >= 2 means the
> stuff actually works. But like Ken said the cmd parser in upstream
> isn't really enabled yet.
The patch only enables the predicate
On Fri, Nov 07, 2014 at 06:53:00PM +, Neil Roberts wrote:
> Previously whenever a primitive is drawn the driver would call
> _mesa_check_conditional_render which blocks waiting for the result of the
> query to determine whether to render. On Gen7+ there is a bit in the
> 3DPRIMITIVE command whi