pvr: do not use fallthrough for unreachable code
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 23 Mar 2022 17:34:26 +0000 (18:34 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Mar 2022 11:25:45 +0000 (11:25 +0000)
commit54c7a245ca7a5326f7cb0790c8c63a4e61071341
treead72fd4e7f6bc6f56dc467b4d48552fe0240587f
parent8cdd5647c6c3c52a0ff046791d39afb1ad6beac9
pvr: do not use fallthrough for unreachable code

unreachable() doesn't lead to executing the code that follows it,
neither in debug nor release builds. So falling through doesn't make any
sense.

This fixes a compile-error on clang.

Let's move the default-block to the end to make it clearer that there's
no intended fallthrough.

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15531>
src/imagination/vulkan/pvr_cmd_buffer.c