[Mesa-dev] [PATCH 1/3] radv: add missing unreachable

Edward O'Callaghan funfunctor at folklore1984.net
Tue Oct 11 23:49:50 UTC 2016


Series is,
Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 10/12/2016 09:47 AM, Grigori Goronzy wrote:
> ---
>  src/amd/vulkan/radv_descriptor_set.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c
> index d1d2b1f..ba8a002 100644
> --- a/src/amd/vulkan/radv_descriptor_set.c
> +++ b/src/amd/vulkan/radv_descriptor_set.c
> @@ -113,6 +113,7 @@ VkResult radv_CreateDescriptorSetLayout(
>  			alignment = 16;
>  			break;
>  		default:
> +			unreachable("unknown descriptor type\n");
>  			break;
>  		}
>  
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161012/5688e72a/attachment-0001.sig>


More information about the mesa-dev mailing list