vulkan/util: generate a helper function to return pNext struct sizes
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 25 Feb 2019 16:43:15 +0000 (16:43 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 2 May 2019 16:02:02 +0000 (17:02 +0100)
commita1e6b5e9be4ca4a1e76a1e93e1ee4366d731ae19
tree4b25be999edd0392479c6414ac906e7c867ec84e
parentad7c9ba0ecb349763ab7fad7bce74f1d47c139e3
vulkan/util: generate a helper function to return pNext struct sizes

This will be used to copy chains of structures so that we can alterate
some of them.

v2: Drop vk_util.h include (Eric)
    Use VkBaseInStructure directly (Eric)

v3: Drop --platforms= param to generator script, instead produce a
    file with #ifdef based what platforms are compiled.

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