summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_pipe_control.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2016-09-27 15:02:12 -0700
committerBen Widawsky <ben@bwidawsk.net>2016-09-28 09:42:53 -0700
commit29783c0887b3afd345e15e4e6910c04185219812 (patch)
tree652eda2c62c1899dcf5cba2a1232c340f6bf95fb /src/mesa/drivers/dri/i965/brw_pipe_control.c
parent2a721b1b798d7078e8fa7ff52c7698d6cd625162 (diff)
downloadexternal_mesa3d-29783c0887b3afd345e15e4e6910c04185219812.zip
external_mesa3d-29783c0887b3afd345e15e4e6910c04185219812.tar.gz
external_mesa3d-29783c0887b3afd345e15e4e6910c04185219812.tar.bz2
i965: Remove useless (harmful) assertion
The code already skips doing the depth stall on gen >= 8, and as we enable new platforms this assertion will fail needlessly. Instead of changing the caller, make this simple change. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_pipe_control.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_pipe_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_pipe_control.c b/src/mesa/drivers/dri/i965/brw_pipe_control.c
index 640bfdc..dd426bf 100644
--- a/src/mesa/drivers/dri/i965/brw_pipe_control.c
+++ b/src/mesa/drivers/dri/i965/brw_pipe_control.c
@@ -234,7 +234,7 @@ brw_emit_pipe_control_write(struct brw_context *brw, uint32_t flags,
void
brw_emit_depth_stall_flushes(struct brw_context *brw)
{
- assert(brw->gen >= 6 && brw->gen <= 9);
+ assert(brw->gen >= 6);
/* Starting on BDW, these pipe controls are unnecessary.
*