anv: Replace an assert() with unreachable()
authorJason Ekstrand <jason.ekstrand@collabora.com>
Fri, 1 Jul 2022 17:10:49 +0000 (12:10 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Jul 2022 11:23:18 +0000 (11:23 +0000)
commit20016aa8f6fb877b6377ed3726ada81bc5169d5b
treeaa803cc615845a2bd28e7b920a0cd545aef2f2df
parent2d6b0a4177b529be4867130dd67a1c6cf4109ac6
anv: Replace an assert() with unreachable()

Also move it to the end of the switch as is more conventional.  For some
reason, later patches in the series make ANV fail to build because GCC
stops detecting the assert(!"str") as not returning.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17214>
src/intel/vulkan/anv_image.c