LunarG / VulkanTools

Tools to aid in Vulkan development
Other
662 stars 174 forks source link

Add repo support for checked-in generated files #2016

Closed mark-lunarg closed 4 months ago

mark-lunarg commented 4 months ago

The only generated files currently in the repo are for api_dump. This PR adds a generate_source.py script that will generate/verify the sources, removes this functionality from the cmake files, and checks in the generated files.

Readme was updated as well, and an attempt has been made to add CI support for verifying that modified files have been checked in.

@charles-lunarg, please add anybody who has a stake in this change. I'm mostly worried that this'll be an additional, manual step in the header-update process for this repo and that updates may need to occur more frequently than they currently do.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build queued with queue ID 176875.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build # 3083 running.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build # 3083 passed.

mark-lunarg commented 4 months ago

Looks like the CI step might've run as intended -- under All checks have passed -> show all checks -> ci / Linux -> Details -> Run python3 scripts/generate_source.py --verify external/Vulkan-Headers/registry.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build queued with queue ID 176918.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build # 3084 running.

ci-tester-lunarg commented 4 months ago

CI VulkanTools build # 3084 passed.