i965: Fix a compiler warning about conservative depth enums.
authorEric Anholt <eric@anholt.net>
Tue, 8 Oct 2013 20:17:07 +0000 (13:17 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Oct 2013 21:34:35 +0000 (14:34 -0700)
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/gen7_wm_state.c

index 7ddeb6ec0a2b15740e8ebb5e70bdc60fb5a700ea..a2046c36546798ac2840197458905f655f0fcaae 100644 (file)
@@ -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 */