[Mesa-dev] [PATCH] nir: Add missing break into switch in construct_value()

Antía Puentes apuentes at igalia.com
Fri Apr 22 09:34:15 UTC 2016


On vie, 2016-04-22 at 09:45 +0300, Juha-Pekka Heikkila wrote:
> There seemed to be missing one break in nested switchcases.
> 
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> ---
>  src/compiler/nir/nir_search.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/compiler/nir/nir_search.c
> b/src/compiler/nir/nir_search.c
> index dc53a90..df80c0f 100644
> --- a/src/compiler/nir/nir_search.c
> +++ b/src/compiler/nir/nir_search.c
> @@ -521,6 +521,7 @@ construct_value(const nir_search_value *value,
>           default:
>              unreachable("unknown bit size");
>           }
> +         break;
>  
>        case nir_type_bool32:
>           load->value.u32[0] = c->data.u;


Reviewed-by: Antia Puentes <apuentes at igalia.com>



More information about the mesa-dev mailing list