mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-27 14:45:55 +00:00
f985a50c1f
* Bump API patch number and header version number to 46 for this update. Github Issues: * Add language to the <<fundamentals-validusage-enums, Valid Usage for Enumerated Types>> section allowing values to be returned from Vulkan that are not present in extensions explicitly enabled by the application, similar to existing language for bit flags in the <<fundamentals-validusage-flags, Valid Usage for Flags>> section (public issue 442). * *Important*: run `gem update --pre asciidoctor-pdf` before trying to build this version of the spec - 1.5.0.alpha15 is required for this change. Removes the monkey patch currently used to draw valid usage blocks across multiple pages which had numerous issues. A fixed version was incorporated into Asciidoctor-PDF for the latest release, so the monkey patch or any variant thereof is no longer required (public issue 465). Internal Issues: * Add ename:VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT to `VK_EXT_debug_report` extension * Fix ptext:pNext member of slink:VkPhysicalDeviceDiscardRectanglePropertiesEXT to be a non-const pointer. Properties structures return values, so the chain should be non-const. * Explicitly remove gl_NumSamples from the `GL_KHR_vulkan_glsl` extension, against 1.0 (internal issue 612). * Add Valid Usage statements requiring that each structure type valid in a ptext:pNext chain must: not appear more than once in a chain (internal issue 752). * Use ename:VK_USE_PLATFORM_WIN32_KHX in the `VK_KHX_external_memory_win32` extension, rather than etext:_KHR (internal issue 754). New Extensions: * `VK_KHR_incremental_present`
47 lines
6.2 KiB
Python
47 lines
6.2 KiB
Python
#!/usr/bin/env python
|
|
# Generated from src/spec/extDependency.py
|
|
# Specify maps of all extensions required by an enabled extension
|
|
|
|
extensions = {}
|
|
extensions['VK_EXT_acquire_xlib_display'] = [ 'VK_EXT_direct_mode_display', 'VK_KHR_display', 'VK_KHR_surface' ]
|
|
extensions['VK_EXT_debug_marker'] = [ 'VK_EXT_debug_report' ]
|
|
extensions['VK_EXT_direct_mode_display'] = [ 'VK_KHR_display', 'VK_KHR_surface' ]
|
|
extensions['VK_EXT_discard_rectangles'] = [ 'VK_KHR_get_physical_device_properties2' ]
|
|
extensions['VK_EXT_display_control'] = [ 'VK_EXT_display_surface_counter', 'VK_KHR_display', 'VK_KHR_surface', 'VK_KHR_swapchain' ]
|
|
extensions['VK_EXT_display_surface_counter'] = [ 'VK_KHR_display', 'VK_KHR_surface' ]
|
|
extensions['VK_EXT_swapchain_colorspace'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_GOOGLE_display_timing'] = [ 'VK_KHR_surface', 'VK_KHR_swapchain' ]
|
|
extensions['VK_KHR_android_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_display'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_display_swapchain'] = [ 'VK_KHR_display', 'VK_KHR_surface', 'VK_KHR_swapchain' ]
|
|
extensions['VK_KHR_incremental_present'] = [ 'VK_KHR_surface', 'VK_KHR_swapchain' ]
|
|
extensions['VK_KHR_mir_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_push_descriptor'] = [ 'VK_KHR_get_physical_device_properties2' ]
|
|
extensions['VK_KHR_swapchain'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_wayland_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_win32_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_xcb_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHR_xlib_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_KHX_device_group'] = [ 'VK_KHR_surface', 'VK_KHR_swapchain' ]
|
|
extensions['VK_KHX_external_memory'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_memory_capabilities' ]
|
|
extensions['VK_KHX_external_memory_capabilities'] = [ 'VK_KHR_get_physical_device_properties2' ]
|
|
extensions['VK_KHX_external_memory_fd'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_memory', 'VK_KHX_external_memory_capabilities' ]
|
|
extensions['VK_KHX_external_memory_win32'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_memory', 'VK_KHX_external_memory_capabilities' ]
|
|
extensions['VK_KHX_external_semaphore'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_semaphore_capabilities' ]
|
|
extensions['VK_KHX_external_semaphore_capabilities'] = [ 'VK_KHR_get_physical_device_properties2' ]
|
|
extensions['VK_KHX_external_semaphore_fd'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_semaphore', 'VK_KHX_external_semaphore_capabilities' ]
|
|
extensions['VK_KHX_external_semaphore_win32'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_semaphore', 'VK_KHX_external_semaphore_capabilities' ]
|
|
extensions['VK_KHX_multiview'] = [ 'VK_KHR_get_physical_device_properties2' ]
|
|
extensions['VK_KHX_win32_keyed_mutex'] = [ 'VK_KHR_get_physical_device_properties2', 'VK_KHX_external_memory', 'VK_KHX_external_memory_capabilities', 'VK_KHX_external_memory_win32' ]
|
|
extensions['VK_MVK_ios_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_MVK_macos_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_NN_vi_surface'] = [ 'VK_KHR_surface' ]
|
|
extensions['VK_NV_external_memory'] = [ 'VK_NV_external_memory_capabilities' ]
|
|
extensions['VK_NV_external_memory_win32'] = [ 'VK_NV_external_memory', 'VK_NV_external_memory_capabilities' ]
|
|
extensions['VK_NV_win32_keyed_mutex'] = [ 'VK_NV_external_memory', 'VK_NV_external_memory_capabilities', 'VK_NV_external_memory_win32' ]
|
|
|
|
# Define lists of all / KHR / KHX extensions
|
|
allExts = [ 'VK_AMD_draw_indirect_count', 'VK_AMD_gcn_shader', 'VK_AMD_gpu_shader_half_float', 'VK_AMD_negative_viewport_height', 'VK_AMD_rasterization_order', 'VK_AMD_shader_ballot', 'VK_AMD_shader_explicit_vertex_parameter', 'VK_AMD_shader_trinary_minmax', 'VK_EXT_acquire_xlib_display', 'VK_EXT_debug_marker', 'VK_EXT_debug_report', 'VK_EXT_direct_mode_display', 'VK_EXT_discard_rectangles', 'VK_EXT_display_control', 'VK_EXT_display_surface_counter', 'VK_EXT_hdr_metadata', 'VK_EXT_shader_subgroup_ballot', 'VK_EXT_shader_subgroup_vote', 'VK_EXT_swapchain_colorspace', 'VK_EXT_validation_flags', 'VK_GOOGLE_display_timing', 'VK_IMG_filter_cubic', 'VK_IMG_format_pvrtc', 'VK_KHR_android_surface', 'VK_KHR_descriptor_update_template', 'VK_KHR_display', 'VK_KHR_display_swapchain', 'VK_KHR_get_physical_device_properties2', 'VK_KHR_incremental_present', 'VK_KHR_maintenance1', 'VK_KHR_mir_surface', 'VK_KHR_push_descriptor', 'VK_KHR_sampler_mirror_clamp_to_edge', 'VK_KHR_shader_draw_parameters', 'VK_KHR_surface', 'VK_KHR_swapchain', 'VK_KHR_wayland_surface', 'VK_KHR_win32_surface', 'VK_KHR_xcb_surface', 'VK_KHR_xlib_surface', 'VK_KHX_device_group', 'VK_KHX_device_group_creation', 'VK_KHX_external_memory', 'VK_KHX_external_memory_capabilities', 'VK_KHX_external_memory_fd', 'VK_KHX_external_memory_win32', 'VK_KHX_external_semaphore', 'VK_KHX_external_semaphore_capabilities', 'VK_KHX_external_semaphore_fd', 'VK_KHX_external_semaphore_win32', 'VK_KHX_multiview', 'VK_KHX_win32_keyed_mutex', 'VK_MVK_ios_surface', 'VK_MVK_macos_surface', 'VK_NN_vi_surface', 'VK_NVX_device_generated_commands', 'VK_NVX_multiview_per_view_attributes', 'VK_NV_clip_space_w_scaling', 'VK_NV_dedicated_allocation', 'VK_NV_external_memory', 'VK_NV_external_memory_capabilities', 'VK_NV_external_memory_win32', 'VK_NV_geometry_shader_passthrough', 'VK_NV_glsl_shader', 'VK_NV_sample_mask_override_coverage', 'VK_NV_viewport_array2', 'VK_NV_viewport_swizzle', 'VK_NV_win32_keyed_mutex' ]
|
|
khrExts = [ 'VK_KHR_android_surface', 'VK_KHR_descriptor_update_template', 'VK_KHR_display', 'VK_KHR_display_swapchain', 'VK_KHR_get_physical_device_properties2', 'VK_KHR_incremental_present', 'VK_KHR_maintenance1', 'VK_KHR_mir_surface', 'VK_KHR_push_descriptor', 'VK_KHR_sampler_mirror_clamp_to_edge', 'VK_KHR_shader_draw_parameters', 'VK_KHR_surface', 'VK_KHR_swapchain', 'VK_KHR_wayland_surface', 'VK_KHR_win32_surface', 'VK_KHR_xcb_surface', 'VK_KHR_xlib_surface' ]
|
|
khxExts = [ 'VK_KHX_device_group', 'VK_KHX_device_group_creation', 'VK_KHX_external_memory', 'VK_KHX_external_memory_capabilities', 'VK_KHX_external_memory_fd', 'VK_KHX_external_memory_win32', 'VK_KHX_external_semaphore', 'VK_KHX_external_semaphore_capabilities', 'VK_KHX_external_semaphore_fd', 'VK_KHX_external_semaphore_win32', 'VK_KHX_multiview', 'VK_KHX_win32_keyed_mutex' ]
|