mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-06-03 02:17:54 +00:00
scripts: Manual VK_ENABLE_BETA_EXTENSIONS
This commit is contained in:
parent
42b34ac73e
commit
07ca0f6962
6 changed files with 32 additions and 0 deletions
|
@ -27,6 +27,12 @@ class StructHelperOutputGenerator(BaseGenerator):
|
|||
BaseGenerator.__init__(self)
|
||||
|
||||
def generate(self):
|
||||
# Should be fixed in 1.4.310 headers
|
||||
# https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/7196
|
||||
manual_protect = ["VkCudaModuleNV", "VkCudaFunctionNV", "VkCudaModuleCreateInfoNV", "VkCudaFunctionCreateInfoNV", "VkCudaLaunchInfoNV", "VkPhysicalDeviceCudaKernelLaunchFeaturesNV", "VkPhysicalDeviceCudaKernelLaunchPropertiesNV", "VkSetPresentConfigNV", "VkPhysicalDevicePresentMeteringFeaturesNV"]
|
||||
for struct in [x for x in self.vk.structs.values() if x.name in manual_protect]:
|
||||
struct.protect = "VK_ENABLE_BETA_EXTENSIONS"
|
||||
|
||||
out = []
|
||||
out.append(f'''// *** THIS FILE IS GENERATED - DO NOT EDIT ***
|
||||
// See {os.path.basename(__file__)} for modifications
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue