[Mesa-dev] [PATCH 1/9] i965: Fix a compiler warning about conservative depth enums.
Eric Anholt
eric at anholt.net
Tue Oct 8 14:00:28 PDT 2013
---
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 7ddeb6e..a2046c3 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 */
--
1.8.4.rc3
More information about the mesa-dev
mailing list