-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move vulkan codegen generators #1851
base: dev
Are you sure you want to change the base?
Move vulkan codegen generators #1851
Commits on Nov 11, 2024
-
codegen vulkan: Move vulkan_generator scripts
Move the Vulkan generator scripts under a khronos_generators folder to prepare it for for sharing with other khronos APIs.
Configuration menu - View commit details
-
Copy full SHA for 3484477 - Browse repository at this point
Copy the full SHA 3484477View commit details -
codegen dx12: Copy reformat_code.py
DX12 was still relying on one file in the base_generators folder. Make a copy in the DX12 folder, and remove all references to the Vulkan and base_generators folders in the generate_dx12.py script.
Configuration menu - View commit details
-
Copy full SHA for 4866a3e - Browse repository at this point
Copy the full SHA 4866a3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d47aa1 - Browse repository at this point
Copy the full SHA 6d47aa1View commit details -
codegen: Move common file into khronos_generator
Move the reformat_code.py into the base of khronos_generators.
Configuration menu - View commit details
-
Copy full SHA for b101ed5 - Browse repository at this point
Copy the full SHA b101ed5View commit details -
codegen: Move common items from vulkan to khronos
Move common items from the vulkan_generators/base_generator.py to the khronos_generators/khronos_base_generator.py
Configuration menu - View commit details
-
Copy full SHA for 8a0c379 - Browse repository at this point
Copy the full SHA 8a0c379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d91f05 - Browse repository at this point
Copy the full SHA 0d91f05View commit details -
codegen: Move more from vulkan to khronos
Move more common type parsing into the khronos_base_generator from the vulkan/base_generator.
Configuration menu - View commit details
-
Copy full SHA for 8ffe525 - Browse repository at this point
Copy the full SHA 8ffe525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49fe3e6 - Browse repository at this point
Copy the full SHA 49fe3e6View commit details -
codegen: Modify base_generators to remove Vulkan
base_generator code still has vulkan-specific items in it. This starts the process of pulling those out.
Configuration menu - View commit details
-
Copy full SHA for be2fb99 - Browse repository at this point
Copy the full SHA be2fb99View commit details -
codegen: Remove more vulkan in base_generators
Remove more vulkan-specific items in the base_generator code path.
Configuration menu - View commit details
-
Copy full SHA for 90d63b0 - Browse repository at this point
Copy the full SHA 90d63b0View commit details -
codegen: Modidfy extended struct handling
Modify the handling of 'pNext' extended struct variables in the base_generators to be more Khronos-generic instead of Vulkan-specific.
Configuration menu - View commit details
-
Copy full SHA for 5b15e81 - Browse repository at this point
Copy the full SHA 5b15e81View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a2a56 - Browse repository at this point
Copy the full SHA f2a2a56View commit details -
codegen: Start renaming base files
First phase moving of base_generator files to have a khronos identifier
Configuration menu - View commit details
-
Copy full SHA for 821bbdc - Browse repository at this point
Copy the full SHA 821bbdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57cf07f - Browse repository at this point
Copy the full SHA 57cf07fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b35bafd - Browse repository at this point
Copy the full SHA b35bafdView commit details -
Configuration menu - View commit details
-
Copy full SHA for caf881b - Browse repository at this point
Copy the full SHA caf881bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ffb45c - Browse repository at this point
Copy the full SHA 2ffb45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for acac901 - Browse repository at this point
Copy the full SHA acac901View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee9a4f - Browse repository at this point
Copy the full SHA 4ee9a4fView commit details -
codegen: Update khronos base to have a write
Since the khronos_base files were referring back to the parent "base_generator" (which in this case was Vulkan) it still resulted in a tight coupling. Move the "write" method into the khronos_base_generator script to solve this.
Configuration menu - View commit details
-
Copy full SHA for 5bc2118 - Browse repository at this point
Copy the full SHA 5bc2118View commit details -
codgen: Consolidate structure_type name gen
Consolidate the structure type name generation into one location shared with all future Khronos APIs.
Configuration menu - View commit details
-
Copy full SHA for b4be1d0 - Browse repository at this point
Copy the full SHA b4be1d0View commit details -
codegen: Consolidate var naming
Put variable naming in a common location
Configuration menu - View commit details
-
Copy full SHA for 25eff7e - Browse repository at this point
Copy the full SHA 25eff7eView commit details -
codgen: Remove local variables
Removed local variables for use in decoder body scripts and created a "all_cmd_params" that isn't cleared after every feature update.
Configuration menu - View commit details
-
Copy full SHA for ed4f548 - Browse repository at this point
Copy the full SHA ed4f548View commit details -
codegen: Add exceptions for unimplemented overrides
Added raising an exception on Python methods that should be implemented by the Khronos API for the functionality to properly work.
Configuration menu - View commit details
-
Copy full SHA for 9809efb - Browse repository at this point
Copy the full SHA 9809efbView commit details