{-# LINE 1 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
-- This file is automatically generated by the tools/makeEnum.hs
--	% stack runghc --cwd tools/ makeEnum

{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# OPTIONS_GHC -Wall -fno-warn-missing-export-lists -fno-warn-tabs #-}

module Gpu.Vulkan.Memory.Enum where

import Foreign.Storable
import Foreign.C.Enum
import Data.Bits
import Data.Word



enum "PropertyFlagBits" ''Word32
{-# LINE 20 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
		[''Show, ''Eq, ''Storable, ''Bits, ''FiniteBits] [
	("PropertyFlagsZero", 0),
	("PropertyDeviceLocalBit",
		1),
{-# LINE 24 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyHostVisibleBit",
		2),
{-# LINE 26 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyHostCoherentBit",
		4),
{-# LINE 28 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyHostCachedBit",
		8),
{-# LINE 30 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyLazilyAllocatedBit",
		16),
{-# LINE 32 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyProtectedBit",
		32),
{-# LINE 34 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyDeviceCoherentBitAmd",
		64),
{-# LINE 36 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyDeviceUncachedBitAmd",
		128),
{-# LINE 38 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyRdmaCapableBitNv",
		256),
{-# LINE 40 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("PropertyFlagBitsMaxEnum",
		2147483647) ]
{-# LINE 42 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}

enum "HeapFlagBits" ''Word32
{-# LINE 44 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
		[''Show, ''Eq, ''Storable, ''Bits, ''FiniteBits] [
	("HeapFlagsZero", 0),
	("HeapDeviceLocalBit", 1),
{-# LINE 47 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("HeapMultiInstanceBit",
		2),
{-# LINE 49 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("HeapMultiInstanceBitKhr",
		2),
{-# LINE 51 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}
	("HeapFlagBitsMaxEnum",
		2147483647) ]
{-# LINE 53 "src/Gpu/Vulkan/Memory/Enum.hsc" #-}

type PropertyFlags = PropertyFlagBits
type HeapFlags = HeapFlagBits