[Mesa-dev] [PATCH mesa 3/3] anv/meta: fix unreachable() typo

Anuj Phogat anuj.phogat at gmail.com
Tue Aug 30 21:26:23 UTC 2016


On Tue, Aug 30, 2016 at 12:18 PM, Eric Engestrom <eric at engestrom.ch> wrote:
> On Tue, Aug 30, 2016 at 10:10:41AM -0700, Anuj Phogat wrote:
>> On Tue, Aug 30, 2016 at 3:36 AM, Eric Engestrom
>> <eric.engestrom at imgtec.com> wrote:
>> > Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.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)) {
>> > --
>> > Cheers,
>> >   Eric
>> >
>> > _______________________________________________
>> > mesa-dev mailing list
>> > mesa-dev at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>> Series is:
>> Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
>
> Thanks!
> Can you push this series (and the assert() patch) for me?
>
Done
> Cheers,
>   Eric


More information about the mesa-dev mailing list