vulkan/util: Handle enums that are in platform-specific headers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 17 Mar 2019 19:26:07 +0000 (20:26 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 18 Mar 2019 14:48:41 +0000 (14:48 +0000)
commiteb5cda1c3eca15790c46fcb7fd62408a7e0ba5f8
tree214851e4bc07eeb6bf474f79643e1a8a65d0620b
parent5abe488d185461261275cb2f957871a04e03dab8
vulkan/util: Handle enums  that are in platform-specific headers.

VkFullScreenExclusiveEXT comes from the win32 header. Mostly took
the logic from the entrypoint scripts:

1) If there is an ext that has it in the requires and has a platform,
   take the guard for that platform.
2) Otherwise assume it is from the core headers.

Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/vulkan/util/gen_enum_to_str.py