[Mesa-dev] [PATCH 1/7] i965: Warning fix

Ian Romanick idr at freedesktop.org
Mon Jan 6 11:09:37 PST 2014


Series is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 12/23/2013 04:08 PM, Eric Anholt wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
> index c653828..c2ca10d 100644
> --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
> +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
> @@ -108,8 +108,6 @@ unsigned
>  brw_reg_type_to_hw_type(const struct brw_context *brw,
>                          enum brw_reg_type type, unsigned file)
>  {
> -   bool imm = file == BRW_IMMEDIATE_VALUE;
> -
>     if (file == BRW_IMMEDIATE_VALUE) {
>        const static int imm_hw_types[] = {
>           [BRW_REGISTER_TYPE_UD] = BRW_HW_REG_TYPE_UD,
> 



More information about the mesa-dev mailing list