Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Tue, Aug 07, 2012 at 04:05:33PM -0700, Kenneth Graunke wrote: Separate out the depth stall from the depth count write. Workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op (in this case, the depth count write). Also, before the non-zero post-sync op, we

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 09:41:44AM +0200, Daniel Vetter wrote: On Tue, Aug 07, 2012 at 04:05:33PM -0700, Kenneth Graunke wrote: Separate out the depth stall from the depth count write. Workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op (in this case, the

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: Separate out the depth stall from the depth count write. Workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op (in this case, the depth count write). Also, before the non-zero post-sync op, we need a CS stall,

[Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-07 Thread Kenneth Graunke
Separate out the depth stall from the depth count write. Workarounds say that a depth stall needs to be preceeded with a non-zero post-sync op (in this case, the depth count write). Also, before the non-zero post-sync op, we need a CS stall, which needs a stall at scoreboard. Signed-off-by: