{-# language CPP #-}
module Vulkan.Extensions.VK_EXT_debug_report ( createDebugReportCallbackEXT
, withDebugReportCallbackEXT
, destroyDebugReportCallbackEXT
, debugReportMessageEXT
, pattern STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT
, pattern DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT
, pattern DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT
, DebugReportCallbackCreateInfoEXT(..)
, DebugReportFlagsEXT
, DebugReportFlagBitsEXT( DEBUG_REPORT_INFORMATION_BIT_EXT
, DEBUG_REPORT_WARNING_BIT_EXT
, DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT
, DEBUG_REPORT_ERROR_BIT_EXT
, DEBUG_REPORT_DEBUG_BIT_EXT
, ..
)
, DebugReportObjectTypeEXT( DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
, DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT
, DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT
, DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT
, DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT
, DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT
, DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT
, DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT
, DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT
, DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT
, DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT
, DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT
, DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT
, DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV
, DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV
, DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT
, DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT
, DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT
, DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT
, ..
)
, PFN_vkDebugReportCallbackEXT
, FN_vkDebugReportCallbackEXT
, EXT_DEBUG_REPORT_SPEC_VERSION
, pattern EXT_DEBUG_REPORT_SPEC_VERSION
, EXT_DEBUG_REPORT_EXTENSION_NAME
, pattern EXT_DEBUG_REPORT_EXTENSION_NAME
, DebugReportCallbackEXT(..)
) where
import Data.Bits (Bits)
import Data.Bits (FiniteBits)
import Vulkan.Internal.Utils (enumReadPrec)
import Vulkan.Internal.Utils (enumShowsPrec)
import Vulkan.Internal.Utils (traceAroundEvent)
import Control.Exception.Base (bracket)
import Control.Monad (unless)
import Control.Monad.IO.Class (liftIO)
import Foreign.Marshal.Alloc (allocaBytes)
import Foreign.Marshal.Alloc (callocBytes)
import Foreign.Marshal.Alloc (free)
import GHC.Base (when)
import GHC.IO (throwIO)
import GHC.Ptr (nullFunPtr)
import Foreign.Ptr (nullPtr)
import Foreign.Ptr (plusPtr)
import GHC.Show (showString)
import GHC.Show (showsPrec)
import Numeric (showHex)
import Data.ByteString (useAsCString)
import Control.Monad.Trans.Class (lift)
import Control.Monad.Trans.Cont (evalContT)
import Foreign.C.Types (CChar(..))
import Foreign.C.Types (CSize(..))
import Vulkan.CStruct (FromCStruct)
import Vulkan.CStruct (FromCStruct(..))
import Vulkan.CStruct (ToCStruct)
import Vulkan.CStruct (ToCStruct(..))
import Vulkan.Zero (Zero)
import Vulkan.Zero (Zero(..))
import Control.Monad.IO.Class (MonadIO)
import Data.String (IsString)
import Data.Typeable (Typeable)
import Foreign.C.Types (CChar)
import Foreign.C.Types (CSize)
import Foreign.C.Types (CSize(CSize))
import Foreign.Storable (Storable)
import Foreign.Storable (Storable(peek))
import Foreign.Storable (Storable(poke))
import qualified Foreign.Storable (Storable(..))
import GHC.Generics (Generic)
import GHC.IO.Exception (IOErrorType(..))
import GHC.IO.Exception (IOException(..))
import Data.Int (Int32)
import Foreign.Ptr (FunPtr)
import Foreign.Ptr (Ptr)
import GHC.Read (Read(readPrec))
import GHC.Show (Show(showsPrec))
import Data.Word (Word64)
import Data.ByteString (ByteString)
import Data.Kind (Type)
import Control.Monad.Trans.Cont (ContT(..))
import Vulkan.NamedType ((:::))
import Vulkan.Core10.AllocationCallbacks (AllocationCallbacks)
import Vulkan.Core10.FundamentalTypes (Bool32)
import Vulkan.Extensions.Handles (DebugReportCallbackEXT)
import Vulkan.Extensions.Handles (DebugReportCallbackEXT(..))
import Vulkan.Core10.FundamentalTypes (Flags)
import Vulkan.Core10.Handles (Instance)
import Vulkan.Core10.Handles (Instance(..))
import Vulkan.Core10.Handles (Instance(Instance))
import Vulkan.Dynamic (InstanceCmds(pVkCreateDebugReportCallbackEXT))
import Vulkan.Dynamic (InstanceCmds(pVkDebugReportMessageEXT))
import Vulkan.Dynamic (InstanceCmds(pVkDestroyDebugReportCallbackEXT))
import Vulkan.Core10.Handles (Instance_T)
import Vulkan.Core10.Enums.Result (Result)
import Vulkan.Core10.Enums.Result (Result(..))
import Vulkan.Core10.Enums.StructureType (StructureType)
import Vulkan.Exception (VulkanException(..))
import Vulkan.Core10.Enums.StructureType (StructureType(STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT))
import Vulkan.Core10.Enums.Result (Result(SUCCESS))
import Vulkan.Extensions.Handles (DebugReportCallbackEXT(..))
foreign import ccall
#if !defined(SAFE_FOREIGN_CALLS)
unsafe
#endif
"dynamic" mkVkCreateDebugReportCallbackEXT
:: FunPtr (Ptr Instance_T -> Ptr DebugReportCallbackCreateInfoEXT -> Ptr AllocationCallbacks -> Ptr DebugReportCallbackEXT -> IO Result) -> Ptr Instance_T -> Ptr DebugReportCallbackCreateInfoEXT -> Ptr AllocationCallbacks -> Ptr DebugReportCallbackEXT -> IO Result
createDebugReportCallbackEXT :: forall io
. (MonadIO io)
=>
Instance
->
DebugReportCallbackCreateInfoEXT
->
("allocator" ::: Maybe AllocationCallbacks)
-> io (DebugReportCallbackEXT)
createDebugReportCallbackEXT :: forall (io :: * -> *).
MonadIO io =>
Instance
-> DebugReportCallbackCreateInfoEXT
-> ("allocator" ::: Maybe AllocationCallbacks)
-> io DebugReportCallbackEXT
createDebugReportCallbackEXT Instance
instance'
DebugReportCallbackCreateInfoEXT
createInfo
"allocator" ::: Maybe AllocationCallbacks
allocator = forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall (m :: * -> *) r. Monad m => ContT r m r -> m r
evalContT forall a b. (a -> b) -> a -> b
$ do
let vkCreateDebugReportCallbackEXTPtr :: FunPtr
(Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result)
vkCreateDebugReportCallbackEXTPtr = InstanceCmds
-> FunPtr
(Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result)
pVkCreateDebugReportCallbackEXT (case Instance
instance' of Instance{InstanceCmds
$sel:instanceCmds:Instance :: Instance -> InstanceCmds
instanceCmds :: InstanceCmds
instanceCmds} -> InstanceCmds
instanceCmds)
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
unless (FunPtr
(Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result)
vkCreateDebugReportCallbackEXTPtr forall a. Eq a => a -> a -> Bool
/= forall a. FunPtr a
nullFunPtr) forall a b. (a -> b) -> a -> b
$
forall e a. Exception e => e -> IO a
throwIO forall a b. (a -> b) -> a -> b
$ Maybe Handle
-> IOErrorType
-> String
-> String
-> Maybe CInt
-> Maybe String
-> IOException
IOError forall a. Maybe a
Nothing IOErrorType
InvalidArgument String
"" String
"The function pointer for vkCreateDebugReportCallbackEXT is null" forall a. Maybe a
Nothing forall a. Maybe a
Nothing
let vkCreateDebugReportCallbackEXT' :: Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result
vkCreateDebugReportCallbackEXT' = FunPtr
(Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result)
-> Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result
mkVkCreateDebugReportCallbackEXT FunPtr
(Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result)
vkCreateDebugReportCallbackEXTPtr
"pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
pCreateInfo <- forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a b. ToCStruct a => a -> (Ptr a -> IO b) -> IO b
withCStruct (DebugReportCallbackCreateInfoEXT
createInfo)
"pAllocator" ::: Ptr AllocationCallbacks
pAllocator <- case ("allocator" ::: Maybe AllocationCallbacks
allocator) of
"allocator" ::: Maybe AllocationCallbacks
Nothing -> forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a. Ptr a
nullPtr
Just AllocationCallbacks
j -> forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a b. ToCStruct a => a -> (Ptr a -> IO b) -> IO b
withCStruct (AllocationCallbacks
j)
"pCallback" ::: Ptr DebugReportCallbackEXT
pPCallback <- forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a b c. IO a -> (a -> IO b) -> (a -> IO c) -> IO c
bracket (forall a. Int -> IO (Ptr a)
callocBytes @DebugReportCallbackEXT Int
8) forall a. Ptr a -> IO ()
free
Result
r <- forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall a. String -> IO a -> IO a
traceAroundEvent String
"vkCreateDebugReportCallbackEXT" (Ptr Instance_T
-> ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> ("pCallback" ::: Ptr DebugReportCallbackEXT)
-> IO Result
vkCreateDebugReportCallbackEXT'
(Instance -> Ptr Instance_T
instanceHandle (Instance
instance'))
"pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
pCreateInfo
"pAllocator" ::: Ptr AllocationCallbacks
pAllocator
("pCallback" ::: Ptr DebugReportCallbackEXT
pPCallback))
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
when (Result
r forall a. Ord a => a -> a -> Bool
< Result
SUCCESS) (forall e a. Exception e => e -> IO a
throwIO (Result -> VulkanException
VulkanException Result
r))
DebugReportCallbackEXT
pCallback <- forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall a. Storable a => Ptr a -> IO a
peek @DebugReportCallbackEXT "pCallback" ::: Ptr DebugReportCallbackEXT
pPCallback
forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a b. (a -> b) -> a -> b
$ (DebugReportCallbackEXT
pCallback)
withDebugReportCallbackEXT :: forall io r . MonadIO io => Instance -> DebugReportCallbackCreateInfoEXT -> Maybe AllocationCallbacks -> (io DebugReportCallbackEXT -> (DebugReportCallbackEXT -> io ()) -> r) -> r
withDebugReportCallbackEXT :: forall (io :: * -> *) r.
MonadIO io =>
Instance
-> DebugReportCallbackCreateInfoEXT
-> ("allocator" ::: Maybe AllocationCallbacks)
-> (io DebugReportCallbackEXT
-> (DebugReportCallbackEXT -> io ()) -> r)
-> r
withDebugReportCallbackEXT Instance
instance' DebugReportCallbackCreateInfoEXT
pCreateInfo "allocator" ::: Maybe AllocationCallbacks
pAllocator io DebugReportCallbackEXT -> (DebugReportCallbackEXT -> io ()) -> r
b =
io DebugReportCallbackEXT -> (DebugReportCallbackEXT -> io ()) -> r
b (forall (io :: * -> *).
MonadIO io =>
Instance
-> DebugReportCallbackCreateInfoEXT
-> ("allocator" ::: Maybe AllocationCallbacks)
-> io DebugReportCallbackEXT
createDebugReportCallbackEXT Instance
instance' DebugReportCallbackCreateInfoEXT
pCreateInfo "allocator" ::: Maybe AllocationCallbacks
pAllocator)
(\(DebugReportCallbackEXT
o0) -> forall (io :: * -> *).
MonadIO io =>
Instance
-> DebugReportCallbackEXT
-> ("allocator" ::: Maybe AllocationCallbacks)
-> io ()
destroyDebugReportCallbackEXT Instance
instance' DebugReportCallbackEXT
o0 "allocator" ::: Maybe AllocationCallbacks
pAllocator)
foreign import ccall
#if !defined(SAFE_FOREIGN_CALLS)
unsafe
#endif
"dynamic" mkVkDestroyDebugReportCallbackEXT
:: FunPtr (Ptr Instance_T -> DebugReportCallbackEXT -> Ptr AllocationCallbacks -> IO ()) -> Ptr Instance_T -> DebugReportCallbackEXT -> Ptr AllocationCallbacks -> IO ()
destroyDebugReportCallbackEXT :: forall io
. (MonadIO io)
=>
Instance
->
DebugReportCallbackEXT
->
("allocator" ::: Maybe AllocationCallbacks)
-> io ()
destroyDebugReportCallbackEXT :: forall (io :: * -> *).
MonadIO io =>
Instance
-> DebugReportCallbackEXT
-> ("allocator" ::: Maybe AllocationCallbacks)
-> io ()
destroyDebugReportCallbackEXT Instance
instance'
DebugReportCallbackEXT
callback
"allocator" ::: Maybe AllocationCallbacks
allocator = forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall (m :: * -> *) r. Monad m => ContT r m r -> m r
evalContT forall a b. (a -> b) -> a -> b
$ do
let vkDestroyDebugReportCallbackEXTPtr :: FunPtr
(Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ())
vkDestroyDebugReportCallbackEXTPtr = InstanceCmds
-> FunPtr
(Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ())
pVkDestroyDebugReportCallbackEXT (case Instance
instance' of Instance{InstanceCmds
instanceCmds :: InstanceCmds
$sel:instanceCmds:Instance :: Instance -> InstanceCmds
instanceCmds} -> InstanceCmds
instanceCmds)
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
unless (FunPtr
(Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ())
vkDestroyDebugReportCallbackEXTPtr forall a. Eq a => a -> a -> Bool
/= forall a. FunPtr a
nullFunPtr) forall a b. (a -> b) -> a -> b
$
forall e a. Exception e => e -> IO a
throwIO forall a b. (a -> b) -> a -> b
$ Maybe Handle
-> IOErrorType
-> String
-> String
-> Maybe CInt
-> Maybe String
-> IOException
IOError forall a. Maybe a
Nothing IOErrorType
InvalidArgument String
"" String
"The function pointer for vkDestroyDebugReportCallbackEXT is null" forall a. Maybe a
Nothing forall a. Maybe a
Nothing
let vkDestroyDebugReportCallbackEXT' :: Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ()
vkDestroyDebugReportCallbackEXT' = FunPtr
(Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ())
-> Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ()
mkVkDestroyDebugReportCallbackEXT FunPtr
(Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ())
vkDestroyDebugReportCallbackEXTPtr
"pAllocator" ::: Ptr AllocationCallbacks
pAllocator <- case ("allocator" ::: Maybe AllocationCallbacks
allocator) of
"allocator" ::: Maybe AllocationCallbacks
Nothing -> forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a. Ptr a
nullPtr
Just AllocationCallbacks
j -> forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a b. ToCStruct a => a -> (Ptr a -> IO b) -> IO b
withCStruct (AllocationCallbacks
j)
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall a. String -> IO a -> IO a
traceAroundEvent String
"vkDestroyDebugReportCallbackEXT" (Ptr Instance_T
-> DebugReportCallbackEXT
-> ("pAllocator" ::: Ptr AllocationCallbacks)
-> IO ()
vkDestroyDebugReportCallbackEXT'
(Instance -> Ptr Instance_T
instanceHandle (Instance
instance'))
(DebugReportCallbackEXT
callback)
"pAllocator" ::: Ptr AllocationCallbacks
pAllocator)
forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a b. (a -> b) -> a -> b
$ ()
foreign import ccall
#if !defined(SAFE_FOREIGN_CALLS)
unsafe
#endif
"dynamic" mkVkDebugReportMessageEXT
:: FunPtr (Ptr Instance_T -> DebugReportFlagsEXT -> DebugReportObjectTypeEXT -> Word64 -> CSize -> Int32 -> Ptr CChar -> Ptr CChar -> IO ()) -> Ptr Instance_T -> DebugReportFlagsEXT -> DebugReportObjectTypeEXT -> Word64 -> CSize -> Int32 -> Ptr CChar -> Ptr CChar -> IO ()
debugReportMessageEXT :: forall io
. (MonadIO io)
=>
Instance
->
DebugReportFlagsEXT
->
DebugReportObjectTypeEXT
->
("object" ::: Word64)
->
("location" ::: Word64)
->
("messageCode" ::: Int32)
->
("layerPrefix" ::: ByteString)
->
("message" ::: ByteString)
-> io ()
debugReportMessageEXT :: forall (io :: * -> *).
MonadIO io =>
Instance
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("object" ::: Word64)
-> Int32
-> ("layerPrefix" ::: ByteString)
-> ("layerPrefix" ::: ByteString)
-> io ()
debugReportMessageEXT Instance
instance'
DebugReportFlagBitsEXT
flags
DebugReportObjectTypeEXT
objectType
"object" ::: Word64
object
"object" ::: Word64
location
Int32
messageCode
"layerPrefix" ::: ByteString
layerPrefix
"layerPrefix" ::: ByteString
message = forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall (m :: * -> *) r. Monad m => ContT r m r -> m r
evalContT forall a b. (a -> b) -> a -> b
$ do
let vkDebugReportMessageEXTPtr :: FunPtr
(Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ())
vkDebugReportMessageEXTPtr = InstanceCmds
-> FunPtr
(Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ())
pVkDebugReportMessageEXT (case Instance
instance' of Instance{InstanceCmds
instanceCmds :: InstanceCmds
$sel:instanceCmds:Instance :: Instance -> InstanceCmds
instanceCmds} -> InstanceCmds
instanceCmds)
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall (f :: * -> *). Applicative f => Bool -> f () -> f ()
unless (FunPtr
(Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ())
vkDebugReportMessageEXTPtr forall a. Eq a => a -> a -> Bool
/= forall a. FunPtr a
nullFunPtr) forall a b. (a -> b) -> a -> b
$
forall e a. Exception e => e -> IO a
throwIO forall a b. (a -> b) -> a -> b
$ Maybe Handle
-> IOErrorType
-> String
-> String
-> Maybe CInt
-> Maybe String
-> IOException
IOError forall a. Maybe a
Nothing IOErrorType
InvalidArgument String
"" String
"The function pointer for vkDebugReportMessageEXT is null" forall a. Maybe a
Nothing forall a. Maybe a
Nothing
let vkDebugReportMessageEXT' :: Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ()
vkDebugReportMessageEXT' = FunPtr
(Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ())
-> Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ()
mkVkDebugReportMessageEXT FunPtr
(Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ())
vkDebugReportMessageEXTPtr
"pLayerPrefix" ::: Ptr CChar
pLayerPrefix <- forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a.
("layerPrefix" ::: ByteString)
-> (("pLayerPrefix" ::: Ptr CChar) -> IO a) -> IO a
useAsCString ("layerPrefix" ::: ByteString
layerPrefix)
"pLayerPrefix" ::: Ptr CChar
pMessage <- forall {k} (r :: k) (m :: k -> *) a.
((a -> m r) -> m r) -> ContT r m a
ContT forall a b. (a -> b) -> a -> b
$ forall a.
("layerPrefix" ::: ByteString)
-> (("pLayerPrefix" ::: Ptr CChar) -> IO a) -> IO a
useAsCString ("layerPrefix" ::: ByteString
message)
forall (t :: (* -> *) -> * -> *) (m :: * -> *) a.
(MonadTrans t, Monad m) =>
m a -> t m a
lift forall a b. (a -> b) -> a -> b
$ forall a. String -> IO a -> IO a
traceAroundEvent String
"vkDebugReportMessageEXT" (Ptr Instance_T
-> DebugReportFlagBitsEXT
-> DebugReportObjectTypeEXT
-> ("object" ::: Word64)
-> ("location" ::: CSize)
-> Int32
-> ("pLayerPrefix" ::: Ptr CChar)
-> ("pLayerPrefix" ::: Ptr CChar)
-> IO ()
vkDebugReportMessageEXT'
(Instance -> Ptr Instance_T
instanceHandle (Instance
instance'))
(DebugReportFlagBitsEXT
flags)
(DebugReportObjectTypeEXT
objectType)
("object" ::: Word64
object)
(("object" ::: Word64) -> "location" ::: CSize
CSize ("object" ::: Word64
location))
(Int32
messageCode)
"pLayerPrefix" ::: Ptr CChar
pLayerPrefix
"pLayerPrefix" ::: Ptr CChar
pMessage)
forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a b. (a -> b) -> a -> b
$ ()
pattern $bSTRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT :: StructureType
$mSTRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT :: forall {r}. StructureType -> ((# #) -> r) -> ((# #) -> r) -> r
STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT
pattern $bDEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT = DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT
pattern $bDEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT = DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT
data DebugReportCallbackCreateInfoEXT = DebugReportCallbackCreateInfoEXT
{
DebugReportCallbackCreateInfoEXT -> DebugReportFlagBitsEXT
flags :: DebugReportFlagsEXT
,
DebugReportCallbackCreateInfoEXT -> PFN_vkDebugReportCallbackEXT
pfnCallback :: PFN_vkDebugReportCallbackEXT
,
DebugReportCallbackCreateInfoEXT -> Ptr ()
userData :: Ptr ()
}
deriving (Typeable)
#if defined(GENERIC_INSTANCES)
deriving instance Generic (DebugReportCallbackCreateInfoEXT)
#endif
deriving instance Show DebugReportCallbackCreateInfoEXT
instance ToCStruct DebugReportCallbackCreateInfoEXT where
withCStruct :: forall b.
DebugReportCallbackCreateInfoEXT
-> (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> IO b)
-> IO b
withCStruct DebugReportCallbackCreateInfoEXT
x ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT) -> IO b
f = forall a b. Int -> (Ptr a -> IO b) -> IO b
allocaBytes Int
40 forall a b. (a -> b) -> a -> b
$ \"pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p -> forall a b. ToCStruct a => Ptr a -> a -> IO b -> IO b
pokeCStruct "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p DebugReportCallbackCreateInfoEXT
x (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT) -> IO b
f "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p)
pokeCStruct :: forall b.
("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> DebugReportCallbackCreateInfoEXT -> IO b -> IO b
pokeCStruct "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p DebugReportCallbackCreateInfoEXT{Ptr ()
PFN_vkDebugReportCallbackEXT
DebugReportFlagBitsEXT
userData :: Ptr ()
pfnCallback :: PFN_vkDebugReportCallbackEXT
flags :: DebugReportFlagBitsEXT
$sel:userData:DebugReportCallbackCreateInfoEXT :: DebugReportCallbackCreateInfoEXT -> Ptr ()
$sel:pfnCallback:DebugReportCallbackCreateInfoEXT :: DebugReportCallbackCreateInfoEXT -> PFN_vkDebugReportCallbackEXT
$sel:flags:DebugReportCallbackCreateInfoEXT :: DebugReportCallbackCreateInfoEXT -> DebugReportFlagBitsEXT
..} IO b
f = do
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
0 :: Ptr StructureType)) (StructureType
STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
8 :: Ptr (Ptr ()))) (forall a. Ptr a
nullPtr)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
16 :: Ptr DebugReportFlagsEXT)) (DebugReportFlagBitsEXT
flags)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
24 :: Ptr PFN_vkDebugReportCallbackEXT)) (PFN_vkDebugReportCallbackEXT
pfnCallback)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
32 :: Ptr (Ptr ()))) (Ptr ()
userData)
IO b
f
cStructSize :: Int
cStructSize = Int
40
cStructAlignment :: Int
cStructAlignment = Int
8
pokeZeroCStruct :: forall b.
("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> IO b -> IO b
pokeZeroCStruct "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p IO b
f = do
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
0 :: Ptr StructureType)) (StructureType
STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
8 :: Ptr (Ptr ()))) (forall a. Ptr a
nullPtr)
forall a. Storable a => Ptr a -> a -> IO ()
poke (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
24 :: Ptr PFN_vkDebugReportCallbackEXT)) (forall a. Zero a => a
zero)
IO b
f
instance FromCStruct DebugReportCallbackCreateInfoEXT where
peekCStruct :: ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> IO DebugReportCallbackCreateInfoEXT
peekCStruct "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p = do
DebugReportFlagBitsEXT
flags <- forall a. Storable a => Ptr a -> IO a
peek @DebugReportFlagsEXT (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
16 :: Ptr DebugReportFlagsEXT))
PFN_vkDebugReportCallbackEXT
pfnCallback <- forall a. Storable a => Ptr a -> IO a
peek @PFN_vkDebugReportCallbackEXT (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
24 :: Ptr PFN_vkDebugReportCallbackEXT))
Ptr ()
pUserData <- forall a. Storable a => Ptr a -> IO a
peek @(Ptr ()) (("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
p forall a b. Ptr a -> Int -> Ptr b
`plusPtr` Int
32 :: Ptr (Ptr ())))
forall (f :: * -> *) a. Applicative f => a -> f a
pure forall a b. (a -> b) -> a -> b
$ DebugReportFlagBitsEXT
-> PFN_vkDebugReportCallbackEXT
-> Ptr ()
-> DebugReportCallbackCreateInfoEXT
DebugReportCallbackCreateInfoEXT
DebugReportFlagBitsEXT
flags PFN_vkDebugReportCallbackEXT
pfnCallback Ptr ()
pUserData
instance Storable DebugReportCallbackCreateInfoEXT where
sizeOf :: DebugReportCallbackCreateInfoEXT -> Int
sizeOf ~DebugReportCallbackCreateInfoEXT
_ = Int
40
alignment :: DebugReportCallbackCreateInfoEXT -> Int
alignment ~DebugReportCallbackCreateInfoEXT
_ = Int
8
peek :: ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> IO DebugReportCallbackCreateInfoEXT
peek = forall a. FromCStruct a => Ptr a -> IO a
peekCStruct
poke :: ("pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT)
-> DebugReportCallbackCreateInfoEXT -> IO ()
poke "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
ptr DebugReportCallbackCreateInfoEXT
poked = forall a b. ToCStruct a => Ptr a -> a -> IO b -> IO b
pokeCStruct "pCreateInfo" ::: Ptr DebugReportCallbackCreateInfoEXT
ptr DebugReportCallbackCreateInfoEXT
poked (forall (f :: * -> *) a. Applicative f => a -> f a
pure ())
instance Zero DebugReportCallbackCreateInfoEXT where
zero :: DebugReportCallbackCreateInfoEXT
zero = DebugReportFlagBitsEXT
-> PFN_vkDebugReportCallbackEXT
-> Ptr ()
-> DebugReportCallbackCreateInfoEXT
DebugReportCallbackCreateInfoEXT
forall a. Zero a => a
zero
forall a. Zero a => a
zero
forall a. Zero a => a
zero
type DebugReportFlagsEXT = DebugReportFlagBitsEXT
newtype DebugReportFlagBitsEXT = DebugReportFlagBitsEXT Flags
deriving newtype (DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c/= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
== :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c== :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
Eq, Eq DebugReportFlagBitsEXT
DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Ordering
DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
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 :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$cmin :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
max :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$cmax :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
>= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c>= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
> :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c> :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
<= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c<= :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
< :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
$c< :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Bool
compare :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Ordering
$ccompare :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> Ordering
Ord, Ptr DebugReportFlagBitsEXT -> IO DebugReportFlagBitsEXT
Ptr DebugReportFlagBitsEXT -> Int -> IO DebugReportFlagBitsEXT
Ptr DebugReportFlagBitsEXT
-> Int -> DebugReportFlagBitsEXT -> IO ()
Ptr DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> IO ()
DebugReportFlagBitsEXT -> Int
forall b. Ptr b -> Int -> IO DebugReportFlagBitsEXT
forall b. Ptr b -> Int -> DebugReportFlagBitsEXT -> 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 DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> IO ()
$cpoke :: Ptr DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT -> IO ()
peek :: Ptr DebugReportFlagBitsEXT -> IO DebugReportFlagBitsEXT
$cpeek :: Ptr DebugReportFlagBitsEXT -> IO DebugReportFlagBitsEXT
pokeByteOff :: forall b. Ptr b -> Int -> DebugReportFlagBitsEXT -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> DebugReportFlagBitsEXT -> IO ()
peekByteOff :: forall b. Ptr b -> Int -> IO DebugReportFlagBitsEXT
$cpeekByteOff :: forall b. Ptr b -> Int -> IO DebugReportFlagBitsEXT
pokeElemOff :: Ptr DebugReportFlagBitsEXT
-> Int -> DebugReportFlagBitsEXT -> IO ()
$cpokeElemOff :: Ptr DebugReportFlagBitsEXT
-> Int -> DebugReportFlagBitsEXT -> IO ()
peekElemOff :: Ptr DebugReportFlagBitsEXT -> Int -> IO DebugReportFlagBitsEXT
$cpeekElemOff :: Ptr DebugReportFlagBitsEXT -> Int -> IO DebugReportFlagBitsEXT
alignment :: DebugReportFlagBitsEXT -> Int
$calignment :: DebugReportFlagBitsEXT -> Int
sizeOf :: DebugReportFlagBitsEXT -> Int
$csizeOf :: DebugReportFlagBitsEXT -> Int
Storable, DebugReportFlagBitsEXT
forall a. a -> Zero a
zero :: DebugReportFlagBitsEXT
$czero :: DebugReportFlagBitsEXT
Zero, Eq DebugReportFlagBitsEXT
DebugReportFlagBitsEXT
Int -> DebugReportFlagBitsEXT
DebugReportFlagBitsEXT -> Bool
DebugReportFlagBitsEXT -> Int
DebugReportFlagBitsEXT -> Maybe Int
DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
DebugReportFlagBitsEXT -> Int -> Bool
DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
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 :: DebugReportFlagBitsEXT -> Int
$cpopCount :: DebugReportFlagBitsEXT -> Int
rotateR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$crotateR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
rotateL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$crotateL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
unsafeShiftR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cunsafeShiftR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
shiftR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cshiftR :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
unsafeShiftL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cunsafeShiftL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
shiftL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cshiftL :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
isSigned :: DebugReportFlagBitsEXT -> Bool
$cisSigned :: DebugReportFlagBitsEXT -> Bool
bitSize :: DebugReportFlagBitsEXT -> Int
$cbitSize :: DebugReportFlagBitsEXT -> Int
bitSizeMaybe :: DebugReportFlagBitsEXT -> Maybe Int
$cbitSizeMaybe :: DebugReportFlagBitsEXT -> Maybe Int
testBit :: DebugReportFlagBitsEXT -> Int -> Bool
$ctestBit :: DebugReportFlagBitsEXT -> Int -> Bool
complementBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$ccomplementBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
clearBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cclearBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
setBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$csetBit :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
bit :: Int -> DebugReportFlagBitsEXT
$cbit :: Int -> DebugReportFlagBitsEXT
zeroBits :: DebugReportFlagBitsEXT
$czeroBits :: DebugReportFlagBitsEXT
rotate :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$crotate :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
shift :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
$cshift :: DebugReportFlagBitsEXT -> Int -> DebugReportFlagBitsEXT
complement :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$ccomplement :: DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
xor :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$cxor :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
.|. :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$c.|. :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
.&. :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
$c.&. :: DebugReportFlagBitsEXT
-> DebugReportFlagBitsEXT -> DebugReportFlagBitsEXT
Bits, Bits DebugReportFlagBitsEXT
DebugReportFlagBitsEXT -> Int
forall b.
Bits b -> (b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: DebugReportFlagBitsEXT -> Int
$ccountTrailingZeros :: DebugReportFlagBitsEXT -> Int
countLeadingZeros :: DebugReportFlagBitsEXT -> Int
$ccountLeadingZeros :: DebugReportFlagBitsEXT -> Int
finiteBitSize :: DebugReportFlagBitsEXT -> Int
$cfiniteBitSize :: DebugReportFlagBitsEXT -> Int
FiniteBits)
pattern $bDEBUG_REPORT_INFORMATION_BIT_EXT :: DebugReportFlagBitsEXT
$mDEBUG_REPORT_INFORMATION_BIT_EXT :: forall {r}.
DebugReportFlagBitsEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_INFORMATION_BIT_EXT = DebugReportFlagBitsEXT 0x00000001
pattern $bDEBUG_REPORT_WARNING_BIT_EXT :: DebugReportFlagBitsEXT
$mDEBUG_REPORT_WARNING_BIT_EXT :: forall {r}.
DebugReportFlagBitsEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_WARNING_BIT_EXT = DebugReportFlagBitsEXT 0x00000002
pattern $bDEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT :: DebugReportFlagBitsEXT
$mDEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT :: forall {r}.
DebugReportFlagBitsEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT = DebugReportFlagBitsEXT 0x00000004
pattern $bDEBUG_REPORT_ERROR_BIT_EXT :: DebugReportFlagBitsEXT
$mDEBUG_REPORT_ERROR_BIT_EXT :: forall {r}.
DebugReportFlagBitsEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_ERROR_BIT_EXT = DebugReportFlagBitsEXT 0x00000008
pattern $bDEBUG_REPORT_DEBUG_BIT_EXT :: DebugReportFlagBitsEXT
$mDEBUG_REPORT_DEBUG_BIT_EXT :: forall {r}.
DebugReportFlagBitsEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_DEBUG_BIT_EXT = DebugReportFlagBitsEXT 0x00000010
conNameDebugReportFlagBitsEXT :: String
conNameDebugReportFlagBitsEXT :: String
conNameDebugReportFlagBitsEXT = String
"DebugReportFlagBitsEXT"
enumPrefixDebugReportFlagBitsEXT :: String
enumPrefixDebugReportFlagBitsEXT :: String
enumPrefixDebugReportFlagBitsEXT = String
"DEBUG_REPORT_"
showTableDebugReportFlagBitsEXT :: [(DebugReportFlagBitsEXT, String)]
showTableDebugReportFlagBitsEXT :: [(DebugReportFlagBitsEXT, String)]
showTableDebugReportFlagBitsEXT =
[
( DebugReportFlagBitsEXT
DEBUG_REPORT_INFORMATION_BIT_EXT
, String
"INFORMATION_BIT_EXT"
)
,
( DebugReportFlagBitsEXT
DEBUG_REPORT_WARNING_BIT_EXT
, String
"WARNING_BIT_EXT"
)
,
( DebugReportFlagBitsEXT
DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT
, String
"PERFORMANCE_WARNING_BIT_EXT"
)
,
( DebugReportFlagBitsEXT
DEBUG_REPORT_ERROR_BIT_EXT
, String
"ERROR_BIT_EXT"
)
,
( DebugReportFlagBitsEXT
DEBUG_REPORT_DEBUG_BIT_EXT
, String
"DEBUG_BIT_EXT"
)
]
instance Show DebugReportFlagBitsEXT where
showsPrec :: Int -> DebugReportFlagBitsEXT -> ShowS
showsPrec =
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec
String
enumPrefixDebugReportFlagBitsEXT
[(DebugReportFlagBitsEXT, String)]
showTableDebugReportFlagBitsEXT
String
conNameDebugReportFlagBitsEXT
(\(DebugReportFlagBitsEXT Flags
x) -> Flags
x)
(\Flags
x -> String -> ShowS
showString String
"0x" forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. (Integral a, Show a) => a -> ShowS
showHex Flags
x)
instance Read DebugReportFlagBitsEXT where
readPrec :: ReadPrec DebugReportFlagBitsEXT
readPrec =
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec
String
enumPrefixDebugReportFlagBitsEXT
[(DebugReportFlagBitsEXT, String)]
showTableDebugReportFlagBitsEXT
String
conNameDebugReportFlagBitsEXT
Flags -> DebugReportFlagBitsEXT
DebugReportFlagBitsEXT
newtype DebugReportObjectTypeEXT = DebugReportObjectTypeEXT Int32
deriving newtype (DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c/= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
== :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c== :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
Eq, Eq DebugReportObjectTypeEXT
DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Ordering
DebugReportObjectTypeEXT
-> DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT
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 :: DebugReportObjectTypeEXT
-> DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT
$cmin :: DebugReportObjectTypeEXT
-> DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT
max :: DebugReportObjectTypeEXT
-> DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT
$cmax :: DebugReportObjectTypeEXT
-> DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT
>= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c>= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
> :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c> :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
<= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c<= :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
< :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
$c< :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Bool
compare :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Ordering
$ccompare :: DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> Ordering
Ord, Ptr DebugReportObjectTypeEXT -> IO DebugReportObjectTypeEXT
Ptr DebugReportObjectTypeEXT -> Int -> IO DebugReportObjectTypeEXT
Ptr DebugReportObjectTypeEXT
-> Int -> DebugReportObjectTypeEXT -> IO ()
Ptr DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> IO ()
DebugReportObjectTypeEXT -> Int
forall b. Ptr b -> Int -> IO DebugReportObjectTypeEXT
forall b. Ptr b -> Int -> DebugReportObjectTypeEXT -> 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 DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> IO ()
$cpoke :: Ptr DebugReportObjectTypeEXT -> DebugReportObjectTypeEXT -> IO ()
peek :: Ptr DebugReportObjectTypeEXT -> IO DebugReportObjectTypeEXT
$cpeek :: Ptr DebugReportObjectTypeEXT -> IO DebugReportObjectTypeEXT
pokeByteOff :: forall b. Ptr b -> Int -> DebugReportObjectTypeEXT -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> DebugReportObjectTypeEXT -> IO ()
peekByteOff :: forall b. Ptr b -> Int -> IO DebugReportObjectTypeEXT
$cpeekByteOff :: forall b. Ptr b -> Int -> IO DebugReportObjectTypeEXT
pokeElemOff :: Ptr DebugReportObjectTypeEXT
-> Int -> DebugReportObjectTypeEXT -> IO ()
$cpokeElemOff :: Ptr DebugReportObjectTypeEXT
-> Int -> DebugReportObjectTypeEXT -> IO ()
peekElemOff :: Ptr DebugReportObjectTypeEXT -> Int -> IO DebugReportObjectTypeEXT
$cpeekElemOff :: Ptr DebugReportObjectTypeEXT -> Int -> IO DebugReportObjectTypeEXT
alignment :: DebugReportObjectTypeEXT -> Int
$calignment :: DebugReportObjectTypeEXT -> Int
sizeOf :: DebugReportObjectTypeEXT -> Int
$csizeOf :: DebugReportObjectTypeEXT -> Int
Storable, DebugReportObjectTypeEXT
forall a. a -> Zero a
zero :: DebugReportObjectTypeEXT
$czero :: DebugReportObjectTypeEXT
Zero)
pattern $bDEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT = DebugReportObjectTypeEXT 0
pattern $bDEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT = DebugReportObjectTypeEXT 1
pattern $bDEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT = DebugReportObjectTypeEXT 2
pattern $bDEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT = DebugReportObjectTypeEXT 3
pattern $bDEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT = DebugReportObjectTypeEXT 4
pattern $bDEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT = DebugReportObjectTypeEXT 5
pattern $bDEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT = DebugReportObjectTypeEXT 6
pattern $bDEBUG_REPORT_OBJECT_TYPE_FENCE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_FENCE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT = DebugReportObjectTypeEXT 7
pattern $bDEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT = DebugReportObjectTypeEXT 8
pattern $bDEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT = DebugReportObjectTypeEXT 9
pattern $bDEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT = DebugReportObjectTypeEXT 10
pattern $bDEBUG_REPORT_OBJECT_TYPE_EVENT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_EVENT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT = DebugReportObjectTypeEXT 11
pattern $bDEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT = DebugReportObjectTypeEXT 12
pattern $bDEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT = DebugReportObjectTypeEXT 13
pattern $bDEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT = DebugReportObjectTypeEXT 14
pattern $bDEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT = DebugReportObjectTypeEXT 15
pattern $bDEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT = DebugReportObjectTypeEXT 16
pattern $bDEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT = DebugReportObjectTypeEXT 17
pattern $bDEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT = DebugReportObjectTypeEXT 18
pattern $bDEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT = DebugReportObjectTypeEXT 19
pattern $bDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT = DebugReportObjectTypeEXT 20
pattern $bDEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT = DebugReportObjectTypeEXT 21
pattern $bDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT = DebugReportObjectTypeEXT 22
pattern $bDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT = DebugReportObjectTypeEXT 23
pattern $bDEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT = DebugReportObjectTypeEXT 24
pattern $bDEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT = DebugReportObjectTypeEXT 25
pattern $bDEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT = DebugReportObjectTypeEXT 26
pattern $bDEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT = DebugReportObjectTypeEXT 27
pattern $bDEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT = DebugReportObjectTypeEXT 28
pattern $bDEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT = DebugReportObjectTypeEXT 29
pattern $bDEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT = DebugReportObjectTypeEXT 30
pattern $bDEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT = DebugReportObjectTypeEXT 33
pattern $bDEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT = DebugReportObjectTypeEXT 1000366000
pattern $bDEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV = DebugReportObjectTypeEXT 1000307001
pattern $bDEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV = DebugReportObjectTypeEXT 1000307000
pattern $bDEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT = DebugReportObjectTypeEXT 1000165000
pattern $bDEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT = DebugReportObjectTypeEXT 1000156000
pattern $bDEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT = DebugReportObjectTypeEXT 1000150000
pattern $bDEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT = DebugReportObjectTypeEXT 1000029001
pattern $bDEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT = DebugReportObjectTypeEXT 1000029000
pattern $bDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT :: DebugReportObjectTypeEXT
$mDEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT :: forall {r}.
DebugReportObjectTypeEXT -> ((# #) -> r) -> ((# #) -> r) -> r
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT = DebugReportObjectTypeEXT 1000085000
{-# COMPLETE
DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
, DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT
, DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT
, DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT
, DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT
, DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT
, DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT
, DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT
, DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT
, DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT
, DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT
, DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT
, DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT
, DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT
, DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT
, DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT
, DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT
, DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV
, DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV
, DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT
, DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT
, DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT
, DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT
, DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT
, DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT ::
DebugReportObjectTypeEXT
#-}
conNameDebugReportObjectTypeEXT :: String
conNameDebugReportObjectTypeEXT :: String
conNameDebugReportObjectTypeEXT = String
"DebugReportObjectTypeEXT"
enumPrefixDebugReportObjectTypeEXT :: String
enumPrefixDebugReportObjectTypeEXT :: String
enumPrefixDebugReportObjectTypeEXT = String
"DEBUG_REPORT_OBJECT_TYPE_"
showTableDebugReportObjectTypeEXT :: [(DebugReportObjectTypeEXT, String)]
showTableDebugReportObjectTypeEXT :: [(DebugReportObjectTypeEXT, String)]
showTableDebugReportObjectTypeEXT =
[
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT
, String
"UNKNOWN_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT
, String
"INSTANCE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT
, String
"PHYSICAL_DEVICE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT
, String
"DEVICE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT
, String
"QUEUE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT
, String
"SEMAPHORE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT
, String
"COMMAND_BUFFER_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT
, String
"FENCE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT
, String
"DEVICE_MEMORY_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT
, String
"BUFFER_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT
, String
"IMAGE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT
, String
"EVENT_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT
, String
"QUERY_POOL_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT
, String
"BUFFER_VIEW_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT
, String
"IMAGE_VIEW_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT
, String
"SHADER_MODULE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT
, String
"PIPELINE_CACHE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT
, String
"PIPELINE_LAYOUT_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT
, String
"RENDER_PASS_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT
, String
"PIPELINE_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT
, String
"DESCRIPTOR_SET_LAYOUT_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT
, String
"SAMPLER_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT
, String
"DESCRIPTOR_POOL_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT
, String
"DESCRIPTOR_SET_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT
, String
"FRAMEBUFFER_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT
, String
"COMMAND_POOL_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT
, String
"SURFACE_KHR_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT
, String
"SWAPCHAIN_KHR_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT
, String
"DEBUG_REPORT_CALLBACK_EXT_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT
, String
"DISPLAY_KHR_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT
, String
"DISPLAY_MODE_KHR_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT
, String
"VALIDATION_CACHE_EXT_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA_EXT
, String
"BUFFER_COLLECTION_FUCHSIA_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV
, String
"CUDA_FUNCTION_NV"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_CUDA_MODULE_NV
, String
"CUDA_MODULE_NV"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT
, String
"ACCELERATION_STRUCTURE_NV_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT
, String
"SAMPLER_YCBCR_CONVERSION_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT
, String
"ACCELERATION_STRUCTURE_KHR_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT
, String
"CU_FUNCTION_NVX_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT
, String
"CU_MODULE_NVX_EXT"
)
,
( DebugReportObjectTypeEXT
DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT
, String
"DESCRIPTOR_UPDATE_TEMPLATE_EXT"
)
]
instance Show DebugReportObjectTypeEXT where
showsPrec :: Int -> DebugReportObjectTypeEXT -> ShowS
showsPrec =
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec
String
enumPrefixDebugReportObjectTypeEXT
[(DebugReportObjectTypeEXT, String)]
showTableDebugReportObjectTypeEXT
String
conNameDebugReportObjectTypeEXT
(\(DebugReportObjectTypeEXT Int32
x) -> Int32
x)
(forall a. Show a => Int -> a -> ShowS
showsPrec Int
11)
instance Read DebugReportObjectTypeEXT where
readPrec :: ReadPrec DebugReportObjectTypeEXT
readPrec =
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec
String
enumPrefixDebugReportObjectTypeEXT
[(DebugReportObjectTypeEXT, String)]
showTableDebugReportObjectTypeEXT
String
conNameDebugReportObjectTypeEXT
Int32 -> DebugReportObjectTypeEXT
DebugReportObjectTypeEXT
type FN_vkDebugReportCallbackEXT = DebugReportFlagsEXT -> DebugReportObjectTypeEXT -> ("object" ::: Word64) -> ("location" ::: CSize) -> ("messageCode" ::: Int32) -> ("pLayerPrefix" ::: Ptr CChar) -> ("pMessage" ::: Ptr CChar) -> ("pUserData" ::: Ptr ()) -> IO Bool32
type PFN_vkDebugReportCallbackEXT = FunPtr FN_vkDebugReportCallbackEXT
type EXT_DEBUG_REPORT_SPEC_VERSION = 10
pattern EXT_DEBUG_REPORT_SPEC_VERSION :: forall a . Integral a => a
pattern $bEXT_DEBUG_REPORT_SPEC_VERSION :: forall a. Integral a => a
$mEXT_DEBUG_REPORT_SPEC_VERSION :: forall {r} {a}.
Integral a =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
EXT_DEBUG_REPORT_SPEC_VERSION = 10
type EXT_DEBUG_REPORT_EXTENSION_NAME = "VK_EXT_debug_report"
pattern EXT_DEBUG_REPORT_EXTENSION_NAME :: forall a . (Eq a, IsString a) => a
pattern $bEXT_DEBUG_REPORT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
$mEXT_DEBUG_REPORT_EXTENSION_NAME :: forall {r} {a}.
(Eq a, IsString a) =>
a -> ((# #) -> r) -> ((# #) -> r) -> r
EXT_DEBUG_REPORT_EXTENSION_NAME = "VK_EXT_debug_report"