From 8c197d4aae59f157500b35cccd41cfc3d1b5cb59 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 8 Oct 2013 13:17:07 -0700 Subject: [PATCH] i965: Fix a compiler warning about conservative depth enums. Reviewed-by: Chris Forbes --- src/mesa/drivers/dri/i965/gen7_wm_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/gen7_wm_state.c b/src/mesa/drivers/dri/i965/gen7_wm_state.c index 7ddeb6ec0a2..a2046c36546 100644 --- a/src/mesa/drivers/dri/i965/gen7_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen7_wm_state.c @@ -73,6 +73,8 @@ upload_wm_state(struct brw_context *brw) case FRAG_DEPTH_LAYOUT_LESS: dw1 |= GEN7_WM_PSCDEPTH_ON_LE; break; + case FRAG_DEPTH_LAYOUT_UNCHANGED: + break; } } /* CACHE_NEW_WM_PROG */ -- 2.30.2