-
Notifications
You must be signed in to change notification settings - Fork 118
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
base: dev
Are you sure you want to change the base?
Separate dx12 codegen #1827
Commits on Oct 23, 2024
-
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.
Configuration menu - View commit details
-
Copy full SHA for 08412a7 - Browse repository at this point
Copy the full SHA 08412a7View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for dfd8987 - Browse repository at this point
Copy the full SHA dfd8987View commit details -
dx12 codegen: Move to standalone base_decoder_body
Move the Dx12 codegen to use its own base_decoder_body_generator script.
Configuration menu - View commit details
-
Copy full SHA for b1f5767 - Browse repository at this point
Copy the full SHA b1f5767View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3a47ddf - Browse repository at this point
Copy the full SHA 3a47ddfView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4b4da32 - Browse repository at this point
Copy the full SHA 4b4da32View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 022305b - Browse repository at this point
Copy the full SHA 022305bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for cc56260 - Browse repository at this point
Copy the full SHA cc56260View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 82dd228 - Browse repository at this point
Copy the full SHA 82dd228View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6f156e5 - Browse repository at this point
Copy the full SHA 6f156e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 643b3a6 - Browse repository at this point
Copy the full SHA 643b3a6View commit details -
codgen: Remove stale dx12 paths
Dx12 codegen now uses its own scripts. So remove any dx12 specific items in the Vulkan or Base code.
Configuration menu - View commit details
-
Copy full SHA for 8ce37fd - Browse repository at this point
Copy the full SHA 8ce37fdView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for edc3ef2 - Browse repository at this point
Copy the full SHA edc3ef2View commit details