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

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 10:18:43AM -0700, Kenneth Graunke wrote: > This removes the CS stall on Ivybridge. > > On Sandybridge, the depth stall needs to be preceded by a non-zero > post-sync op, which requires a CS stall, which needs a stall at > scoreboard. Emit the full workaround. > > Cc: Dani

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

2012-08-08 Thread Kenneth Graunke
This removes the CS stall on Ivybridge. On Sandybridge, the depth stall needs to be preceded by a non-zero post-sync op, which requires a CS stall, which needs a stall at scoreboard. Emit the full workaround. Cc: Daniel Vetter Cc: Eric Anholt Signed-off-by: Kenneth Graunke --- src/mesa/drive