name: check-vulkan-extension description: Check support for a particular Vulkan extension metadata: short-description: Investigate a Vulkan extension test coverage
- Check that we were told which Vulkan extension we are supposed to check. If this was not specified, ask.
- Download the extension text from
https://docs.vulkan.org/refpages/latest/refpages/source/<extension name>.htmland read it. - Check that we have a test for each new Vulkan command and struct defined in the given extension, if possible. If there are features gated by enable flags, make sure we only run these gates features when they are supported. Sometimes creating a new test is the right choice, sometimes we can just insert usage into existing tests.
- If we are missing a test for the extension or parts of the extension, you can improve existing tests or use the AI skill $test-vulkan-extension to make one.
- Make note of any commands and structs you could not add to the test, things you find that did not make sense, and suggest the best improvement that could be made to make the test even better.
- Make sure usage detection of this extension is in
src/usagetracker/vulkan_feature_detect.cppandsrc/usagetracker/vulkan_feature_detect.h. You can use the skill $vulkan-extension-detection to add this if missing. - For any modified test, run the test with
VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dumpenvironment variable set to verify that the expected changes actually got executed.
Special notes:
- Calls into
vkGetPhysicalDeviceFeatures2,vkGetPhysicalDeviceProperties2orvkGetPhysicalDeviceFormatProperties2(or their KHR variants) should not be considered evidence of usage. These are just capability queries.