{-# LINE 1 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# OPTIONS_GHC -Wall -fno-warn-missing-export-lists -fno-warn-tabs #-}
module Gpu.Vulkan.Image.Enum where
import Foreign.Storable
import Foreign.C.Enum
import Data.Bits
import Data.Word
enum "UsageFlagBits" ''Word32
{-# LINE 20 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable, ''Bits] [
("UsageFlagsZero", 0),
("UsageTransferSrcBit", 1),
{-# LINE 23 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageTransferDstBit", 2),
{-# LINE 24 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageSampledBit", 4),
{-# LINE 25 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageStorageBit", 8),
{-# LINE 26 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageColorAttachmentBit",
16),
{-# LINE 28 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageDepthStencilAttachmentBit",
32),
{-# LINE 30 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageTransientAttachmentBit",
64),
{-# LINE 32 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageInputAttachmentBit",
128),
{-# LINE 34 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoDecodeDstBitKhr",
1024),
{-# LINE 36 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoDecodeSrcBitKhr",
2048),
{-# LINE 38 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoDecodeDpbBitKhr",
4096),
{-# LINE 40 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageFragmentDensityMapBitExt",
512),
{-# LINE 42 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageFragmentShadingRateAttachmentBitKhr",
256),
{-# LINE 44 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageHostTransferBitExt",
4194304),
{-# LINE 46 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoEncodeDstBitKhr",
8192),
{-# LINE 48 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoEncodeSrcBitKhr",
16384),
{-# LINE 50 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageVideoEncodeDpbBitKhr",
32768),
{-# LINE 52 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageAttachmentFeedbackLoopBitExt",
524288),
{-# LINE 54 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageInvocationMaskBitHuawei",
262144),
{-# LINE 56 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageSampleWeightBitQcom",
1048576),
{-# LINE 58 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageSampleBlockMatchBitQcom",
2097152),
{-# LINE 60 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageShadingRateImageBitNv",
256),
{-# LINE 62 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("UsageFlagBitsMaxEnum",
2147483647) ]
{-# LINE 64 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
enum "AspectFlagBits" ''Word32
{-# LINE 66 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable, ''Bits] [
("AspectFlagsZero", 0),
("AspectColorBit", 1),
{-# LINE 69 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectDepthBit", 2),
{-# LINE 70 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectStencilBit", 4),
{-# LINE 71 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectMetadataBit", 8),
{-# LINE 72 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane0Bit", 16),
{-# LINE 73 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane1Bit", 32),
{-# LINE 74 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane2Bit", 64),
{-# LINE 75 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectNone", 0),
{-# LINE 76 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectMemoryPlane0BitExt",
128),
{-# LINE 78 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectMemoryPlane1BitExt",
256),
{-# LINE 80 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectMemoryPlane2BitExt",
512),
{-# LINE 82 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectMemoryPlane3BitExt",
1024),
{-# LINE 84 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane0BitKhr", 16),
{-# LINE 85 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane1BitKhr", 32),
{-# LINE 86 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectPlane2BitKhr", 64),
{-# LINE 87 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectNoneKhr", 0),
{-# LINE 88 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("AspectFlagBitsMaxEnum",
2147483647) ]
{-# LINE 90 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
enum "Layout" ''Word32
{-# LINE 92 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable] [
("LayoutUndefined", 0),
{-# LINE 94 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutGeneral", 1),
{-# LINE 95 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutColorAttachmentOptimal",
2),
{-# LINE 97 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthStencilAttachmentOptimal",
3),
{-# LINE 99 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthStencilReadOnlyOptimal",
4),
{-# LINE 101 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutShaderReadOnlyOptimal",
5),
{-# LINE 103 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutTransferSrcOptimal",
6),
{-# LINE 105 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutTransferDstOptimal",
7),
{-# LINE 107 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutPreinitialized", 8),
{-# LINE 108 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthReadOnlyStencilAttachmentOptimal",
1000117000),
{-# LINE 110 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthAttachmentStencilReadOnlyOptimal",
1000117001),
{-# LINE 112 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthAttachmentOptimal",
1000241000),
{-# LINE 114 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthReadOnlyOptimal",
1000241001),
{-# LINE 116 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutStencilAttachmentOptimal",
1000241002),
{-# LINE 118 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutStencilReadOnlyOptimal",
1000241003),
{-# LINE 120 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutReadOnlyOptimal",
1000314000),
{-# LINE 122 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutAttachmentOptimal",
1000314001),
{-# LINE 124 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutPresentSrcKhr", 1000001002),
{-# LINE 125 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoDecodeDstKhr",
1000024000),
{-# LINE 127 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoDecodeSrcKhr",
1000024001),
{-# LINE 129 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoDecodeDpbKhr",
1000024002),
{-# LINE 131 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutSharedPresentKhr",
1000111000),
{-# LINE 133 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutFragmentDensityMapOptimalExt",
1000218000),
{-# LINE 135 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutFragmentShadingRateAttachmentOptimalKhr",
1000164003),
{-# LINE 137 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutRenderingLocalReadKhr",
1000232000),
{-# LINE 139 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoEncodeDstKhr",
1000299000),
{-# LINE 141 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoEncodeSrcKhr",
1000299001),
{-# LINE 143 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutVideoEncodeDpbKhr",
1000299002),
{-# LINE 145 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutAttachmentFeedbackLoopOptimalExt",
1000339000),
{-# LINE 147 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthReadOnlyStencilAttachmentOptimalKhr",
1000117000),
{-# LINE 149 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthAttachmentStencilReadOnlyOptimalKhr",
1000117001),
{-# LINE 151 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutShadingRateOptimalNv",
1000164003),
{-# LINE 153 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthAttachmentOptimalKhr",
1000241000),
{-# LINE 155 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutDepthReadOnlyOptimalKhr",
1000241001),
{-# LINE 157 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutStencilAttachmentOptimalKhr",
1000241002),
{-# LINE 159 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutStencilReadOnlyOptimalKhr",
1000241003),
{-# LINE 161 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutReadOnlyOptimalKhr",
1000314000),
{-# LINE 163 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutAttachmentOptimalKhr",
1000314001),
{-# LINE 165 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("LayoutMaxEnum", 2147483647) ]
{-# LINE 166 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
enum "CreateFlagBits" ''Word32
{-# LINE 168 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable, ''Bits] [
("CreateFlagsZero", 0),
("CreateSparseBindingBit",
1),
{-# LINE 172 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSparseResidencyBit",
2),
{-# LINE 174 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSparseAliasedBit",
4),
{-# LINE 176 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateMutableFormatBit",
8),
{-# LINE 178 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateCubeCompatibleBit",
16),
{-# LINE 180 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateAliasBit", 1024),
{-# LINE 181 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSplitInstanceBindRegionsBit",
64),
{-# LINE 183 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("Create2dArrayCompatibleBit",
32),
{-# LINE 185 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateBlockTexelViewCompatibleBit",
128),
{-# LINE 187 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateExtendedUsageBit",
256),
{-# LINE 189 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateProtectedBit", 2048),
{-# LINE 190 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateDisjointBit", 512),
{-# LINE 191 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateCornerSampledBitNv",
8192),
{-# LINE 193 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSampleLocationsCompatibleDepthBitExt",
4096),
{-# LINE 195 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSubsampledBitExt",
16384),
{-# LINE 197 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateDescriptorBufferCaptureReplayBitExt",
65536),
{-# LINE 199 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateMultisampledRenderToSingleSampledBitExt",
262144),
{-# LINE 201 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("Create2dViewCompatibleBitExt",
131072),
{-# LINE 203 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateFragmentDensityMapOffsetBitQcom",
32768),
{-# LINE 205 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateVideoProfileIndependentBitKhr",
1048576),
{-# LINE 207 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateSplitInstanceBindRegionsBitKhr",
64),
{-# LINE 209 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("Create2dArrayCompatibleBitKhr",
32),
{-# LINE 211 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateBlockTexelViewCompatibleBitKhr",
128),
{-# LINE 213 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateExtendedUsageBitKhr",
256),
{-# LINE 215 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateDisjointBitKhr",
512),
{-# LINE 217 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateAliasBitKhr", 1024),
{-# LINE 218 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("CreateFlagBitsMaxEnum",
2147483647) ]
{-# LINE 220 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
enum "Type" ''Word32
{-# LINE 222 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable] [
("Type1d", 0),
{-# LINE 224 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("Type2d", 1),
{-# LINE 225 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("Type3d", 2),
{-# LINE 226 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("TypeMaxEnum", 2147483647) ]
{-# LINE 227 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
enum "Tiling" ''Word32
{-# LINE 229 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
[''Show, ''Eq, ''Storable] [
("TilingOptimal", 0),
{-# LINE 231 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("TilingLinear", 1),
{-# LINE 232 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("TilingDrmFormatModifierExt",
1000158000),
{-# LINE 234 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
("TilingMaxEnum", 2147483647) ]
{-# LINE 235 "src/Gpu/Vulkan/Image/Enum.hsc" #-}
type UsageFlags = UsageFlagBits
type AspectFlags = AspectFlagBits
type CreateFlags = CreateFlagBits