{-# language CPP #-}
module Vulkan.Core10.Enums.AccessFlagBits ( 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_DENSITY_MAP_READ_BIT_EXT
, ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV
, 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
, ..
)
, AccessFlags
) where
import GHC.Read (choose)
import GHC.Read (expectP)
import GHC.Read (parens)
import GHC.Show (showParen)
import GHC.Show (showString)
import Numeric (showHex)
import Text.ParserCombinators.ReadPrec ((+++))
import Text.ParserCombinators.ReadPrec (prec)
import Text.ParserCombinators.ReadPrec (step)
import Data.Bits (Bits)
import Foreign.Storable (Storable)
import GHC.Read (Read(readPrec))
import Text.Read.Lex (Lexeme(Ident))
import Vulkan.Core10.BaseType (Flags)
import Vulkan.Zero (Zero)
newtype AccessFlagBits = AccessFlagBits Flags
deriving newtype (AccessFlagBits -> AccessFlagBits -> Bool
(AccessFlagBits -> AccessFlagBits -> Bool)
-> (AccessFlagBits -> AccessFlagBits -> Bool) -> Eq AccessFlagBits
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AccessFlagBits -> AccessFlagBits -> Bool
$c/= :: AccessFlagBits -> AccessFlagBits -> Bool
== :: AccessFlagBits -> AccessFlagBits -> Bool
$c== :: AccessFlagBits -> AccessFlagBits -> Bool
Eq, Eq AccessFlagBits
Eq AccessFlagBits =>
(AccessFlagBits -> AccessFlagBits -> Ordering)
-> (AccessFlagBits -> AccessFlagBits -> Bool)
-> (AccessFlagBits -> AccessFlagBits -> Bool)
-> (AccessFlagBits -> AccessFlagBits -> Bool)
-> (AccessFlagBits -> AccessFlagBits -> Bool)
-> (AccessFlagBits -> AccessFlagBits -> AccessFlagBits)
-> (AccessFlagBits -> AccessFlagBits -> AccessFlagBits)
-> Ord AccessFlagBits
AccessFlagBits -> AccessFlagBits -> Bool
AccessFlagBits -> AccessFlagBits -> Ordering
AccessFlagBits -> AccessFlagBits -> AccessFlagBits
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$cmin :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
max :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$cmax :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
>= :: AccessFlagBits -> AccessFlagBits -> Bool
$c>= :: AccessFlagBits -> AccessFlagBits -> Bool
> :: AccessFlagBits -> AccessFlagBits -> Bool
$c> :: AccessFlagBits -> AccessFlagBits -> Bool
<= :: AccessFlagBits -> AccessFlagBits -> Bool
$c<= :: AccessFlagBits -> AccessFlagBits -> Bool
< :: AccessFlagBits -> AccessFlagBits -> Bool
$c< :: AccessFlagBits -> AccessFlagBits -> Bool
compare :: AccessFlagBits -> AccessFlagBits -> Ordering
$ccompare :: AccessFlagBits -> AccessFlagBits -> Ordering
$cp1Ord :: Eq AccessFlagBits
Ord, Ptr b -> Int -> IO AccessFlagBits
Ptr b -> Int -> AccessFlagBits -> IO ()
Ptr AccessFlagBits -> IO AccessFlagBits
Ptr AccessFlagBits -> Int -> IO AccessFlagBits
Ptr AccessFlagBits -> Int -> AccessFlagBits -> IO ()
Ptr AccessFlagBits -> AccessFlagBits -> IO ()
AccessFlagBits -> Int
(AccessFlagBits -> Int)
-> (AccessFlagBits -> Int)
-> (Ptr AccessFlagBits -> Int -> IO AccessFlagBits)
-> (Ptr AccessFlagBits -> Int -> AccessFlagBits -> IO ())
-> (forall b. Ptr b -> Int -> IO AccessFlagBits)
-> (forall b. Ptr b -> Int -> AccessFlagBits -> IO ())
-> (Ptr AccessFlagBits -> IO AccessFlagBits)
-> (Ptr AccessFlagBits -> AccessFlagBits -> IO ())
-> Storable AccessFlagBits
forall b. Ptr b -> Int -> IO AccessFlagBits
forall b. Ptr b -> Int -> AccessFlagBits -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
poke :: Ptr AccessFlagBits -> AccessFlagBits -> IO ()
$cpoke :: Ptr AccessFlagBits -> AccessFlagBits -> IO ()
peek :: Ptr AccessFlagBits -> IO AccessFlagBits
$cpeek :: Ptr AccessFlagBits -> IO AccessFlagBits
pokeByteOff :: Ptr b -> Int -> AccessFlagBits -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> AccessFlagBits -> IO ()
peekByteOff :: Ptr b -> Int -> IO AccessFlagBits
$cpeekByteOff :: forall b. Ptr b -> Int -> IO AccessFlagBits
pokeElemOff :: Ptr AccessFlagBits -> Int -> AccessFlagBits -> IO ()
$cpokeElemOff :: Ptr AccessFlagBits -> Int -> AccessFlagBits -> IO ()
peekElemOff :: Ptr AccessFlagBits -> Int -> IO AccessFlagBits
$cpeekElemOff :: Ptr AccessFlagBits -> Int -> IO AccessFlagBits
alignment :: AccessFlagBits -> Int
$calignment :: AccessFlagBits -> Int
sizeOf :: AccessFlagBits -> Int
$csizeOf :: AccessFlagBits -> Int
Storable, AccessFlagBits
AccessFlagBits -> Zero AccessFlagBits
forall a. a -> Zero a
zero :: AccessFlagBits
$czero :: AccessFlagBits
Zero, Eq AccessFlagBits
AccessFlagBits
Eq AccessFlagBits =>
(AccessFlagBits -> AccessFlagBits -> AccessFlagBits)
-> (AccessFlagBits -> AccessFlagBits -> AccessFlagBits)
-> (AccessFlagBits -> AccessFlagBits -> AccessFlagBits)
-> (AccessFlagBits -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> AccessFlagBits
-> (Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> Bool)
-> (AccessFlagBits -> Maybe Int)
-> (AccessFlagBits -> Int)
-> (AccessFlagBits -> Bool)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int -> AccessFlagBits)
-> (AccessFlagBits -> Int)
-> Bits AccessFlagBits
Int -> AccessFlagBits
AccessFlagBits -> Bool
AccessFlagBits -> Int
AccessFlagBits -> Maybe Int
AccessFlagBits -> AccessFlagBits
AccessFlagBits -> Int -> Bool
AccessFlagBits -> Int -> AccessFlagBits
AccessFlagBits -> AccessFlagBits -> AccessFlagBits
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
popCount :: AccessFlagBits -> Int
$cpopCount :: AccessFlagBits -> Int
rotateR :: AccessFlagBits -> Int -> AccessFlagBits
$crotateR :: AccessFlagBits -> Int -> AccessFlagBits
rotateL :: AccessFlagBits -> Int -> AccessFlagBits
$crotateL :: AccessFlagBits -> Int -> AccessFlagBits
unsafeShiftR :: AccessFlagBits -> Int -> AccessFlagBits
$cunsafeShiftR :: AccessFlagBits -> Int -> AccessFlagBits
shiftR :: AccessFlagBits -> Int -> AccessFlagBits
$cshiftR :: AccessFlagBits -> Int -> AccessFlagBits
unsafeShiftL :: AccessFlagBits -> Int -> AccessFlagBits
$cunsafeShiftL :: AccessFlagBits -> Int -> AccessFlagBits
shiftL :: AccessFlagBits -> Int -> AccessFlagBits
$cshiftL :: AccessFlagBits -> Int -> AccessFlagBits
isSigned :: AccessFlagBits -> Bool
$cisSigned :: AccessFlagBits -> Bool
bitSize :: AccessFlagBits -> Int
$cbitSize :: AccessFlagBits -> Int
bitSizeMaybe :: AccessFlagBits -> Maybe Int
$cbitSizeMaybe :: AccessFlagBits -> Maybe Int
testBit :: AccessFlagBits -> Int -> Bool
$ctestBit :: AccessFlagBits -> Int -> Bool
complementBit :: AccessFlagBits -> Int -> AccessFlagBits
$ccomplementBit :: AccessFlagBits -> Int -> AccessFlagBits
clearBit :: AccessFlagBits -> Int -> AccessFlagBits
$cclearBit :: AccessFlagBits -> Int -> AccessFlagBits
setBit :: AccessFlagBits -> Int -> AccessFlagBits
$csetBit :: AccessFlagBits -> Int -> AccessFlagBits
bit :: Int -> AccessFlagBits
$cbit :: Int -> AccessFlagBits
zeroBits :: AccessFlagBits
$czeroBits :: AccessFlagBits
rotate :: AccessFlagBits -> Int -> AccessFlagBits
$crotate :: AccessFlagBits -> Int -> AccessFlagBits
shift :: AccessFlagBits -> Int -> AccessFlagBits
$cshift :: AccessFlagBits -> Int -> AccessFlagBits
complement :: AccessFlagBits -> AccessFlagBits
$ccomplement :: AccessFlagBits -> AccessFlagBits
xor :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$cxor :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
.|. :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$c.|. :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
.&. :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$c.&. :: AccessFlagBits -> AccessFlagBits -> AccessFlagBits
$cp1Bits :: Eq AccessFlagBits
Bits)
pattern $bACCESS_INDIRECT_COMMAND_READ_BIT :: AccessFlagBits
$mACCESS_INDIRECT_COMMAND_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_INDIRECT_COMMAND_READ_BIT = AccessFlagBits 0x00000001
pattern $bACCESS_INDEX_READ_BIT :: AccessFlagBits
$mACCESS_INDEX_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_INDEX_READ_BIT = AccessFlagBits 0x00000002
pattern $bACCESS_VERTEX_ATTRIBUTE_READ_BIT :: AccessFlagBits
$mACCESS_VERTEX_ATTRIBUTE_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_VERTEX_ATTRIBUTE_READ_BIT = AccessFlagBits 0x00000004
pattern $bACCESS_UNIFORM_READ_BIT :: AccessFlagBits
$mACCESS_UNIFORM_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_UNIFORM_READ_BIT = AccessFlagBits 0x00000008
pattern $bACCESS_INPUT_ATTACHMENT_READ_BIT :: AccessFlagBits
$mACCESS_INPUT_ATTACHMENT_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_INPUT_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000010
pattern $bACCESS_SHADER_READ_BIT :: AccessFlagBits
$mACCESS_SHADER_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_SHADER_READ_BIT = AccessFlagBits 0x00000020
pattern $bACCESS_SHADER_WRITE_BIT :: AccessFlagBits
$mACCESS_SHADER_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_SHADER_WRITE_BIT = AccessFlagBits 0x00000040
pattern $bACCESS_COLOR_ATTACHMENT_READ_BIT :: AccessFlagBits
$mACCESS_COLOR_ATTACHMENT_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_COLOR_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000080
pattern $bACCESS_COLOR_ATTACHMENT_WRITE_BIT :: AccessFlagBits
$mACCESS_COLOR_ATTACHMENT_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_COLOR_ATTACHMENT_WRITE_BIT = AccessFlagBits 0x00000100
pattern $bACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT :: AccessFlagBits
$mACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = AccessFlagBits 0x00000200
pattern $bACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT :: AccessFlagBits
$mACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = AccessFlagBits 0x00000400
pattern $bACCESS_TRANSFER_READ_BIT :: AccessFlagBits
$mACCESS_TRANSFER_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_TRANSFER_READ_BIT = AccessFlagBits 0x00000800
pattern $bACCESS_TRANSFER_WRITE_BIT :: AccessFlagBits
$mACCESS_TRANSFER_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_TRANSFER_WRITE_BIT = AccessFlagBits 0x00001000
pattern $bACCESS_HOST_READ_BIT :: AccessFlagBits
$mACCESS_HOST_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_HOST_READ_BIT = AccessFlagBits 0x00002000
pattern $bACCESS_HOST_WRITE_BIT :: AccessFlagBits
$mACCESS_HOST_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_HOST_WRITE_BIT = AccessFlagBits 0x00004000
pattern $bACCESS_MEMORY_READ_BIT :: AccessFlagBits
$mACCESS_MEMORY_READ_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_MEMORY_READ_BIT = AccessFlagBits 0x00008000
pattern $bACCESS_MEMORY_WRITE_BIT :: AccessFlagBits
$mACCESS_MEMORY_WRITE_BIT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_MEMORY_WRITE_BIT = AccessFlagBits 0x00010000
pattern $bACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV :: AccessFlagBits
$mACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV = AccessFlagBits 0x00040000
pattern $bACCESS_COMMAND_PREPROCESS_READ_BIT_NV :: AccessFlagBits
$mACCESS_COMMAND_PREPROCESS_READ_BIT_NV :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_COMMAND_PREPROCESS_READ_BIT_NV = AccessFlagBits 0x00020000
pattern $bACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT :: AccessFlagBits
$mACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = AccessFlagBits 0x01000000
pattern $bACCESS_SHADING_RATE_IMAGE_READ_BIT_NV :: AccessFlagBits
$mACCESS_SHADING_RATE_IMAGE_READ_BIT_NV :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV = AccessFlagBits 0x00800000
pattern $bACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR :: AccessFlagBits
$mACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR = AccessFlagBits 0x00400000
pattern $bACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR :: AccessFlagBits
$mACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR = AccessFlagBits 0x00200000
pattern $bACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT :: AccessFlagBits
$mACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT = AccessFlagBits 0x00080000
pattern $bACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT :: AccessFlagBits
$mACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT = AccessFlagBits 0x00100000
pattern $bACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT :: AccessFlagBits
$mACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT = AccessFlagBits 0x08000000
pattern $bACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT :: AccessFlagBits
$mACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT = AccessFlagBits 0x04000000
pattern $bACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT :: AccessFlagBits
$mACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT :: forall r. AccessFlagBits -> (Void# -> r) -> (Void# -> r) -> r
ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT = AccessFlagBits 0x02000000
type AccessFlags = AccessFlagBits
instance Show AccessFlagBits where
showsPrec :: Int -> AccessFlagBits -> ShowS
showsPrec p :: Int
p = \case
ACCESS_INDIRECT_COMMAND_READ_BIT -> String -> ShowS
showString "ACCESS_INDIRECT_COMMAND_READ_BIT"
ACCESS_INDEX_READ_BIT -> String -> ShowS
showString "ACCESS_INDEX_READ_BIT"
ACCESS_VERTEX_ATTRIBUTE_READ_BIT -> String -> ShowS
showString "ACCESS_VERTEX_ATTRIBUTE_READ_BIT"
ACCESS_UNIFORM_READ_BIT -> String -> ShowS
showString "ACCESS_UNIFORM_READ_BIT"
ACCESS_INPUT_ATTACHMENT_READ_BIT -> String -> ShowS
showString "ACCESS_INPUT_ATTACHMENT_READ_BIT"
ACCESS_SHADER_READ_BIT -> String -> ShowS
showString "ACCESS_SHADER_READ_BIT"
ACCESS_SHADER_WRITE_BIT -> String -> ShowS
showString "ACCESS_SHADER_WRITE_BIT"
ACCESS_COLOR_ATTACHMENT_READ_BIT -> String -> ShowS
showString "ACCESS_COLOR_ATTACHMENT_READ_BIT"
ACCESS_COLOR_ATTACHMENT_WRITE_BIT -> String -> ShowS
showString "ACCESS_COLOR_ATTACHMENT_WRITE_BIT"
ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT -> String -> ShowS
showString "ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT"
ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT -> String -> ShowS
showString "ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT"
ACCESS_TRANSFER_READ_BIT -> String -> ShowS
showString "ACCESS_TRANSFER_READ_BIT"
ACCESS_TRANSFER_WRITE_BIT -> String -> ShowS
showString "ACCESS_TRANSFER_WRITE_BIT"
ACCESS_HOST_READ_BIT -> String -> ShowS
showString "ACCESS_HOST_READ_BIT"
ACCESS_HOST_WRITE_BIT -> String -> ShowS
showString "ACCESS_HOST_WRITE_BIT"
ACCESS_MEMORY_READ_BIT -> String -> ShowS
showString "ACCESS_MEMORY_READ_BIT"
ACCESS_MEMORY_WRITE_BIT -> String -> ShowS
showString "ACCESS_MEMORY_WRITE_BIT"
ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV -> String -> ShowS
showString "ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV"
ACCESS_COMMAND_PREPROCESS_READ_BIT_NV -> String -> ShowS
showString "ACCESS_COMMAND_PREPROCESS_READ_BIT_NV"
ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT -> String -> ShowS
showString "ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT"
ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV -> String -> ShowS
showString "ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV"
ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR -> String -> ShowS
showString "ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR"
ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR -> String -> ShowS
showString "ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR"
ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT -> String -> ShowS
showString "ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT"
ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT -> String -> ShowS
showString "ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT"
ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT -> String -> ShowS
showString "ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT"
ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT -> String -> ShowS
showString "ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT"
ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT -> String -> ShowS
showString "ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT"
AccessFlagBits x :: Flags
x -> Bool -> ShowS -> ShowS
showParen (Int
p Int -> Int -> Bool
forall a. Ord a => a -> a -> Bool
>= 11) (String -> ShowS
showString "AccessFlagBits 0x" ShowS -> ShowS -> ShowS
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Flags -> ShowS
forall a. (Integral a, Show a) => a -> ShowS
showHex Flags
x)
instance Read AccessFlagBits where
readPrec :: ReadPrec AccessFlagBits
readPrec = ReadPrec AccessFlagBits -> ReadPrec AccessFlagBits
forall a. ReadPrec a -> ReadPrec a
parens ([(String, ReadPrec AccessFlagBits)] -> ReadPrec AccessFlagBits
forall a. [(String, ReadPrec a)] -> ReadPrec a
choose [("ACCESS_INDIRECT_COMMAND_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_INDIRECT_COMMAND_READ_BIT)
, ("ACCESS_INDEX_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_INDEX_READ_BIT)
, ("ACCESS_VERTEX_ATTRIBUTE_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_VERTEX_ATTRIBUTE_READ_BIT)
, ("ACCESS_UNIFORM_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_UNIFORM_READ_BIT)
, ("ACCESS_INPUT_ATTACHMENT_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_INPUT_ATTACHMENT_READ_BIT)
, ("ACCESS_SHADER_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_SHADER_READ_BIT)
, ("ACCESS_SHADER_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_SHADER_WRITE_BIT)
, ("ACCESS_COLOR_ATTACHMENT_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_COLOR_ATTACHMENT_READ_BIT)
, ("ACCESS_COLOR_ATTACHMENT_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_COLOR_ATTACHMENT_WRITE_BIT)
, ("ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT)
, ("ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT)
, ("ACCESS_TRANSFER_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_TRANSFER_READ_BIT)
, ("ACCESS_TRANSFER_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_TRANSFER_WRITE_BIT)
, ("ACCESS_HOST_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_HOST_READ_BIT)
, ("ACCESS_HOST_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_HOST_WRITE_BIT)
, ("ACCESS_MEMORY_READ_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_MEMORY_READ_BIT)
, ("ACCESS_MEMORY_WRITE_BIT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_MEMORY_WRITE_BIT)
, ("ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV)
, ("ACCESS_COMMAND_PREPROCESS_READ_BIT_NV", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_COMMAND_PREPROCESS_READ_BIT_NV)
, ("ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT)
, ("ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV)
, ("ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR)
, ("ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR)
, ("ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT)
, ("ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT)
, ("ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT)
, ("ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT)
, ("ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT", AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure AccessFlagBits
ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT)]
ReadPrec AccessFlagBits
-> ReadPrec AccessFlagBits -> ReadPrec AccessFlagBits
forall a. ReadPrec a -> ReadPrec a -> ReadPrec a
+++
Int -> ReadPrec AccessFlagBits -> ReadPrec AccessFlagBits
forall a. Int -> ReadPrec a -> ReadPrec a
prec 10 (do
Lexeme -> ReadPrec ()
expectP (String -> Lexeme
Ident "AccessFlagBits")
Flags
v <- ReadPrec Flags -> ReadPrec Flags
forall a. ReadPrec a -> ReadPrec a
step ReadPrec Flags
forall a. Read a => ReadPrec a
readPrec
AccessFlagBits -> ReadPrec AccessFlagBits
forall (f :: * -> *) a. Applicative f => a -> f a
pure (Flags -> AccessFlagBits
AccessFlagBits Flags
v)))