Skip to content

vulkan/util: cast enums to int64_t in switch

With the new Vulkan Video extensions a bunch of enum values have been added. The problem is that those are behind #ifdef so our generated code complains that we using enum values not defined.

Since we're not using enum names but integer values, we can silence all those by just cast the enum type to int64_t.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com

Merge request reports