[Mesa-dev] [PATCH 1/9] i965: Fix a compiler warning about conservative depth enums.

Chris Forbes chrisf at ijw.co.nz
Tue Oct 8 14:11:18 PDT 2013


Sorry, that was a bit sloppy on my part..

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Wed, Oct 9, 2013 at 10:00 AM, Eric Anholt <eric at anholt.net> wrote:
> ---
>  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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list