Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
anv/entrypoints: VkGetDeviceProcAddr returns NULL for core instance c…
…ommands af5f232 addressed this for extension commands, but the spec mandates this behavior also for core API commands. From the Vulkan spec, Table 2. vkGetDeviceProcAddr behavior: device pname return ---------------------------------------------------------- (..) device core device-level command fp (...) See that it specifically states "device-level". Since the vk.xml file doesn't state if core commands are instance or device level, we identify device level commands as the ones that take a VkDevice, VkQueue or VkCommandBuffer as their first parameter. Fixes test failures in new work-in-progress CTS tests. Also see the public issue: KhronosGroup/Vulkan-LoaderAndValidationLayers#2323 v2: - Include reference to github issue (Emil) - Add a comment clarifying the story behind this behavior (Emil) - Rebased on top of Vulkan 1.1 changes. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
- Loading branch information