diff options
author | Kenneth Graunke <[email protected]> | 2013-08-13 11:37:32 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-08-16 15:03:55 -0700 |
commit | 2a9492f3215ee01ed679aa02809099f090291969 (patch) | |
tree | 722d7580ac8c281046ff468372a90b89331649a9 /src/mesa | |
parent | 8fba8d4ee7632ae185f70356093e10a563ea64cd (diff) |
i965: Add Gen7 depth stall flushes before disabling depth in BLORP.
We emit these before configuring depth in the normal path, or actually
using the depth buffer in BLORP - we just failed to emit them when
disabling depth altogether.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_blorp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.cpp b/src/mesa/drivers/dri/i965/gen7_blorp.cpp index 518d7f5b526..44e75788db4 100644 --- a/src/mesa/drivers/dri/i965/gen7_blorp.cpp +++ b/src/mesa/drivers/dri/i965/gen7_blorp.cpp @@ -756,6 +756,8 @@ static void gen7_blorp_emit_depth_disable(struct brw_context *brw, const brw_blorp_params *params) { + intel_emit_depth_stall_flushes(brw); + BEGIN_BATCH(7); OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER << 16 | (7 - 2)); OUT_BATCH(BRW_DEPTHFORMAT_D32_FLOAT << 18 | (BRW_SURFACE_NULL << 29)); |