Skip to content

Commit

Permalink
Merge pull request #173 from ThreeOfTwelve/vulkan-update-v1.2.154
Browse files Browse the repository at this point in the history
Update Vulkan to v1.2.154
  • Loading branch information
expipiplus1 committed Sep 27, 2020
2 parents 388e8df + 9a5a141 commit 0b98c60
Show file tree
Hide file tree
Showing 35 changed files with 3,557 additions and 71 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## WIP

## [3.6.7] - 2020-09-25
- Bump API version to v1.2.154

## [3.6.6] - 2020-08-27
- Bump API version to 1.2.152
- NoDuplicateRecordFields for Vulkan.Dynamic
Expand Down
2 changes: 1 addition & 1 deletion generate-new/Vulkan-Docs
Submodule Vulkan-Docs updated 99 files
+1 −1 .gitlab-ci.yml
+1 −1 CONTRIBUTING.adoc
+39 −2 ChangeLog.txt
+5 −4 Makefile
+4 −3 README.adoc
+3 −0 appendices/VK_AMD_gcn_shader.txt
+3 −2 appendices/VK_AMD_gpu_shader_half_float.txt
+1 −2 appendices/VK_AMD_gpu_shader_int16.txt
+3 −0 appendices/VK_AMD_shader_ballot.txt
+3 −0 appendices/VK_AMD_shader_explicit_vertex_parameter.txt
+2 −3 appendices/VK_AMD_shader_fragment_mask.txt
+2 −4 appendices/VK_AMD_shader_image_load_store_lod.txt
+3 −0 appendices/VK_AMD_shader_trinary_minmax.txt
+1 −2 appendices/VK_AMD_texture_gather_bias_lod.txt
+3 −0 appendices/VK_EXT_buffer_device_address.txt
+7 −7 appendices/VK_EXT_conservative_rasterization.txt
+1 −2 appendices/VK_EXT_fragment_density_map.txt
+3 −5 appendices/VK_EXT_fragment_shader_interlock.txt
+18 −4 appendices/VK_EXT_memory_budget.txt
+3 −5 appendices/VK_EXT_post_depth_coverage.txt
+2 −4 appendices/VK_EXT_shader_atomic_float.txt
+3 −0 appendices/VK_EXT_shader_demote_to_helper_invocation.txt
+3 −2 appendices/VK_EXT_shader_stencil_export.txt
+3 −5 appendices/VK_EXT_shader_subgroup_ballot.txt
+3 −5 appendices/VK_EXT_shader_subgroup_vote.txt
+3 −6 appendices/VK_EXT_shader_viewport_index_layer.txt
+1 −2 appendices/VK_GOOGLE_decorate_string.txt
+1 −2 appendices/VK_GOOGLE_hlsl_functionality1.txt
+1 −2 appendices/VK_GOOGLE_user_type.txt
+3 −1 appendices/VK_KHR_16bit_storage.txt
+4 −3 appendices/VK_KHR_8bit_storage.txt
+70 −4 appendices/VK_KHR_buffer_device_address.txt
+42 −0 appendices/VK_KHR_copy_commands2.txt
+35 −2 appendices/VK_KHR_depth_stencil_resolve.txt
+5 −2 appendices/VK_KHR_draw_indirect_count.txt
+31 −7 appendices/VK_KHR_multiview.txt
+59 −0 appendices/VK_KHR_portability_subset.txt
+2 −4 appendices/VK_KHR_ray_tracing.txt
+10 −3 appendices/VK_KHR_sampler_ycbcr_conversion.txt
+2 −3 appendices/VK_KHR_shader_atomic_int64.txt
+2 −4 appendices/VK_KHR_shader_clock.txt
+2 −4 appendices/VK_KHR_shader_draw_parameters.txt
+4 −3 appendices/VK_KHR_shader_float16_int8.txt
+2 −3 appendices/VK_KHR_shader_float_controls.txt
+1 −2 appendices/VK_KHR_shader_non_semantic_info.txt
+2 −0 appendices/VK_KHR_shader_subgroup_extended_types.txt
+1 −2 appendices/VK_KHR_storage_buffer_storage_class.txt
+1 −2 appendices/VK_KHR_variable_pointers.txt
+3 −4 appendices/VK_NVX_multiview_per_view_attributes.txt
+5 −0 appendices/VK_NV_compute_shader_derivatives.txt
+5 −0 appendices/VK_NV_cooperative_matrix.txt
+4 −3 appendices/VK_NV_fragment_shader_barycentric.txt
+2 −4 appendices/VK_NV_geometry_shader_passthrough.txt
+5 −0 appendices/VK_NV_mesh_shader.txt
+3 −5 appendices/VK_NV_ray_tracing.txt
+2 −4 appendices/VK_NV_sample_mask_override_coverage.txt
+5 −0 appendices/VK_NV_shader_image_footprint.txt
+5 −0 appendices/VK_NV_shader_subgroup_partitioned.txt
+5 −0 appendices/VK_NV_shading_rate_image.txt
+3 −5 appendices/VK_NV_viewport_array2.txt
+156 −51 appendices/memorymodel.txt
+18 −1 appendices/spirvenv.txt
+2 −1 azure-pipelines.yml
+6 −6 chapters/VK_EXT_hdr_metadata.txt
+1 −1 chapters/VK_KHR_swapchain/wsi.txt
+5 −2 chapters/VK_NV_ray_tracing/raytracing.txt
+537 −3 chapters/copies.txt
+7 −0 chapters/descriptorsets.txt
+7 −1 chapters/devsandqueues.txt
+24 −0 chapters/drawing.txt
+88 −2 chapters/features.txt
+22 −4 chapters/formats.txt
+12 −0 chapters/fragops.txt
+14 −0 chapters/framebuffer.txt
+17 −0 chapters/fundamentals.txt
+15 −0 chapters/fxvertex.txt
+2 −1 chapters/interfaces.txt
+12 −0 chapters/introduction.txt
+54 −4 chapters/limits.txt
+2 −6 chapters/memory.txt
+7 −0 chapters/primsrast.txt
+1 −1 chapters/renderpass.txt
+39 −2 chapters/resources.txt
+6 −0 chapters/samplers.txt
+1 −1 chapters/sparsemem.txt
+25 −0 chapters/synchronization.txt
+35 −0 chapters/tessellation.txt
+0 −1 config/spec-macros.rb
+0 −9 config/spec-macros/extension.rb
+15 −7 config/vuid-expander.rb
+4 −3 registry.txt
+1 −1 scripts/genvk.py
+20 −20 style/extensions.txt
+27 −19 style/markup.txt
+10 −10 style/vuid.txt
+7 −3 style/writing.txt
+4 −0 styleguide.txt
+4 −2 xml/README.adoc
+230 −19 xml/vk.xml
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: vulkan
version: 3.6.6
version: 3.6.7
synopsis: Bindings to the Vulkan graphics API.
category: Graphics
maintainer: Joe Hermaszewski <live.long.and.prosper@monoid.al>
Expand Down
20 changes: 20 additions & 0 deletions src/Vulkan/CStruct/Extends.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,14 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_NV_device_generated_commands (BindInd
import {-# SOURCE #-} Vulkan.Extensions.VK_NV_device_generated_commands (BindShaderGroupIndirectCommandNV)
import {-# SOURCE #-} Vulkan.Core10.SparseResourceMemoryManagement (BindSparseInfo)
import {-# SOURCE #-} Vulkan.Extensions.VK_NV_device_generated_commands (BindVertexBufferIndirectCommandNV)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (BlitImageInfo2KHR)
import {-# SOURCE #-} Vulkan.Core10.CommandBufferBuilding (BufferCopy)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (BufferCopy2KHR)
import {-# SOURCE #-} Vulkan.Core10.Buffer (BufferCreateInfo)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_buffer_device_address (BufferDeviceAddressCreateInfoEXT)
import {-# SOURCE #-} Vulkan.Core12.Promoted_From_VK_KHR_buffer_device_address (BufferDeviceAddressInfo)
import {-# SOURCE #-} Vulkan.Core10.CommandBufferBuilding (BufferImageCopy)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (BufferImageCopy2KHR)
import {-# SOURCE #-} Vulkan.Core10.OtherTypes (BufferMemoryBarrier)
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_get_memory_requirements2 (BufferMemoryRequirementsInfo2)
import {-# SOURCE #-} Vulkan.Core12.Promoted_From_VK_KHR_buffer_device_address (BufferOpaqueCaptureAddressCreateInfo)
Expand All @@ -114,7 +117,11 @@ import {-# SOURCE #-} Vulkan.Core12.Promoted_From_VK_KHR_driver_properties (Conf
import {-# SOURCE #-} Vulkan.Extensions.VK_NV_cooperative_matrix (CooperativeMatrixPropertiesNV)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_ray_tracing (CopyAccelerationStructureInfoKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_ray_tracing (CopyAccelerationStructureToMemoryInfoKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (CopyBufferInfo2KHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (CopyBufferToImageInfo2KHR)
import {-# SOURCE #-} Vulkan.Core10.DescriptorSet (CopyDescriptorSet)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (CopyImageInfo2KHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (CopyImageToBufferInfo2KHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_ray_tracing (CopyMemoryToAccelerationStructureInfoKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_external_semaphore_win32 (D3D12FenceSubmitInfoKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_debug_marker (DebugMarkerMarkerInfoEXT)
Expand Down Expand Up @@ -231,7 +238,9 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_hdr_metadata (HdrMetadataEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_headless_surface (HeadlessSurfaceCreateInfoEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_MVK_ios_surface (IOSSurfaceCreateInfoMVK)
import {-# SOURCE #-} Vulkan.Core10.CommandBufferBuilding (ImageBlit)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (ImageBlit2KHR)
import {-# SOURCE #-} Vulkan.Core10.CommandBufferBuilding (ImageCopy)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (ImageCopy2KHR)
import {-# SOURCE #-} Vulkan.Core10.Image (ImageCreateInfo)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_image_drm_format_modifier (ImageDrmFormatModifierExplicitCreateInfoEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_image_drm_format_modifier (ImageDrmFormatModifierListCreateInfoEXT)
Expand All @@ -244,6 +253,7 @@ import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_get_memory_requirements
import {-# SOURCE #-} Vulkan.Extensions.VK_FUCHSIA_imagepipe_surface (ImagePipeSurfaceCreateInfoFUCHSIA)
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_sampler_ycbcr_conversion (ImagePlaneMemoryRequirementsInfo)
import {-# SOURCE #-} Vulkan.Core10.CommandBufferBuilding (ImageResolve)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (ImageResolve2KHR)
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_get_memory_requirements2 (ImageSparseMemoryRequirementsInfo2)
import {-# SOURCE #-} Vulkan.Core12.Promoted_From_VK_EXT_separate_stencil_usage (ImageStencilUsageCreateInfo)
import {-# SOURCE #-} Vulkan.Core10.SparseResourceMemoryManagement (ImageSubresource)
Expand Down Expand Up @@ -377,6 +387,8 @@ import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevice
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_creation_cache_control (PhysicalDevicePipelineCreationCacheControlFeaturesEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_pipeline_executable_properties (PhysicalDevicePipelineExecutablePropertiesFeaturesKHR)
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_maintenance2 (PhysicalDevicePointClippingProperties)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_portability_subset (PhysicalDevicePortabilitySubsetFeaturesKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_portability_subset (PhysicalDevicePortabilitySubsetPropertiesKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_private_data (PhysicalDevicePrivateDataFeaturesEXT)
import {-# SOURCE #-} Vulkan.Core10.DeviceInitialization (PhysicalDeviceProperties)
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_get_physical_device_properties2 (PhysicalDeviceProperties2)
Expand Down Expand Up @@ -507,6 +519,7 @@ import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_maintenance2 (RenderPas
import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_multiview (RenderPassMultiviewCreateInfo)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_sample_locations (RenderPassSampleLocationsBeginInfoEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_QCOM_render_pass_transform (RenderPassTransformBeginInfoQCOM)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_copy_commands2 (ResolveImageInfo2KHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_sample_locations (SampleLocationEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_sample_locations (SampleLocationsInfoEXT)
import {-# SOURCE #-} Vulkan.Core10.Sampler (SamplerCreateInfo)
Expand Down Expand Up @@ -802,6 +815,7 @@ type family Extends (a :: [Type] -> Type) (b :: Type) :: Constraint where
Extends DeviceCreateInfo DeviceDiagnosticsConfigCreateInfoNV = ()
Extends DeviceCreateInfo PhysicalDeviceRobustness2FeaturesEXT = ()
Extends DeviceCreateInfo PhysicalDeviceImageRobustnessFeaturesEXT = ()
Extends DeviceCreateInfo PhysicalDevicePortabilitySubsetFeaturesKHR = ()
Extends DeviceCreateInfo PhysicalDevice4444FormatsFeaturesEXT = ()
Extends DeviceQueueCreateInfo DeviceQueueGlobalPriorityCreateInfoEXT = ()
Extends FenceCreateInfo ExportFenceCreateInfo = ()
Expand Down Expand Up @@ -919,6 +933,7 @@ type family Extends (a :: [Type] -> Type) (b :: Type) :: Constraint where
Extends PhysicalDeviceFeatures2 PhysicalDeviceDiagnosticsConfigFeaturesNV = ()
Extends PhysicalDeviceFeatures2 PhysicalDeviceRobustness2FeaturesEXT = ()
Extends PhysicalDeviceFeatures2 PhysicalDeviceImageRobustnessFeaturesEXT = ()
Extends PhysicalDeviceFeatures2 PhysicalDevicePortabilitySubsetFeaturesKHR = ()
Extends PhysicalDeviceFeatures2 PhysicalDevice4444FormatsFeaturesEXT = ()
Extends PhysicalDeviceImageFormatInfo2 PhysicalDeviceExternalImageFormatInfo = ()
Extends PhysicalDeviceImageFormatInfo2 ImageFormatListCreateInfo = ()
Expand Down Expand Up @@ -968,6 +983,7 @@ type family Extends (a :: [Type] -> Type) (b :: Type) :: Constraint where
Extends PhysicalDeviceProperties2 PhysicalDeviceVulkan12Properties = ()
Extends PhysicalDeviceProperties2 PhysicalDeviceCustomBorderColorPropertiesEXT = ()
Extends PhysicalDeviceProperties2 PhysicalDeviceRobustness2PropertiesEXT = ()
Extends PhysicalDeviceProperties2 PhysicalDevicePortabilitySubsetPropertiesKHR = ()
Extends PhysicalDeviceSurfaceInfo2KHR SurfaceFullScreenExclusiveInfoEXT = ()
Extends PhysicalDeviceSurfaceInfo2KHR SurfaceFullScreenExclusiveWin32InfoEXT = ()
Extends PipelineColorBlendStateCreateInfo PipelineColorBlendAdvancedStateCreateInfoEXT = ()
Expand Down Expand Up @@ -1381,6 +1397,8 @@ peekChainHead ty p c = case ty of
STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT -> go @PhysicalDeviceRobustness2FeaturesEXT
STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT -> go @PhysicalDeviceRobustness2PropertiesEXT
STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT -> go @PhysicalDeviceImageRobustnessFeaturesEXT
STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR -> go @PhysicalDevicePortabilitySubsetFeaturesKHR
STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR -> go @PhysicalDevicePortabilitySubsetPropertiesKHR
STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT -> go @PhysicalDevice4444FormatsFeaturesEXT
t -> throwIO $ IOError Nothing InvalidArgument "peekChainHead" ("Unrecognized struct type: " <> show t) Nothing Nothing
where
Expand Down Expand Up @@ -1678,6 +1696,8 @@ infix 6 ::&
{-# complete (::&) :: PhysicalDeviceRobustness2FeaturesEXT #-}
{-# complete (::&) :: PhysicalDeviceRobustness2PropertiesEXT #-}
{-# complete (::&) :: PhysicalDeviceImageRobustnessFeaturesEXT #-}
{-# complete (::&) :: PhysicalDevicePortabilitySubsetFeaturesKHR #-}
{-# complete (::&) :: PhysicalDevicePortabilitySubsetPropertiesKHR #-}
{-# complete (::&) :: PhysicalDevice4444FormatsFeaturesEXT #-}

-- | View the head and tail of a 'Chain', see '::&'
Expand Down
5 changes: 4 additions & 1 deletion src/Vulkan/Core10/CommandBufferBuilding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9209,8 +9209,11 @@ instance Zero ClearRect where
-- = See Also
--
-- 'BufferImageCopy',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.BufferImageCopy2KHR',
-- 'Vulkan.Core10.Enums.ImageAspectFlagBits.ImageAspectFlags', 'ImageBlit',
-- 'ImageCopy', 'ImageResolve'
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.ImageBlit2KHR', 'ImageCopy',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.ImageCopy2KHR', 'ImageResolve',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.ImageResolve2KHR'
data ImageSubresourceLayers = ImageSubresourceLayers
{ -- | @aspectMask@ is a combination of
-- 'Vulkan.Core10.Enums.ImageAspectFlagBits.ImageAspectFlagBits', selecting
Expand Down
7 changes: 7 additions & 0 deletions src/Vulkan/Core10/DescriptorSet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,13 @@ instance Zero DescriptorBufferInfo where
-- or (for three-plane formats only)
-- 'Vulkan.Core10.Enums.ImageAspectFlagBits.IMAGE_ASPECT_PLANE_2_BIT'
--
-- - If the @VK_KHR_portability_subset@ extension is enabled, and
-- 'Vulkan.Extensions.VK_KHR_portability_subset.PhysicalDevicePortabilitySubsetFeaturesKHR'::@mutableComparisonSamplers@
-- is 'Vulkan.Core10.FundamentalTypes.FALSE', then @sampler@ /must/
-- have been created with
-- 'Vulkan.Core10.Sampler.SamplerCreateInfo'::@compareEnable@ set to
-- 'Vulkan.Core10.FundamentalTypes.FALSE'.
--
-- == Valid Usage (Implicit)
--
-- - Both of @imageView@, and @sampler@ that are valid handles of
Expand Down
8 changes: 8 additions & 0 deletions src/Vulkan/Core10/Device.hs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ import {-# SOURCE #-} Vulkan.Core11.Promoted_From_VK_KHR_multiview (PhysicalDevi
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_performance_query (PhysicalDevicePerformanceQueryFeaturesKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_pipeline_creation_cache_control (PhysicalDevicePipelineCreationCacheControlFeaturesEXT)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_pipeline_executable_properties (PhysicalDevicePipelineExecutablePropertiesFeaturesKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_portability_subset (PhysicalDevicePortabilitySubsetFeaturesKHR)
import {-# SOURCE #-} Vulkan.Extensions.VK_EXT_private_data (PhysicalDevicePrivateDataFeaturesEXT)
import {-# SOURCE #-} Vulkan.Core11.Originally_Based_On_VK_KHR_protected_memory (PhysicalDeviceProtectedMemoryFeatures)
import {-# SOURCE #-} Vulkan.Extensions.VK_KHR_ray_tracing (PhysicalDeviceRayTracingFeaturesKHR)
Expand Down Expand Up @@ -591,6 +592,11 @@ instance es ~ '[] => Zero (DeviceQueueCreateInfo es) where
-- 'Vulkan.Core12.PhysicalDeviceVulkan12Features'::@shaderOutputLayer@
-- /must/ both be 'Vulkan.Core10.FundamentalTypes.TRUE'
--
-- - If the @VK_KHR_portability_subset@ extension is included in
-- @pProperties@ of
-- 'Vulkan.Core10.ExtensionDiscovery.enumerateDeviceExtensionProperties',
-- @ppEnabledExtensions@ /must/ include \"VK_KHR_portability_subset\".
--
-- == Valid Usage (Implicit)
--
-- - @sType@ /must/ be
Expand Down Expand Up @@ -641,6 +647,7 @@ instance es ~ '[] => Zero (DeviceQueueCreateInfo es) where
-- 'Vulkan.Extensions.VK_KHR_performance_query.PhysicalDevicePerformanceQueryFeaturesKHR',
-- 'Vulkan.Extensions.VK_EXT_pipeline_creation_cache_control.PhysicalDevicePipelineCreationCacheControlFeaturesEXT',
-- 'Vulkan.Extensions.VK_KHR_pipeline_executable_properties.PhysicalDevicePipelineExecutablePropertiesFeaturesKHR',
-- 'Vulkan.Extensions.VK_KHR_portability_subset.PhysicalDevicePortabilitySubsetFeaturesKHR',
-- 'Vulkan.Extensions.VK_EXT_private_data.PhysicalDevicePrivateDataFeaturesEXT',
-- 'Vulkan.Core11.Originally_Based_On_VK_KHR_protected_memory.PhysicalDeviceProtectedMemoryFeatures',
-- 'Vulkan.Extensions.VK_KHR_ray_tracing.PhysicalDeviceRayTracingFeaturesKHR',
Expand Down Expand Up @@ -745,6 +752,7 @@ instance Extensible DeviceCreateInfo where
extends :: forall e b proxy. Typeable e => proxy e -> (Extends DeviceCreateInfo e => b) -> Maybe b
extends _ f
| Just Refl <- eqT @e @PhysicalDevice4444FormatsFeaturesEXT = Just f
| Just Refl <- eqT @e @PhysicalDevicePortabilitySubsetFeaturesKHR = Just f
| Just Refl <- eqT @e @PhysicalDeviceImageRobustnessFeaturesEXT = Just f
| Just Refl <- eqT @e @PhysicalDeviceRobustness2FeaturesEXT = Just f
| Just Refl <- eqT @e @DeviceDiagnosticsConfigCreateInfoNV = Just f
Expand Down
8 changes: 6 additions & 2 deletions src/Vulkan/Core10/DeviceInitialization.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4280,14 +4280,18 @@ data PhysicalDeviceLimits = PhysicalDeviceLimits
standardSampleLocations :: Bool
, -- | @optimalBufferCopyOffsetAlignment@ is the optimal buffer offset
-- alignment in bytes for
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyBufferToImage' and
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdCopyBufferToImage2KHR',
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyBufferToImage',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdCopyImageToBuffer2KHR', and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyImageToBuffer'. The per
-- texel alignment requirements are enforced, but applications /should/ use
-- the optimal alignment for optimal performance and power use.
optimalBufferCopyOffsetAlignment :: DeviceSize
, -- | @optimalBufferCopyRowPitchAlignment@ is the optimal buffer row pitch
-- alignment in bytes for
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyBufferToImage' and
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdCopyBufferToImage2KHR',
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyBufferToImage',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdCopyImageToBuffer2KHR', and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdCopyImageToBuffer'. Row pitch is
-- the number of bytes between texels with the same X coordinate in
-- adjacent rows (Y coordinates differ by one). The per texel alignment
Expand Down
1 change: 1 addition & 0 deletions src/Vulkan/Core10/Enums/Filter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import Vulkan.Zero (Zero)
--
-- = See Also
--
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.BlitImageInfo2KHR',
-- 'Vulkan.Core10.Sampler.SamplerCreateInfo',
-- 'Vulkan.Core11.Promoted_From_VK_KHR_sampler_ycbcr_conversion.SamplerYcbcrConversionCreateInfo',
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage'
Expand Down
24 changes: 15 additions & 9 deletions src/Vulkan/Core10/Enums/FormatFeatureFlagBits.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ import Vulkan.Zero (Zero)
--
-- - 'FORMAT_FEATURE_BLIT_SRC_BIT' specifies that an image /can/ be used
-- as @srcImage@ for the
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' command.
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR' and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' commands.
--
-- - 'FORMAT_FEATURE_BLIT_DST_BIT' specifies that an image /can/ be used
-- as @dstImage@ for the
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' command.
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR' and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' commands.
--
-- - 'FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT' specifies that if
-- 'FORMAT_FEATURE_SAMPLED_IMAGE_BIT' is also set, an image view /can/
Expand All @@ -98,6 +100,7 @@ import Vulkan.Zero (Zero)
-- 'Vulkan.Core10.Enums.SamplerMipmapMode.SAMPLER_MIPMAP_MODE_LINEAR'.
-- If 'FORMAT_FEATURE_BLIT_SRC_BIT' is also set, an image can be used
-- as the @srcImage@ to
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR' and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' with a @filter@
-- of 'Vulkan.Core10.Enums.Filter.FILTER_LINEAR'. This bit /must/ only
-- be exposed for formats that also support the
Expand Down Expand Up @@ -279,22 +282,25 @@ pattern FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = FormatFeatureFlagBits 0x0000
-- input attachment.
pattern FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = FormatFeatureFlagBits 0x00000200
-- | 'FORMAT_FEATURE_BLIT_SRC_BIT' specifies that an image /can/ be used as
-- @srcImage@ for the 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage'
-- command.
-- @srcImage@ for the
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR' and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' commands.
pattern FORMAT_FEATURE_BLIT_SRC_BIT = FormatFeatureFlagBits 0x00000400
-- | 'FORMAT_FEATURE_BLIT_DST_BIT' specifies that an image /can/ be used as
-- @dstImage@ for the 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage'
-- command.
-- @dstImage@ for the
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR' and
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' commands.
pattern FORMAT_FEATURE_BLIT_DST_BIT = FormatFeatureFlagBits 0x00000800
-- | 'FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT' specifies that if
-- 'FORMAT_FEATURE_SAMPLED_IMAGE_BIT' is also set, an image view /can/ be
-- used with a sampler that has either of @magFilter@ or @minFilter@ set to
-- 'Vulkan.Core10.Enums.Filter.FILTER_LINEAR', or @mipmapMode@ set to
-- 'Vulkan.Core10.Enums.SamplerMipmapMode.SAMPLER_MIPMAP_MODE_LINEAR'. If
-- 'FORMAT_FEATURE_BLIT_SRC_BIT' is also set, an image can be used as the
-- @srcImage@ to 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' with a
-- @filter@ of 'Vulkan.Core10.Enums.Filter.FILTER_LINEAR'. This bit /must/
-- only be exposed for formats that also support the
-- @srcImage@ to 'Vulkan.Extensions.VK_KHR_copy_commands2.cmdBlitImage2KHR'
-- and 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage' with a @filter@
-- of 'Vulkan.Core10.Enums.Filter.FILTER_LINEAR'. This bit /must/ only be
-- exposed for formats that also support the
-- 'FORMAT_FEATURE_SAMPLED_IMAGE_BIT' or 'FORMAT_FEATURE_BLIT_SRC_BIT'.
--
-- If the format being queried is a depth\/stencil format, this bit only
Expand Down
5 changes: 5 additions & 0 deletions src/Vulkan/Core10/Enums/ImageLayout.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,14 @@ import Vulkan.Zero (Zero)
-- 'Vulkan.Core10.Pass.AttachmentReference',
-- 'Vulkan.Core12.Promoted_From_VK_KHR_create_renderpass2.AttachmentReference2',
-- 'Vulkan.Core12.Promoted_From_VK_KHR_separate_depth_stencil_layouts.AttachmentReferenceStencilLayout',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.BlitImageInfo2KHR',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.CopyBufferToImageInfo2KHR',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.CopyImageInfo2KHR',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.CopyImageToBufferInfo2KHR',
-- 'Vulkan.Core10.DescriptorSet.DescriptorImageInfo',
-- 'Vulkan.Core10.Image.ImageCreateInfo',
-- 'Vulkan.Core10.OtherTypes.ImageMemoryBarrier',
-- 'Vulkan.Extensions.VK_KHR_copy_commands2.ResolveImageInfo2KHR',
-- 'Vulkan.Extensions.VK_NV_shading_rate_image.cmdBindShadingRateImageNV',
-- 'Vulkan.Core10.CommandBufferBuilding.cmdBlitImage',
-- 'Vulkan.Core10.CommandBufferBuilding.cmdClearColorImage',
Expand Down
Loading

0 comments on commit 0b98c60

Please sign in to comment.