[Mesa-dev] [PATCH] i965: Silence warning in 3-src type-setting.

Pohjolainen, Topi topi.pohjolainen at intel.com
Wed May 27 23:22:03 PDT 2015


On Wed, May 27, 2015 at 12:24:47PM -0700, Matt Turner wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

> 
> diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
> index e78d0be..a1d11f3 100644
> --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
> +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
> @@ -914,6 +914,8 @@ brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest,
>           brw_inst_set_3src_src_type(devinfo, inst, BRW_3SRC_TYPE_UD);
>           brw_inst_set_3src_dst_type(devinfo, inst, BRW_3SRC_TYPE_UD);
>           break;
> +      default:
> +         unreachable("not reached");
>        }
>     }
>  
> -- 
> 2.3.6
> 
> _______________________________________________
> 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