content: {-# language CPP #-}
  -- No documentation found for Chapter "AccessFlagBits"
  module Vulkan.Core10.Enums.AccessFlagBits  ( AccessFlags
                                             , AccessFlagBits( ACCESS_INDIRECT_COMMAND_READ_BIT
                                                             , ACCESS_INDEX_READ_BIT
                                                             , ACCESS_VERTEX_ATTRIBUTE_READ_BIT
                                                             , ACCESS_UNIFORM_READ_BIT
                                                             , ACCESS_INPUT_ATTACHMENT_READ_BIT
                                                             , ACCESS_SHADER_READ_BIT
                                                             , ACCESS_SHADER_WRITE_BIT
                                                             , ACCESS_COLOR_ATTACHMENT_READ_BIT
                                                             , ACCESS_COLOR_ATTACHMENT_WRITE_BIT
                                                             , ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT
                                                             , ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT
                                                             , ACCESS_TRANSFER_READ_BIT
                                                             , ACCESS_TRANSFER_WRITE_BIT
                                                             , ACCESS_HOST_READ_BIT
                                                             , ACCESS_HOST_WRITE_BIT
                                                             , ACCESS_MEMORY_READ_BIT
                                                             , ACCESS_MEMORY_WRITE_BIT
                                                             , ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV
                                                             , ACCESS_COMMAND_PREPROCESS_READ_BIT_NV
                                                             , ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR
                                                             , ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT
                                                             , ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR
                                                             , ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR
                                                             , ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT
                                                             , ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT
                                                             , ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT
                                                             , ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT
                                                             , ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT
                                                             , ACCESS_NONE
                                                             , ..
                                                             )
                                             ) where
  
  import Data.Bits (Bits)
  import Data.Bits (FiniteBits)
  import Vulkan.Internal.Utils (enumReadPrec)
  import Vulkan.Internal.Utils (enumShowsPrec)
  import GHC.Show (showString)
  import Numeric (showHex)
  import Vulkan.Zero (Zero)
  import Foreign.Storable (Storable)
  import GHC.Read (Read(readPrec))
  import GHC.Show (Show(showsPrec))
  import Vulkan.Core10.FundamentalTypes (Flags)
  type AccessFlags = AccessFlagBits
  
  -- | VkAccessFlagBits - Bitmask specifying memory access types that will
  -- participate in a memory dependency
  --
  -- = Description
  --
  -- These values all have the same meaning as the equivalently named values
  -- for 'Vulkan.Core13.Enums.AccessFlags2.AccessFlags2'.
  --
  -- Certain access types are only performed by a subset of pipeline stages.
  -- Any synchronization command that takes both stage masks and access masks
  -- uses both to define the
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#synchronization-dependencies-access-scopes access scopes>
  -- - only the specified access types performed by the specified stages are
  -- included in the access scope. An application /must/ not specify an
  -- access flag in a synchronization command if it does not include a
  -- pipeline stage in the corresponding stage mask that is able to perform
  -- accesses of that type. The following table lists, for each access flag,
  -- which pipeline stages /can/ perform that type of access.
  --
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | Access flag                                                                               | Supported pipeline stages                                                                           |
  -- +===========================================================================================+=====================================================================================================+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_NONE'                                          | Any                                                                                                 |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_INDIRECT_COMMAND_READ_BIT'                     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_DRAW_INDIRECT_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR'     |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_INDEX_READ_BIT'                                | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_INPUT_BIT',                        |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_INDEX_INPUT_BIT'                          |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT'                     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_INPUT_BIT',                        |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT'               |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_UNIFORM_READ_BIT'                              | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_INPUT_ATTACHMENT_READ_BIT'                     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI'                |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_READ_BIT'                               | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR',    |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT',                  |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_WRITE_BIT'                              | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_COLOR_ATTACHMENT_READ_BIT'                     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT'              |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT'                    | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT'              |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT'             | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT',                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT'                  |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT'            | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT',                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT'                  |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_TRANSFER_READ_BIT'                             | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ALL_TRANSFER_BIT',                        |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COPY_BIT',                                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RESOLVE_BIT',                             |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_BLIT_BIT',                                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR',    |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR',     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT'                   |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_TRANSFER_WRITE_BIT'                            | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ALL_TRANSFER_BIT',                        |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COPY_BIT',                                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RESOLVE_BIT',                             |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_BLIT_BIT',                                |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLEAR_BIT',                               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR',    |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR',     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT'                   |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_HOST_READ_BIT'                                 | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_HOST_BIT'                                 |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_HOST_WRITE_BIT'                                | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_HOST_BIT'                                 |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_MEMORY_READ_BIT'                               | Any                                                                                                 |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_MEMORY_WRITE_BIT'                              | Any                                                                                                 |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_SAMPLED_READ_BIT'                       | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_STORAGE_READ_BIT'                       | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_STORAGE_WRITE_BIT'                      | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | @VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR@                                                   | @VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR@                                                          |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | @VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR@                                                  | @VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR@                                                          |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | @VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR@                                                   | @VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR@                                                          |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | @VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR@                                                  | @VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR@                                                          |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT'              | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT'               |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT'       | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_DRAW_INDIRECT_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT'               |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT'      | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT'               |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT'            | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT'            |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV'                | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV'                |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV'               | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV'                |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR' | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR' |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR'           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI',       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR',    |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR',     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI'                |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR'          | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR',    |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR'      |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT'             | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT'         |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT'     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT'              |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_DESCRIPTOR_BUFFER_READ_BIT_EXT'                | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_INVOCATION_MASK_READ_BIT_HUAWEI'               | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI'               |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR'             | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_VERTEX_SHADER_BIT',                       |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT',         |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT',      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_COMPUTE_SHADER_BIT',                      |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR',              |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT',                     |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI',               |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI'        |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_MICROMAP_READ_BIT_EXT'                         | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT',                  |
  -- |                                                                                           | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR'     |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_MICROMAP_WRITE_BIT_EXT'                        | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT'                   |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_OPTICAL_FLOW_READ_BIT_NV'                      | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV'                      |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  -- | 'Vulkan.Core13.Enums.AccessFlags2.ACCESS_2_OPTICAL_FLOW_WRITE_BIT_NV'                     | 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_OPTICAL_FLOW_BIT_NV'                      |
  -- +-------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
  --
  -- Supported access types
  --
  -- = See Also
  --
  -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VK_VERSION_1_0 VK_VERSION_1_0>,
  -- 'AccessFlags'
  newtype AccessFlagBits = AccessFlagBits Flags
    deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits)
  
  -- | 'ACCESS_INDIRECT_COMMAND_READ_BIT' specifies read access to indirect
  -- command data read as part of an indirect build, trace, drawing or
  -- dispatching command. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_DRAW_INDIRECT_BIT'
  -- pipeline stage.
  pattern ACCESS_INDIRECT_COMMAND_READ_BIT = AccessFlagBits 0x00000001
  
  -- | 'ACCESS_INDEX_READ_BIT' specifies read access to an index buffer as part
  -- of an indexed drawing command, bound by
  -- 'Vulkan.Extensions.VK_KHR_maintenance5.cmdBindIndexBuffer2KHR' and
  -- 'Vulkan.Core10.CommandBufferBuilding.cmdBindIndexBuffer'. Such access
  -- occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_VERTEX_INPUT_BIT'
  -- pipeline stage.
  pattern ACCESS_INDEX_READ_BIT = AccessFlagBits 0x00000002
  
  -- | 'ACCESS_VERTEX_ATTRIBUTE_READ_BIT' specifies read access to a vertex
  -- buffer as part of a drawing command, bound by
  -- 'Vulkan.Core10.CommandBufferBuilding.cmdBindVertexBuffers'. Such access
  -- occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_VERTEX_INPUT_BIT'
  -- pipeline stage.
  pattern ACCESS_VERTEX_ATTRIBUTE_READ_BIT = AccessFlagBits 0x00000004
  
  -- | 'ACCESS_UNIFORM_READ_BIT' specifies read access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-uniformbuffer uniform buffer>
  -- in any shader pipeline stage.
  pattern ACCESS_UNIFORM_READ_BIT = AccessFlagBits 0x00000008
  
  -- | 'ACCESS_INPUT_ATTACHMENT_READ_BIT' specifies read access to an
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass input attachment>
  -- within a render pass during subpass shading or fragment shading. Such
  -- access occurs in the
  -- 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI'
  -- or
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_FRAGMENT_SHADER_BIT'
  -- pipeline stage.
  pattern ACCESS_INPUT_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000010
  
  -- | 'ACCESS_SHADER_READ_BIT' specifies read access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-uniformtexelbuffer uniform texel buffer>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-sampledimage sampled image>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storagebuffer storage buffer>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-physical-storage-buffer physical storage buffer>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#shader-binding-table shader binding table>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storagetexelbuffer storage texel buffer>,
  -- or
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storageimage storage image>
  -- in any shader pipeline stage.
  pattern ACCESS_SHADER_READ_BIT = AccessFlagBits 0x00000020
  
  -- | 'ACCESS_SHADER_WRITE_BIT' specifies write access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storagebuffer storage buffer>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-physical-storage-buffer physical storage buffer>,
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storagetexelbuffer storage texel buffer>,
  -- or
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#descriptorsets-storageimage storage image>
  -- in any shader pipeline stage.
  pattern ACCESS_SHADER_WRITE_BIT = AccessFlagBits 0x00000040
  
  -- | 'ACCESS_COLOR_ATTACHMENT_READ_BIT' specifies read access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass color attachment>,
  -- such as via
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-blending blending>
  -- (other than
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-blend-advanced advanced blend operations>),
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-logicop logic operations>
  -- or certain
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-operations render pass load operations>
  -- in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT'
  -- pipeline stage or via
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads fragment shader tile image reads>
  -- in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_FRAGMENT_SHADER_BIT'
  -- pipeline stage.
  pattern ACCESS_COLOR_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000080
  
  -- | 'ACCESS_COLOR_ATTACHMENT_WRITE_BIT' specifies write access to a
  -- <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#renderpass color, resolve, or depth\/stencil resolve attachment>
  -- during a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass render pass>
  -- or via certain render pass
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-operations load>
  -- and
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-store-operations store>
  -- operations. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT'
  -- pipeline stage.
  pattern ACCESS_COLOR_ATTACHMENT_WRITE_BIT = AccessFlagBits 0x00000100
  
  -- | 'ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT' specifies read access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass depth\/stencil attachment>,
  -- via
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-ds-state depth or stencil operations>
  -- or certain
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-operations render pass load operations>
  -- in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT'
  -- or
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT'
  -- pipeline stages or via
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-shader-tileimage-reads fragment shader tile image reads>
  -- in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_FRAGMENT_SHADER_BIT'
  -- pipeline stage.
  pattern ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000200
  
  -- | 'ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT' specifies write access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass depth\/stencil attachment>,
  -- via
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-ds-state depth or stencil operations>
  -- or certain render pass
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-load-operations load>
  -- and
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-store-operations store>
  -- operations. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT'
  -- or
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT'
  -- pipeline stages.
  pattern ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = AccessFlagBits 0x00000400
  
  -- | 'ACCESS_TRANSFER_READ_BIT' specifies read access to an image or buffer
  -- in a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#copies copy>
  -- operation. Such access occurs in the
  -- 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ALL_TRANSFER_BIT'
  -- pipeline stage.
  pattern ACCESS_TRANSFER_READ_BIT = AccessFlagBits 0x00000800
  
  -- | 'ACCESS_TRANSFER_WRITE_BIT' specifies write access to an image or buffer
  -- in a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#clears clear>
  -- or
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#copies copy>
  -- operation. Such access occurs in the
  -- 'Vulkan.Core13.Enums.PipelineStageFlags2.PIPELINE_STAGE_2_ALL_TRANSFER_BIT'
  -- pipeline stage.
  pattern ACCESS_TRANSFER_WRITE_BIT = AccessFlagBits 0x00001000
  
  -- | 'ACCESS_HOST_READ_BIT' specifies read access by a host operation.
  -- Accesses of this type are not performed through a resource, but directly
  -- on memory. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_HOST_BIT'
  -- pipeline stage.
  pattern ACCESS_HOST_READ_BIT = AccessFlagBits 0x00002000
  
  -- | 'ACCESS_HOST_WRITE_BIT' specifies write access by a host operation.
  -- Accesses of this type are not performed through a resource, but directly
  -- on memory. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_HOST_BIT'
  -- pipeline stage.
  pattern ACCESS_HOST_WRITE_BIT = AccessFlagBits 0x00004000
  
  -- | 'ACCESS_MEMORY_READ_BIT' specifies all read accesses. It is always valid
  -- in any access mask, and is treated as equivalent to setting all @READ@
  -- access flags that are valid where it is used.
  pattern ACCESS_MEMORY_READ_BIT = AccessFlagBits 0x00008000
  
  -- | 'ACCESS_MEMORY_WRITE_BIT' specifies all write accesses. It is always
  -- valid in any access mask, and is treated as equivalent to setting all
  -- @WRITE@ access flags that are valid where it is used.
  pattern ACCESS_MEMORY_WRITE_BIT = AccessFlagBits 0x00010000
  
  -- | 'ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV' specifies writes to the target
  -- command buffer preprocess outputs in
  -- 'Vulkan.Extensions.VK_NV_device_generated_commands.cmdPreprocessGeneratedCommandsNV'.
  -- Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV'
  -- pipeline stage.
  pattern ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV = AccessFlagBits 0x00040000
  
  -- | 'ACCESS_COMMAND_PREPROCESS_READ_BIT_NV' specifies reads from buffer
  -- inputs to
  -- 'Vulkan.Extensions.VK_NV_device_generated_commands.cmdPreprocessGeneratedCommandsNV'.
  -- Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV'
  -- pipeline stage.
  pattern ACCESS_COMMAND_PREPROCESS_READ_BIT_NV = AccessFlagBits 0x00020000
  
  -- | 'ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR' specifies read
  -- access to a fragment shading rate attachment during rasterization. Such
  -- access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR'
  -- pipeline stage.
  pattern ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR = AccessFlagBits 0x00800000
  
  -- | 'ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT' specifies read access to a
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass-fragmentdensitymapattachment fragment density map attachment>
  -- during dynamic
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragmentdensitymapops fragment density map operations>
  -- Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT'
  -- pipeline stage.
  pattern ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = AccessFlagBits 0x01000000
  
  -- | 'ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR' specifies write access to
  -- an acceleration structure or
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#acceleration-structure-scratch acceleration structure scratch buffer>
  -- as part of a build or copy command. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR'
  -- pipeline stage.
  pattern ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR = AccessFlagBits 0x00400000
  
  -- | 'ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR' specifies read access to an
  -- acceleration structure as part of a trace, build, or copy command, or to
  -- an
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#acceleration-structure-scratch acceleration structure scratch buffer>
  -- as part of a build command. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR'
  -- pipeline stage or
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR'
  -- pipeline stage.
  pattern ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR = AccessFlagBits 0x00200000
  
  -- | 'ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT' specifies read access
  -- to
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#renderpass color attachments>,
  -- including
  -- <https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-blend-advanced advanced blend operations>.
  -- Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT'
  -- pipeline stage.
  pattern ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT = AccessFlagBits 0x00080000
  
  -- | 'ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT' specifies read access to a
  -- predicate as part of conditional rendering. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT'
  -- pipeline stage.
  pattern ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT = AccessFlagBits 0x00100000
  
  -- | 'ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT' specifies write access
  -- to a transform feedback counter buffer which is written when
  -- 'Vulkan.Extensions.VK_EXT_transform_feedback.cmdEndTransformFeedbackEXT'
  -- executes. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT'
  -- pipeline stage.
  pattern ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT = AccessFlagBits 0x08000000
  
  -- | 'ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT' specifies read access
  -- to a transform feedback counter buffer which is read when
  -- 'Vulkan.Extensions.VK_EXT_transform_feedback.cmdBeginTransformFeedbackEXT'
  -- executes. Such access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT'
  -- pipeline stage.
  pattern ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT = AccessFlagBits 0x04000000
  
  -- | 'ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT' specifies write access to a
  -- transform feedback buffer made when transform feedback is active. Such
  -- access occurs in the
  -- 'Vulkan.Core10.Enums.PipelineStageFlagBits.PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT'
  -- pipeline stage.
  pattern ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT = AccessFlagBits 0x02000000
  
  -- | 'ACCESS_NONE' specifies no accesses.
  pattern ACCESS_NONE = AccessFlagBits 0x00000000
  
  conNameAccessFlagBits :: String
  conNameAccessFlagBits = "AccessFlagBits"
  
  enumPrefixAccessFlagBits :: String
  enumPrefixAccessFlagBits = "ACCESS_"
  
  showTableAccessFlagBits :: [(AccessFlagBits, String)]
  showTableAccessFlagBits =
    [
      ( ACCESS_INDIRECT_COMMAND_READ_BIT
      , "INDIRECT_COMMAND_READ_BIT"
      )
    , (ACCESS_INDEX_READ_BIT, "INDEX_READ_BIT")
    ,
      ( ACCESS_VERTEX_ATTRIBUTE_READ_BIT
      , "VERTEX_ATTRIBUTE_READ_BIT"
      )
    , (ACCESS_UNIFORM_READ_BIT, "UNIFORM_READ_BIT")
    ,
      ( ACCESS_INPUT_ATTACHMENT_READ_BIT
      , "INPUT_ATTACHMENT_READ_BIT"
      )
    , (ACCESS_SHADER_READ_BIT, "SHADER_READ_BIT")
    , (ACCESS_SHADER_WRITE_BIT, "SHADER_WRITE_BIT")
    ,
      ( ACCESS_COLOR_ATTACHMENT_READ_BIT
      , "COLOR_ATTACHMENT_READ_BIT"
      )
    ,
      ( ACCESS_COLOR_ATTACHMENT_WRITE_BIT
      , "COLOR_ATTACHMENT_WRITE_BIT"
      )
    ,
      ( ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT
      , "DEPTH_STENCIL_ATTACHMENT_READ_BIT"
      )
    ,
      ( ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT
      , "DEPTH_STENCIL_ATTACHMENT_WRITE_BIT"
      )
    , (ACCESS_TRANSFER_READ_BIT, "TRANSFER_READ_BIT")
    , (ACCESS_TRANSFER_WRITE_BIT, "TRANSFER_WRITE_BIT")
    , (ACCESS_HOST_READ_BIT, "HOST_READ_BIT")
    , (ACCESS_HOST_WRITE_BIT, "HOST_WRITE_BIT")
    , (ACCESS_MEMORY_READ_BIT, "MEMORY_READ_BIT")
    , (ACCESS_MEMORY_WRITE_BIT, "MEMORY_WRITE_BIT")
    ,
      ( ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV
      , "COMMAND_PREPROCESS_WRITE_BIT_NV"
      )
    ,
      ( ACCESS_COMMAND_PREPROCESS_READ_BIT_NV
      , "COMMAND_PREPROCESS_READ_BIT_NV"
      )
    ,
      ( ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR
      , "FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR"
      )
    ,
      ( ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT
      , "FRAGMENT_DENSITY_MAP_READ_BIT_EXT"
      )
    ,
      ( ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR
      , "ACCELERATION_STRUCTURE_WRITE_BIT_KHR"
      )
    ,
      ( ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR
      , "ACCELERATION_STRUCTURE_READ_BIT_KHR"
      )
    ,
      ( ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT
      , "COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT"
      )
    ,
      ( ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT
      , "CONDITIONAL_RENDERING_READ_BIT_EXT"
      )
    ,
      ( ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT
      , "TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT"
      )
    ,
      ( ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT
      , "TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT"
      )
    ,
      ( ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT
      , "TRANSFORM_FEEDBACK_WRITE_BIT_EXT"
      )
    , (ACCESS_NONE, "NONE")
    ]
  
  instance Show AccessFlagBits where
    showsPrec =
      enumShowsPrec
        enumPrefixAccessFlagBits
        showTableAccessFlagBits
        conNameAccessFlagBits
        (\(AccessFlagBits x) -> x)
        (\x -> showString "0x" . showHex x)
  
  instance Read AccessFlagBits where
    readPrec =
      enumReadPrec
        enumPrefixAccessFlagBits
        showTableAccessFlagBits
        conNameAccessFlagBits
        AccessFlagBits
  