diff options
author | Ben Widawsky <benjamin.widawsky@intel.com> | 2015-01-15 12:48:11 -0800 |
---|---|---|
committer | Ben Widawsky <benjamin.widawsky@intel.com> | 2015-01-19 11:39:05 -0800 |
commit | c1bb9f68250438276b9d7801947a093add7c3c71 (patch) | |
tree | cf9b6917de5f560dc0bafa6c4d5d1cf77e06f3be | |
parent | 61e2b2dbcc971382e1b86e75054bd4848c7eeee3 (diff) |
Same for stencil buffer
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_depth_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_depth_state.c b/src/mesa/drivers/dri/i965/gen8_depth_state.c index 0e0e5dbaed..eebc993aa9 100644 --- a/src/mesa/drivers/dri/i965/gen8_depth_state.c +++ b/src/mesa/drivers/dri/i965/gen8_depth_state.c @@ -124,7 +124,7 @@ emit_depth_packets(struct brw_context *brw, * page (which would imply that it does). Experiments with the hardware * indicate that it does. */ - OUT_BATCH(HSW_STENCIL_ENABLED | mocs_wb << 22 | + OUT_BATCH(HSW_STENCIL_ENABLED | 0 << 22 | (2 * stencil_mt->pitch - 1)); OUT_RELOC64(stencil_mt->bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, |