vulkan/scripts/vk_parser.py
0 → 100644
+1420
−0
File added.
Preview size limit exceeded, changes collapsed.
+177
−74
+94
−403
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Updates vk_parser.py for more precise vk.xml parsing and improved vk.py output. The generated vk.py serves as an intermediate for vkjson_generator.py, aiding generation of vkjsons. Key changes: - Integrated new structs and extensions into vkjson. - Updated naming logic in vkjson_generator.py for consistency. - Extended vkjson_generator to handle new vkjson structures and extensions comprehensively. - Added detailed comments to vk.py explaining the generation filters for key mappings, improving clarity. - Improved the output formatting and overall structure of vk.py for better readability. - Applied generation filters in vk.py to include `VkPhysicalDevice`-prefixed structs (specifically those extending `Properties2` or `Features2` for mapping generation, along with their dependencies) and extensions marked as 'supported' (or without a platform specification, or targeting 'android'). -Added code generation for fetching VKFormat from extensions and vulkan versions tags in vk.xml - Added 'VK_USE_PLATFORM_ANDROID_KHR' to vkjson.h for new structures defined in 'vulkan_android.h' header file (like VkPhysicalDeviceExternalFormatResolveFeaturesANDROID). TODO: - b/415704124 [CodeGen] Pending Codegen Improvements BYPASS_LARGE_CHANGE_WARNING Test: adb shell cmd gpu vkjson Flag: NONE infeasible Bug: b/401184058 Change-Id: I0692e601a51fa8eaa04a30afcc3330bedeb1a833
File added.
Preview size limit exceeded, changes collapsed.
File changed.
Preview size limit exceeded, changes collapsed.