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

Jason Ekstrand jason at jlekstrand.net
Tue Aug 30 14:34:31 UTC 2016


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Tue, Aug 30, 2016 at 12:37 AM, Michael Schellenberger Costa <
mschellenbergercosta at googlemail.com> wrote:

> Signed-off-by: Michael Schellenberger Costa <mschellenbergercosta at gmail.
> com>
> ---
>  src/intel/vulkan/anv_meta_blit.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_meta_blit.c b/src/intel/vulkan/anv_meta_
> blit.c
> index d2e375a..6f73102 100644
> --- a/src/intel/vulkan/anv_meta_blit.c
> +++ b/src/intel/vulkan/anv_meta_blit.c
> @@ -300,7 +300,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
>        pipeline = device->meta_state.blit.pipeline_3d_src;
>        break;
>     default:
> -      unreachable(!"bad VkImageType");
> +      unreachable("bad VkImageType");
>     }
>
>     if (cmd_buffer->state.pipeline != anv_pipeline_from_handle(pipeline))
> {
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160830/ec01589e/attachment-0001.html>


More information about the mesa-dev mailing list