Skip to content

vulkan: Do not enforce core api checks for ProtectedMemory and ShaderDrawParameters

Mary Guillemard requested to merge marysaka/mesa:vk-stray-feature-structs into main

Those structs are defined as part of core 1.1 but aren't part of any extensions.

As a result under a 1.0 driver, vk_physical_device_check_device_features was returning VK_SUCCESS instead of VK_ERROR_FEATURE_NOT_PRESENT for both.

This fix dEQP-VK.api.device_init.create_device_unsupported_features.shader_draw_parameters_features and dEQP-VK.api.device_init.create_device_unsupported_features.protected_memory_features on panvk.

/cc @gfxstrand @bbrezillon @nanokatze

Merge request reports