vk/util: drop no-op compiler warning workaround
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 3 May 2019 11:31:01 +0000 (12:31 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 23 May 2019 15:06:11 +0000 (15:06 +0000)
commit00cfeacf3179ee37d2517188cb5074e5bea66a34
tree820246302df41f7505b09f26864559895c90ad99
parent90e7ce5bde88d157f996bced5d6c3af2f6f6d3a3
vk/util: drop no-op compiler warning workaround

`-Wswitch` applies to `switch()`, not `case:`, and is bypassed by the
presence of a `default:` anyway, so let's drop the `default:` and move
the warning suppression to where it can make a difference, and then it
turns out that we don't need to keep a list of special cases anymore :)

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/vulkan/util/gen_enum_to_str.py