diff options
author | Eric Anholt <[email protected]> | 2013-10-08 13:17:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-10-08 14:34:35 -0700 |
commit | 8c197d4aae59f157500b35cccd41cfc3d1b5cb59 (patch) | |
tree | 32f8a863cd1af1efc004b7266a0a8934baa50402 /src/mesa | |
parent | d14fcd7db7501cc5dbbcefac166238d9a49ccd84 (diff) |
i965: Fix a compiler warning about conservative depth enums.
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_wm_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |