content: {-# OPTIONS_GHC -fno-warn-orphans#-}
  {-# OPTIONS_HADDOCK not-home#-}
  {-# LANGUAGE CPP                      #-}
  {-# LANGUAGE DataKinds                #-}
  {-# LANGUAGE FlexibleInstances        #-}
  {-# LANGUAGE ForeignFunctionInterface #-}
  {-# LANGUAGE MagicHash                #-}
  {-# LANGUAGE PatternSynonyms          #-}
  {-# LANGUAGE Strict                   #-}
  {-# LANGUAGE TypeFamilies             #-}
  {-# LANGUAGE ViewPatterns             #-}
  module Graphics.Vulkan.Ext.VK_EXT_validation_cache
         (-- * Vulkan extension: @VK_EXT_validation_cache@
          -- |
          --
          -- supported: @vulkan@
          --
          -- contact: @Cort Stratton @cdwfs@
          --
          -- author: @GOOGLE@
          --
          -- type: @device@
          --
          -- Extension number: @161@
          module Graphics.Vulkan.Marshal, AHardwareBuffer(),
          ANativeWindow(), CAMetalLayer(), VkBool32(..), VkDeviceAddress(..),
          VkDeviceSize(..), VkFlags(..), VkSampleMask(..),
          VkShaderFloatControlsIndependence(..), VkShaderInfoTypeAMD(..),
          VkShaderStageBitmask(..), VkShaderCorePropertiesBitmaskAMD(..),
          VkShaderCorePropertiesFlagBitsAMD(),
          VkShaderCorePropertiesFlagsAMD(),
          VkShaderFloatControlsIndependenceKHR(..),
          VkShaderModuleCreateBitmask(..), VkShaderModuleCreateFlagBits(),
          VkShaderModuleCreateFlags(), VkShaderStageFlagBits(),
          VkShaderStageFlags(), VkShaderModuleCreateInfo,
          VkShaderModuleValidationCacheCreateInfoEXT, VkStructureType(..),
          VkAndroidSurfaceCreateFlagsKHR(..), VkBufferViewCreateFlags(..),
          VkBuildAccelerationStructureFlagsNV(..),
          VkCommandPoolTrimFlags(..), VkCommandPoolTrimFlagsKHR(..),
          VkDebugUtilsMessengerCallbackDataFlagsEXT(..),
          VkDebugUtilsMessengerCreateFlagsEXT(..),
          VkDescriptorBindingFlagsEXT(..), VkDescriptorPoolResetFlags(..),
          VkDescriptorUpdateTemplateCreateFlags(..),
          VkDescriptorUpdateTemplateCreateFlagsKHR(..),
          VkDeviceCreateFlags(..), VkDirectFBSurfaceCreateFlagsEXT(..),
          VkDisplayModeCreateFlagsKHR(..),
          VkDisplaySurfaceCreateFlagsKHR(..), VkEventCreateFlags(..),
          VkExternalFenceFeatureFlagsKHR(..),
          VkExternalFenceHandleTypeFlagsKHR(..),
          VkExternalMemoryFeatureFlagsKHR(..),
          VkExternalMemoryHandleTypeFlagsKHR(..),
          VkExternalSemaphoreFeatureFlagsKHR(..),
          VkExternalSemaphoreHandleTypeFlagsKHR(..),
          VkFenceImportFlagsKHR(..), VkGeometryFlagsNV(..),
          VkGeometryInstanceFlagsNV(..), VkHeadlessSurfaceCreateFlagsEXT(..),
          VkIOSSurfaceCreateFlagsMVK(..),
          VkImagePipeSurfaceCreateFlagsFUCHSIA(..),
          VkInstanceCreateFlags(..), VkMacOSSurfaceCreateFlagsMVK(..),
          VkMemoryAllocateFlagsKHR(..), VkMemoryMapFlags(..),
          VkMetalSurfaceCreateFlagsEXT(..), VkPeerMemoryFeatureFlagsKHR(..),
          VkPipelineColorBlendStateCreateFlags(..),
          VkPipelineCoverageModulationStateCreateFlagsNV(..),
          VkPipelineCoverageReductionStateCreateFlagsNV(..),
          VkPipelineCoverageToColorStateCreateFlagsNV(..),
          VkPipelineDepthStencilStateCreateFlags(..),
          VkPipelineDiscardRectangleStateCreateFlagsEXT(..),
          VkPipelineDynamicStateCreateFlags(..),
          VkPipelineInputAssemblyStateCreateFlags(..),
          VkPipelineLayoutCreateFlags(..),
          VkPipelineMultisampleStateCreateFlags(..),
          VkPipelineRasterizationConservativeStateCreateFlagsEXT(..),
          VkPipelineRasterizationDepthClipStateCreateFlagsEXT(..),
          VkPipelineRasterizationStateCreateFlags(..),
          VkPipelineRasterizationStateStreamCreateFlagsEXT(..),
          VkPipelineTessellationStateCreateFlags(..),
          VkPipelineVertexInputStateCreateFlags(..),
          VkPipelineViewportStateCreateFlags(..),
          VkPipelineViewportSwizzleStateCreateFlagsNV(..),
          VkQueryPoolCreateFlags(..), VkResolveModeFlagsKHR(..),
          VkSemaphoreCreateFlags(..), VkSemaphoreImportFlagsKHR(..),
          VkSemaphoreWaitFlagsKHR(..),
          VkStreamDescriptorSurfaceCreateFlagsGGP(..),
          VkValidationCacheCreateFlagsEXT(..), VkViSurfaceCreateFlagsNN(..),
          VkWaylandSurfaceCreateFlagsKHR(..),
          VkWin32SurfaceCreateFlagsKHR(..), VkXcbSurfaceCreateFlagsKHR(..),
          VkXlibSurfaceCreateFlagsKHR(..), VkValidationCacheCreateInfoEXT,
          VkValidationCacheHeaderVersionEXT(..), VkValidationCheckEXT(..),
          VkValidationFeatureDisableEXT(..),
          VkValidationFeatureEnableEXT(..), -- > #include "vk_platform.h"
                                            VkCreateValidationCacheEXT,
          pattern VkCreateValidationCacheEXT, HS_vkCreateValidationCacheEXT,
          PFN_vkCreateValidationCacheEXT, VkDestroyValidationCacheEXT,
          pattern VkDestroyValidationCacheEXT,
          HS_vkDestroyValidationCacheEXT, PFN_vkDestroyValidationCacheEXT,
          VkMergeValidationCachesEXT, pattern VkMergeValidationCachesEXT,
          HS_vkMergeValidationCachesEXT, PFN_vkMergeValidationCachesEXT,
          VkGetValidationCacheDataEXT, pattern VkGetValidationCacheDataEXT,
          HS_vkGetValidationCacheDataEXT, PFN_vkGetValidationCacheDataEXT,
          VkInternalAllocationType(..), VkResult(..),
          VkSystemAllocationScope(..), newVkAllocationFunction,
          newVkDebugReportCallbackEXT, newVkDebugUtilsMessengerCallbackEXT,
          newVkFreeFunction, newVkInternalAllocationNotification,
          newVkInternalFreeNotification, newVkReallocationFunction,
          newVkVoidFunction, unwrapVkAllocationFunction,
          unwrapVkDebugReportCallbackEXT,
          unwrapVkDebugUtilsMessengerCallbackEXT, unwrapVkFreeFunction,
          unwrapVkInternalAllocationNotification,
          unwrapVkInternalFreeNotification, unwrapVkReallocationFunction,
          unwrapVkVoidFunction, HS_vkAllocationFunction,
          HS_vkDebugReportCallbackEXT, HS_vkDebugUtilsMessengerCallbackEXT,
          HS_vkFreeFunction, HS_vkInternalAllocationNotification,
          HS_vkInternalFreeNotification, HS_vkReallocationFunction,
          HS_vkVoidFunction, PFN_vkAllocationFunction,
          PFN_vkDebugReportCallbackEXT, PFN_vkDebugUtilsMessengerCallbackEXT,
          PFN_vkFreeFunction, PFN_vkInternalAllocationNotification,
          PFN_vkInternalFreeNotification, PFN_vkReallocationFunction,
          PFN_vkVoidFunction, VkAccelerationStructureKHR,
          VkAccelerationStructureKHR_T(), VkAccelerationStructureNV,
          VkAccelerationStructureNV_T(), VkBuffer, VkBufferView,
          VkBufferView_T(), VkBuffer_T(), VkCommandBuffer,
          VkCommandBuffer_T(), VkCommandPool, VkCommandPool_T(),
          VkDebugReportCallbackEXT, VkDebugReportCallbackEXT_T(),
          VkDebugUtilsMessengerEXT, VkDebugUtilsMessengerEXT_T(),
          VkDeferredOperationKHR, VkDeferredOperationKHR_T(),
          VkDescriptorPool, VkDescriptorPool_T(), VkDescriptorSet,
          VkDescriptorSetLayout, VkDescriptorSetLayout_T(),
          VkDescriptorSet_T(), VkDescriptorUpdateTemplate,
          VkDescriptorUpdateTemplateKHR, VkDescriptorUpdateTemplateKHR_T(),
          VkDescriptorUpdateTemplate_T(), VkDevice, VkDeviceMemory,
          VkDeviceMemory_T(), VkDevice_T(), VkDisplayKHR, VkDisplayKHR_T(),
          VkDisplayModeKHR, VkDisplayModeKHR_T(), VkEvent, VkEvent_T(),
          VkFence, VkFence_T(), VkFramebuffer, VkFramebuffer_T(), VkImage,
          VkImageView, VkImageView_T(), VkImage_T(),
          VkIndirectCommandsLayoutNV, VkIndirectCommandsLayoutNV_T(),
          VkInstance, VkInstance_T(), VkPerformanceConfigurationINTEL,
          VkPerformanceConfigurationINTEL_T(), VkPhysicalDevice,
          VkPhysicalDevice_T(), VkPipeline, VkPipelineCache,
          VkPipelineCache_T(), VkPipelineLayout, VkPipelineLayout_T(),
          VkPipeline_T(), VkPrivateDataSlotEXT, VkPrivateDataSlotEXT_T(),
          VkQueryPool, VkQueryPool_T(), VkQueue, VkQueue_T(), VkRenderPass,
          VkRenderPass_T(), VkSampler, VkSamplerYcbcrConversion,
          VkSamplerYcbcrConversionKHR, VkSamplerYcbcrConversionKHR_T(),
          VkSamplerYcbcrConversion_T(), VkSampler_T(), VkSemaphore,
          VkSemaphore_T(), VkShaderModule, VkShaderModule_T(), VkSurfaceKHR,
          VkSurfaceKHR_T(), VkSwapchainKHR, VkSwapchainKHR_T(),
          VkValidationCacheEXT, VkValidationCacheEXT_T(),
          VkAllocationCallbacks, VkValidationFeaturesEXT,
          VkValidationFlagsEXT, VK_EXT_VALIDATION_CACHE_SPEC_VERSION,
          pattern VK_EXT_VALIDATION_CACHE_SPEC_VERSION,
          VK_EXT_VALIDATION_CACHE_EXTENSION_NAME,
          pattern VK_EXT_VALIDATION_CACHE_EXTENSION_NAME,
          pattern VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT,
          pattern VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT,
          pattern VK_OBJECT_TYPE_VALIDATION_CACHE_EXT)
         where
  import GHC.Ptr                                           (Ptr (..))
  import Graphics.Vulkan.Marshal
  import Graphics.Vulkan.Marshal.Proc                      (VulkanProc (..))
  import Graphics.Vulkan.Types.BaseTypes
  import Graphics.Vulkan.Types.Bitmasks
  import Graphics.Vulkan.Types.Enum.InternalAllocationType
  import Graphics.Vulkan.Types.Enum.ObjectType             (VkObjectType (..))
  import Graphics.Vulkan.Types.Enum.Result
  import Graphics.Vulkan.Types.Enum.Shader
  import Graphics.Vulkan.Types.Enum.StructureType
  import Graphics.Vulkan.Types.Enum.SystemAllocationScope
  import Graphics.Vulkan.Types.Enum.Validation
  import Graphics.Vulkan.Types.Funcpointers
  import Graphics.Vulkan.Types.Handles
  import Graphics.Vulkan.Types.Struct.AllocationCallbacks
  import Graphics.Vulkan.Types.Struct.Shader               (VkShaderModuleCreateInfo,
                                                            VkShaderModuleValidationCacheCreateInfoEXT)
  import Graphics.Vulkan.Types.Struct.Validation
  
  pattern VkCreateValidationCacheEXT :: CString
  
  pattern VkCreateValidationCacheEXT <-
          (is_VkCreateValidationCacheEXT -> True)
    where
      VkCreateValidationCacheEXT = _VkCreateValidationCacheEXT
  
  {-# INLINE _VkCreateValidationCacheEXT #-}
  
  _VkCreateValidationCacheEXT :: CString
  _VkCreateValidationCacheEXT = Ptr "vkCreateValidationCacheEXT\NUL"#
  
  {-# INLINE is_VkCreateValidationCacheEXT #-}
  
  is_VkCreateValidationCacheEXT :: CString -> Bool
  is_VkCreateValidationCacheEXT
    = (EQ ==) . cmpCStrings _VkCreateValidationCacheEXT
  
  type VkCreateValidationCacheEXT = "vkCreateValidationCacheEXT"
  
  -- | Success codes: 'VK_SUCCESS'.
  --
  --   Error codes: 'VK_ERROR_OUT_OF_HOST_MEMORY'.
  --
  --   > VkResult vkCreateValidationCacheEXT
  --   >     ( VkDevice device
  --   >     , const VkValidationCacheCreateInfoEXT* pCreateInfo
  --   >     , const VkAllocationCallbacks* pAllocator
  --   >     , VkValidationCacheEXT* pValidationCache
  --   >     )
  --
  --   <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#vkCreateValidationCacheEXT vkCreateValidationCacheEXT registry at www.khronos.org>
  type HS_vkCreateValidationCacheEXT =
       VkDevice -- ^ device
                ->
         Ptr VkValidationCacheCreateInfoEXT -- ^ pCreateInfo
                                            ->
           Ptr VkAllocationCallbacks -- ^ pAllocator
                                     ->
             Ptr VkValidationCacheEXT -- ^ pValidationCache
                                      -> IO VkResult
  
  type PFN_vkCreateValidationCacheEXT =
       FunPtr HS_vkCreateValidationCacheEXT
  
  foreign import ccall unsafe "dynamic"
                 unwrapVkCreateValidationCacheEXTUnsafe ::
                 PFN_vkCreateValidationCacheEXT -> HS_vkCreateValidationCacheEXT
  
  foreign import ccall safe "dynamic"
                 unwrapVkCreateValidationCacheEXTSafe ::
                 PFN_vkCreateValidationCacheEXT -> HS_vkCreateValidationCacheEXT
  
  instance VulkanProc "vkCreateValidationCacheEXT" where
      type VkProcType "vkCreateValidationCacheEXT" =
           HS_vkCreateValidationCacheEXT
      vkProcSymbol = _VkCreateValidationCacheEXT
  
      {-# INLINE vkProcSymbol #-}
      unwrapVkProcPtrUnsafe = unwrapVkCreateValidationCacheEXTUnsafe
  
      {-# INLINE unwrapVkProcPtrUnsafe #-}
      unwrapVkProcPtrSafe = unwrapVkCreateValidationCacheEXTSafe
  
      {-# INLINE unwrapVkProcPtrSafe #-}
  
  pattern VkDestroyValidationCacheEXT :: CString
  
  pattern VkDestroyValidationCacheEXT <-
          (is_VkDestroyValidationCacheEXT -> True)
    where
      VkDestroyValidationCacheEXT = _VkDestroyValidationCacheEXT
  
  {-# INLINE _VkDestroyValidationCacheEXT #-}
  
  _VkDestroyValidationCacheEXT :: CString
  _VkDestroyValidationCacheEXT
    = Ptr "vkDestroyValidationCacheEXT\NUL"#
  
  {-# INLINE is_VkDestroyValidationCacheEXT #-}
  
  is_VkDestroyValidationCacheEXT :: CString -> Bool
  is_VkDestroyValidationCacheEXT
    = (EQ ==) . cmpCStrings _VkDestroyValidationCacheEXT
  
  type VkDestroyValidationCacheEXT = "vkDestroyValidationCacheEXT"
  
  -- | > void vkDestroyValidationCacheEXT
  --   >     ( VkDevice device
  --   >     , VkValidationCacheEXT validationCache
  --   >     , const VkAllocationCallbacks* pAllocator
  --   >     )
  --
  --   <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT registry at www.khronos.org>
  type HS_vkDestroyValidationCacheEXT =
       VkDevice -- ^ device
                ->
         VkValidationCacheEXT -- ^ validationCache
                              -> Ptr VkAllocationCallbacks -- ^ pAllocator
                                                           -> IO ()
  
  type PFN_vkDestroyValidationCacheEXT =
       FunPtr HS_vkDestroyValidationCacheEXT
  
  foreign import ccall unsafe "dynamic"
                 unwrapVkDestroyValidationCacheEXTUnsafe ::
                 PFN_vkDestroyValidationCacheEXT -> HS_vkDestroyValidationCacheEXT
  
  foreign import ccall safe "dynamic"
                 unwrapVkDestroyValidationCacheEXTSafe ::
                 PFN_vkDestroyValidationCacheEXT -> HS_vkDestroyValidationCacheEXT
  
  instance VulkanProc "vkDestroyValidationCacheEXT" where
      type VkProcType "vkDestroyValidationCacheEXT" =
           HS_vkDestroyValidationCacheEXT
      vkProcSymbol = _VkDestroyValidationCacheEXT
  
      {-# INLINE vkProcSymbol #-}
      unwrapVkProcPtrUnsafe = unwrapVkDestroyValidationCacheEXTUnsafe
  
      {-# INLINE unwrapVkProcPtrUnsafe #-}
      unwrapVkProcPtrSafe = unwrapVkDestroyValidationCacheEXTSafe
  
      {-# INLINE unwrapVkProcPtrSafe #-}
  
  pattern VkMergeValidationCachesEXT :: CString
  
  pattern VkMergeValidationCachesEXT <-
          (is_VkMergeValidationCachesEXT -> True)
    where
      VkMergeValidationCachesEXT = _VkMergeValidationCachesEXT
  
  {-# INLINE _VkMergeValidationCachesEXT #-}
  
  _VkMergeValidationCachesEXT :: CString
  _VkMergeValidationCachesEXT = Ptr "vkMergeValidationCachesEXT\NUL"#
  
  {-# INLINE is_VkMergeValidationCachesEXT #-}
  
  is_VkMergeValidationCachesEXT :: CString -> Bool
  is_VkMergeValidationCachesEXT
    = (EQ ==) . cmpCStrings _VkMergeValidationCachesEXT
  
  type VkMergeValidationCachesEXT = "vkMergeValidationCachesEXT"
  
  -- | Success codes: 'VK_SUCCESS'.
  --
  --   Error codes: 'VK_ERROR_OUT_OF_HOST_MEMORY', 'VK_ERROR_OUT_OF_DEVICE_MEMORY'.
  --
  --   > VkResult vkMergeValidationCachesEXT
  --   >     ( VkDevice device
  --   >     , VkValidationCacheEXT dstCache
  --   >     , uint32_t srcCacheCount
  --   >     , const VkValidationCacheEXT* pSrcCaches
  --   >     )
  --
  --   <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#vkMergeValidationCachesEXT vkMergeValidationCachesEXT registry at www.khronos.org>
  type HS_vkMergeValidationCachesEXT =
       VkDevice -- ^ device
                ->
         VkValidationCacheEXT -- ^ dstCache
                              ->
           Word32 -- ^ srcCacheCount
                  -> Ptr VkValidationCacheEXT -- ^ pSrcCaches
                                              -> IO VkResult
  
  type PFN_vkMergeValidationCachesEXT =
       FunPtr HS_vkMergeValidationCachesEXT
  
  foreign import ccall unsafe "dynamic"
                 unwrapVkMergeValidationCachesEXTUnsafe ::
                 PFN_vkMergeValidationCachesEXT -> HS_vkMergeValidationCachesEXT
  
  foreign import ccall safe "dynamic"
                 unwrapVkMergeValidationCachesEXTSafe ::
                 PFN_vkMergeValidationCachesEXT -> HS_vkMergeValidationCachesEXT
  
  instance VulkanProc "vkMergeValidationCachesEXT" where
      type VkProcType "vkMergeValidationCachesEXT" =
           HS_vkMergeValidationCachesEXT
      vkProcSymbol = _VkMergeValidationCachesEXT
  
      {-# INLINE vkProcSymbol #-}
      unwrapVkProcPtrUnsafe = unwrapVkMergeValidationCachesEXTUnsafe
  
      {-# INLINE unwrapVkProcPtrUnsafe #-}
      unwrapVkProcPtrSafe = unwrapVkMergeValidationCachesEXTSafe
  
      {-# INLINE unwrapVkProcPtrSafe #-}
  
  pattern VkGetValidationCacheDataEXT :: CString
  
  pattern VkGetValidationCacheDataEXT <-
          (is_VkGetValidationCacheDataEXT -> True)
    where
      VkGetValidationCacheDataEXT = _VkGetValidationCacheDataEXT
  
  {-# INLINE _VkGetValidationCacheDataEXT #-}
  
  _VkGetValidationCacheDataEXT :: CString
  _VkGetValidationCacheDataEXT
    = Ptr "vkGetValidationCacheDataEXT\NUL"#
  
  {-# INLINE is_VkGetValidationCacheDataEXT #-}
  
  is_VkGetValidationCacheDataEXT :: CString -> Bool
  is_VkGetValidationCacheDataEXT
    = (EQ ==) . cmpCStrings _VkGetValidationCacheDataEXT
  
  type VkGetValidationCacheDataEXT = "vkGetValidationCacheDataEXT"
  
  -- | Success codes: 'VK_SUCCESS', 'VK_INCOMPLETE'.
  --
  --   Error codes: 'VK_ERROR_OUT_OF_HOST_MEMORY', 'VK_ERROR_OUT_OF_DEVICE_MEMORY'.
  --
  --   > VkResult vkGetValidationCacheDataEXT
  --   >     ( VkDevice device
  --   >     , VkValidationCacheEXT validationCache
  --   >     , size_t* pDataSize
  --   >     , void* pData
  --   >     )
  --
  --   <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT registry at www.khronos.org>
  type HS_vkGetValidationCacheDataEXT =
       VkDevice -- ^ device
                ->
         VkValidationCacheEXT -- ^ validationCache
                              -> Ptr CSize -- ^ pDataSize
                                           -> Ptr Void -- ^ pData
                                                       -> IO VkResult
  
  type PFN_vkGetValidationCacheDataEXT =
       FunPtr HS_vkGetValidationCacheDataEXT
  
  foreign import ccall unsafe "dynamic"
                 unwrapVkGetValidationCacheDataEXTUnsafe ::
                 PFN_vkGetValidationCacheDataEXT -> HS_vkGetValidationCacheDataEXT
  
  foreign import ccall safe "dynamic"
                 unwrapVkGetValidationCacheDataEXTSafe ::
                 PFN_vkGetValidationCacheDataEXT -> HS_vkGetValidationCacheDataEXT
  
  instance VulkanProc "vkGetValidationCacheDataEXT" where
      type VkProcType "vkGetValidationCacheDataEXT" =
           HS_vkGetValidationCacheDataEXT
      vkProcSymbol = _VkGetValidationCacheDataEXT
  
      {-# INLINE vkProcSymbol #-}
      unwrapVkProcPtrUnsafe = unwrapVkGetValidationCacheDataEXTUnsafe
  
      {-# INLINE unwrapVkProcPtrUnsafe #-}
      unwrapVkProcPtrSafe = unwrapVkGetValidationCacheDataEXTSafe
  
      {-# INLINE unwrapVkProcPtrSafe #-}
  
  pattern VK_EXT_VALIDATION_CACHE_SPEC_VERSION :: (Num a, Eq a) => a
  
  pattern VK_EXT_VALIDATION_CACHE_SPEC_VERSION = 1
  
  type VK_EXT_VALIDATION_CACHE_SPEC_VERSION = 1
  
  pattern VK_EXT_VALIDATION_CACHE_EXTENSION_NAME :: CString
  
  pattern VK_EXT_VALIDATION_CACHE_EXTENSION_NAME <-
          (is_VK_EXT_VALIDATION_CACHE_EXTENSION_NAME -> True)
    where
      VK_EXT_VALIDATION_CACHE_EXTENSION_NAME
        = _VK_EXT_VALIDATION_CACHE_EXTENSION_NAME
  
  {-# INLINE _VK_EXT_VALIDATION_CACHE_EXTENSION_NAME #-}
  
  _VK_EXT_VALIDATION_CACHE_EXTENSION_NAME :: CString
  _VK_EXT_VALIDATION_CACHE_EXTENSION_NAME
    = Ptr "VK_EXT_validation_cache\NUL"#
  
  {-# INLINE is_VK_EXT_VALIDATION_CACHE_EXTENSION_NAME #-}
  
  is_VK_EXT_VALIDATION_CACHE_EXTENSION_NAME :: CString -> Bool
  is_VK_EXT_VALIDATION_CACHE_EXTENSION_NAME
    = (EQ ==) . cmpCStrings _VK_EXT_VALIDATION_CACHE_EXTENSION_NAME
  
  type VK_EXT_VALIDATION_CACHE_EXTENSION_NAME =
       "VK_EXT_validation_cache"
  
  pattern VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT ::
          VkStructureType
  
  pattern VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT =
          VkStructureType 1000160000
  
  pattern VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT
          :: VkStructureType
  
  pattern VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT
          = VkStructureType 1000160001
  
  -- | VkValidationCacheEXT
  pattern VK_OBJECT_TYPE_VALIDATION_CACHE_EXT :: VkObjectType
  
  pattern VK_OBJECT_TYPE_VALIDATION_CACHE_EXT =
          VkObjectType 1000160000
  