[Mesa-dev] [PATCH 3/3] gallium: Fix incorrect unreachable call

Brian Paul brianp at vmware.com
Tue Aug 30 13:35:32 UTC 2016


Minor nit: the subject should probably be prefixed with "st/nine:"

-Brian

On 08/30/2016 01:37 AM, Michael Schellenberger Costa wrote:
> Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.com>
> ---
>   src/gallium/state_trackers/nine/nine_shader.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c
> index bd373d7..4c58a6d 100644
> --- a/src/gallium/state_trackers/nine/nine_shader.c
> +++ b/src/gallium/state_trackers/nine/nine_shader.c
> @@ -1898,7 +1898,7 @@ sm1_declusage_to_tgsi(struct tgsi_declaration_semantic *sem,
>           sem->Index = 0;
>           break;
>       default:
> -        unreachable(!"Invalid DECLUSAGE.");
> +        unreachable("Invalid DECLUSAGE.");
>           break;
>       }
>   }
>



More information about the mesa-dev mailing list