vk/util: suppress warning about out-of-enum android value
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 23 May 2019 15:07:38 +0000 (16:07 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 23 May 2019 15:28:43 +0000 (15:28 +0000)
commit8d386e6eef8786ac0f8800c9f300b979ccad583d
tree937d92c9ef3b9d95e0c9123c6340d785bad51606
parent25afbb04c222aeadfb8caa2b906187feb7a3e2fe
vk/util: suppress warning about out-of-enum android value

src/vulkan/util/vk_enum_to_str.c: In function ‘vk_structure_type_size’:
src/vulkan/util/vk_enum_to_str.c:3335:9: warning: case value ‘1000010000’ not in enumerated type ‘VkStructureType’ {aka ‘const enum VkStructureType’} [-Wswitch]
         case VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID: return sizeof(VkNativeBufferANDROID);
         ^~~~

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