summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-01-07 15:58:53 -0800
committerKenneth Graunke <[email protected]>2012-01-09 21:45:08 -0800
commit4874fcb028a8618b315b49081f9da5900ed7b69c (patch)
tree2dc144aadaaef9f36d1f4b1fc5c4ff3be5bab614 /src/mesa
parent6c29452f38dacace4f234e9526bfdc1e23fb5051 (diff)
i965: Add missing _NEW_BUFFERS dirty bit to Gen6+ DEPTH_STENCIL atoms.
This brings the dirty bits in line with the comments. This does /not/ need to be cherry-picked to stable branches because the access requiring _NEW_BUFFERS was added in master as part of HiZ. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_depthstencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_depthstencil.c b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
index c601a8fb13e..d9f686a259e 100644
--- a/src/mesa/drivers/dri/i965/gen6_depthstencil.c
+++ b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
@@ -97,7 +97,7 @@ gen6_upload_depth_stencil_state(struct brw_context *brw)
const struct brw_tracked_state gen6_depth_stencil_state = {
.dirty = {
- .mesa = _NEW_DEPTH | _NEW_STENCIL,
+ .mesa = _NEW_DEPTH | _NEW_STENCIL | _NEW_BUFFERS,
.brw = (BRW_NEW_BATCH |
BRW_NEW_HIZ),
.cache = 0,