Skip to content
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

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from

Commits on Nov 11, 2024

  1. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    3484477 View commit details
    Browse the repository at this point in the history
  2. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    4866a3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d47aa1 View commit details
    Browse the repository at this point in the history
  4. codegen: Move common file into khronos_generator

    Move the reformat_code.py into the base of khronos_generators.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b101ed5 View commit details
    Browse the repository at this point in the history
  5. 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
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    8a0c379 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0d91f05 View commit details
    Browse the repository at this point in the history
  7. codegen: Move more from vulkan to khronos

    Move more common type parsing into the khronos_base_generator
    from the vulkan/base_generator.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    8ffe525 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49fe3e6 View commit details
    Browse the repository at this point in the history
  9. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    be2fb99 View commit details
    Browse the repository at this point in the history
  10. codegen: Remove more vulkan in base_generators

    Remove more vulkan-specific items in the base_generator code
    path.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    90d63b0 View commit details
    Browse the repository at this point in the history
  11. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    5b15e81 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f2a2a56 View commit details
    Browse the repository at this point in the history
  13. codegen: Start renaming base files

    First phase moving of base_generator files to have a khronos
    identifier
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    821bbdc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    57cf07f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b35bafd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    caf881b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2ffb45c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    acac901 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4ee9a4f View commit details
    Browse the repository at this point in the history
  20. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    5bc2118 View commit details
    Browse the repository at this point in the history
  21. codgen: Consolidate structure_type name gen

    Consolidate the structure type name generation into one location
    shared with all future Khronos APIs.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b4be1d0 View commit details
    Browse the repository at this point in the history
  22. codegen: Consolidate var naming

    Put variable naming in a common location
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    25eff7e View commit details
    Browse the repository at this point in the history
  23. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    ed4f548 View commit details
    Browse the repository at this point in the history
  24. 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.
    MarkY-LunarG committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    9809efb View commit details
    Browse the repository at this point in the history