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

Separate dx12 codegen #1827

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

Commits on Oct 23, 2024

  1. dx12 codgen: Break depedence upon Vulkan/Khronos

    Remove the hard-coded dependency upon our Vulkan and the Khronos
    registry edit functionality (which the DX side really doesn't use).
    NOTE: This did require copying a few functions (like write) from
    the Khronos source to maintain consistency (so I added the Khronos
    copyright notice to the dx12_generators/base_generator.py file).
    This mostly is just copying functionality from the
    vulkan_generators/base_generator.py to the renamed
    dx12_generators/base_generator.py.  The file in the dx12_generators
    directory was renamed from "dx12_base_generator.py" to
    "base_generator.py" because the "base_generators" directory scripts
    required it to be named that to work without more major edits to
    that shared code base.
    
    There will be a change coming with will break the dx12 depedence upon
    those base_generator scripts.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    08412a7 View commit details
    Browse the repository at this point in the history
  2. dx12 codegen: Move beginFeature/endFeature

    Move the beginFeature and endFeature method definition in the python
    so it's easier to find near the beginFile/endFile methods.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    dfd8987 View commit details
    Browse the repository at this point in the history
  3. dx12 codegen: Move to standalone base_decoder_body

    Move the Dx12 codegen to use its own base_decoder_body_generator
    script.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b1f5767 View commit details
    Browse the repository at this point in the history
  4. vulkan codegen: Remove dx12 decoder_body items

    Some code for dx12 codegen was still left in the base_generators
    base_decoder_body_generator script which is no longer used by
    the dx12 codegen path.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3a47ddf View commit details
    Browse the repository at this point in the history
  5. dx12 codgen: Copy base_replay_consumer_body

    Copy the base_replay_consumer_body_generator script to the
    dx12 path so that we don't get broken by the Khronos API codegen
    changes.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    4b4da32 View commit details
    Browse the repository at this point in the history
  6. dx12 codgen: Copy base_struct_decoders_body

    Copy the base_struct_decoders_body_generator into the Dx12
    tree so that when the Khronos API codegen changes occur, they
    won't affect the DX12 tree.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    022305b View commit details
    Browse the repository at this point in the history
  7. dx12 codgen: Copy base_struct_decoders_header

    Copy the base_struct_decoders_header_generator into the Dx12
    tree so that when the Khronos API codegen changes occur, they
    won't affect the DX12 tree.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    cc56260 View commit details
    Browse the repository at this point in the history
  8. dx12 codgen: Copy struct object mapper body

    Copy the base_struct_object_mappers_body_generator content
    directly into the dx12_struct_object_mappers_body_generator
    script because it would only end up there.
    This is so that when the Khronos API codegen changes occur, they
    won't affect the DX12 tree.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    82dd228 View commit details
    Browse the repository at this point in the history
  9. dx12 codgen: Copy struct object mapper header

    Copy the base_struct_object_mappers_header_generator content
    directly into the dx12_struct_object_mappers_header_generator
    script because it would only end up there.
    This is so that when the Khronos API codegen changes occur, they
    won't affect the DX12 tree.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6f156e5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    643b3a6 View commit details
    Browse the repository at this point in the history
  11. codgen: Remove stale dx12 paths

    Dx12 codegen now uses its own scripts.  So remove any dx12 specific
    items in the Vulkan or Base code.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8ce37fd View commit details
    Browse the repository at this point in the history
  12. dx12 codegen: Rename base_generators.py back

    Rename what used to be dx12_generators\dx12_base_generators.py
    which we had then renamed dx12_generators\base_generators.py to
    start the Dx12 codegen separation project, back to the original
    dx12_generators\dx12_base_generators.py filename.
    MarkY-LunarG committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    edc3ef2 View commit details
    Browse the repository at this point in the history