content: {-# OPTIONS_HADDOCK not-home#-}
  {-# LANGUAGE DataKinds       #-}
  {-# LANGUAGE MagicHash       #-}
  {-# LANGUAGE PatternSynonyms #-}
  {-# LANGUAGE Strict          #-}
  {-# LANGUAGE ViewPatterns    #-}
  module Graphics.Vulkan.Ext.VK_NV_win32_keyed_mutex
         (AHardwareBuffer(), ANativeWindow(), CAMetalLayer(), VkBool32(..),
          VkDeviceAddress(..), VkDeviceSize(..), VkFlags(..),
          VkSampleMask(..), VkPipelineBindPoint(..),
          VkPipelineCacheHeaderVersion(..), VkPipelineCreateBitmask(..),
          VkPipelineCreationFeedbackBitmaskEXT(..),
          VkPipelineExecutableStatisticFormatKHR(..),
          VkPipelineStageBitmask(..), VkPipelineCacheCreateBitmask(..),
          VkPipelineCacheCreateFlagBits(), VkPipelineCacheCreateFlags(),
          VkPipelineCompilerControlBitmaskAMD(..),
          VkPipelineCompilerControlFlagBitsAMD(),
          VkPipelineCompilerControlFlagsAMD(), VkPipelineCreateFlagBits(),
          VkPipelineCreateFlags(), VkPipelineCreationFeedbackFlagBitsEXT(),
          VkPipelineCreationFeedbackFlagsEXT(),
          VkPipelineShaderStageCreateBitmask(..),
          VkPipelineShaderStageCreateFlagBits(),
          VkPipelineShaderStageCreateFlags(), VkPipelineStageFlagBits(),
          VkPipelineStageFlags(), VkStructureType(..), VkSubmitInfo,
          VkWin32KeyedMutexAcquireReleaseInfoNV,
          -- > #include "vk_platform.h"
          VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION,
          pattern VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION,
          VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME,
          pattern VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME,
          pattern VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV)
         where
  import GHC.Ptr                                       (Ptr (..))
  import Graphics.Vulkan.Marshal
  import Graphics.Vulkan.Types.BaseTypes
  import Graphics.Vulkan.Types.Enum.Pipeline
  import Graphics.Vulkan.Types.Enum.StructureType
  import Graphics.Vulkan.Types.Struct.PlatformWin32Khr (VkWin32KeyedMutexAcquireReleaseInfoNV)
  import Graphics.Vulkan.Types.Struct.SubmitInfo       (VkSubmitInfo)
  
  pattern VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION :: (Num a, Eq a) => a
  
  pattern VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION = 2
  
  type VK_NV_WIN32_KEYED_MUTEX_SPEC_VERSION = 2
  
  pattern VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME :: CString
  
  pattern VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME <-
          (is_VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME -> True)
    where
      VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME
        = _VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME
  
  {-# INLINE _VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME #-}
  
  _VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME :: CString
  _VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME
    = Ptr "VK_NV_win32_keyed_mutex\NUL"#
  
  {-# INLINE is_VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME #-}
  
  is_VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME :: CString -> Bool
  is_VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME
    = (EQ ==) . cmpCStrings _VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME
  
  type VK_NV_WIN32_KEYED_MUTEX_EXTENSION_NAME =
       "VK_NV_win32_keyed_mutex"
  
  pattern VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV
          :: VkStructureType
  
  pattern VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV
          = VkStructureType 1000058000
  