Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- debugMarkerSetObjectNameEXT :: forall io. MonadIO io => Device -> DebugMarkerObjectNameInfoEXT -> io ()
- debugMarkerSetObjectTagEXT :: forall io. MonadIO io => Device -> DebugMarkerObjectTagInfoEXT -> io ()
- cmdDebugMarkerBeginEXT :: forall io. MonadIO io => CommandBuffer -> DebugMarkerMarkerInfoEXT -> io ()
- cmdDebugMarkerEndEXT :: forall io. MonadIO io => CommandBuffer -> io ()
- cmdDebugMarkerInsertEXT :: forall io. MonadIO io => CommandBuffer -> DebugMarkerMarkerInfoEXT -> io ()
- data DebugMarkerObjectNameInfoEXT = DebugMarkerObjectNameInfoEXT {}
- data DebugMarkerObjectTagInfoEXT = DebugMarkerObjectTagInfoEXT {
- objectType :: DebugReportObjectTypeEXT
- object :: Word64
- tagName :: Word64
- tagSize :: Word64
- tag :: Ptr ()
- data DebugMarkerMarkerInfoEXT = DebugMarkerMarkerInfoEXT {
- markerName :: ByteString
- color :: (Float, Float, Float, Float)
- type EXT_DEBUG_MARKER_SPEC_VERSION = 4
- pattern EXT_DEBUG_MARKER_SPEC_VERSION :: forall a. Integral a => a
- type EXT_DEBUG_MARKER_EXTENSION_NAME = "VK_EXT_debug_marker"
- pattern EXT_DEBUG_MARKER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype DebugReportObjectTypeEXT where
- DebugReportObjectTypeEXT Int32
- pattern DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT :: DebugReportObjectTypeEXT
- pattern DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT :: DebugReportObjectTypeEXT
Documentation
debugMarkerSetObjectNameEXT :: forall io. MonadIO io => Device -> DebugMarkerObjectNameInfoEXT -> io () Source #
vkDebugMarkerSetObjectNameEXT - Give a user-friendly name to an object
Parameters
device
is the device that created the object.
pNameInfo
is a pointer to aDebugMarkerObjectNameInfoEXT
structure specifying the parameters of the name to set on the object.
Valid Usage (Implicit)
device
must be a validDevice
handle
pNameInfo
must be a valid pointer to a validDebugMarkerObjectNameInfoEXT
structure
Host Synchronization
- Host access to
pNameInfo->object
must be externally synchronized
Return Codes
See Also
debugMarkerSetObjectTagEXT :: forall io. MonadIO io => Device -> DebugMarkerObjectTagInfoEXT -> io () Source #
vkDebugMarkerSetObjectTagEXT - Attach arbitrary data to an object
Parameters
device
is the device that created the object.
pTagInfo
is a pointer to aDebugMarkerObjectTagInfoEXT
structure specifying the parameters of the tag to attach to the object.
Valid Usage (Implicit)
device
must be a validDevice
handle
pTagInfo
must be a valid pointer to a validDebugMarkerObjectTagInfoEXT
structure
Host Synchronization
- Host access to
pTagInfo->object
must be externally synchronized
Return Codes
See Also
cmdDebugMarkerBeginEXT :: forall io. MonadIO io => CommandBuffer -> DebugMarkerMarkerInfoEXT -> io () Source #
vkCmdDebugMarkerBeginEXT - Open a command buffer marker region
Parameters
commandBuffer
is the command buffer into which the command is recorded.
pMarkerInfo
is a pointer to aDebugMarkerMarkerInfoEXT
structure specifying the parameters of the marker region to open.
Valid Usage (Implicit)
commandBuffer
must be a validCommandBuffer
handle
pMarkerInfo
must be a valid pointer to a validDebugMarkerMarkerInfoEXT
structurecommandBuffer
must be in the recording state- The
CommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
CommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics Compute |
See Also
cmdDebugMarkerEndEXT :: forall io. MonadIO io => CommandBuffer -> io () Source #
vkCmdDebugMarkerEndEXT - Close a command buffer marker region
Parameters
commandBuffer
is the command buffer into which the command is recorded.
Description
An application may open a marker region in one command buffer and
close it in another, or otherwise split marker regions across multiple
command buffers or multiple queue submissions. When viewed from the
linear series of submissions to a single queue, the calls to
cmdDebugMarkerBeginEXT
and cmdDebugMarkerEndEXT
must be matched
and balanced.
Valid Usage
- There must be an outstanding
cmdDebugMarkerBeginEXT
command prior to thecmdDebugMarkerEndEXT
on the queue thatcommandBuffer
is submitted to
- If
commandBuffer
is a secondary command buffer, there must be an outstandingcmdDebugMarkerBeginEXT
command recorded tocommandBuffer
that has not previously been ended by a call tocmdDebugMarkerEndEXT
Valid Usage (Implicit)
commandBuffer
must be a validCommandBuffer
handle
commandBuffer
must be in the recording state- The
CommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
CommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics Compute |
See Also
cmdDebugMarkerInsertEXT :: forall io. MonadIO io => CommandBuffer -> DebugMarkerMarkerInfoEXT -> io () Source #
vkCmdDebugMarkerInsertEXT - Insert a marker label into a command buffer
Parameters
commandBuffer
is the command buffer into which the command is recorded.
pMarkerInfo
is a pointer to aDebugMarkerMarkerInfoEXT
structure specifying the parameters of the marker to insert.
Valid Usage (Implicit)
commandBuffer
must be a validCommandBuffer
handle
pMarkerInfo
must be a valid pointer to a validDebugMarkerMarkerInfoEXT
structurecommandBuffer
must be in the recording state- The
CommandPool
thatcommandBuffer
was allocated from must support graphics, or compute operations
Host Synchronization
- Host access to the
CommandPool
thatcommandBuffer
was allocated from must be externally synchronized
Command Properties
'
Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
---|---|---|---|
Primary Secondary | Both | Graphics Compute |
See Also
data DebugMarkerObjectNameInfoEXT Source #
VkDebugMarkerObjectNameInfoEXT - Specify parameters of a name to give to an object
Description
Applications may change the name associated with an object simply by
calling debugMarkerSetObjectNameEXT
again with a new string. To remove
a previously set name, pObjectName
should be set to an empty string.
Valid Usage (Implicit)
See Also
DebugReportObjectTypeEXT
,
StructureType
,
debugMarkerSetObjectNameEXT
DebugMarkerObjectNameInfoEXT | |
|
Instances
Show DebugMarkerObjectNameInfoEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_debug_marker showsPrec :: Int -> DebugMarkerObjectNameInfoEXT -> ShowS # show :: DebugMarkerObjectNameInfoEXT -> String # showList :: [DebugMarkerObjectNameInfoEXT] -> ShowS # | |
FromCStruct DebugMarkerObjectNameInfoEXT Source # | |
ToCStruct DebugMarkerObjectNameInfoEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_debug_marker withCStruct :: DebugMarkerObjectNameInfoEXT -> (Ptr DebugMarkerObjectNameInfoEXT -> IO b) -> IO b Source # pokeCStruct :: Ptr DebugMarkerObjectNameInfoEXT -> DebugMarkerObjectNameInfoEXT -> IO b -> IO b Source # withZeroCStruct :: (Ptr DebugMarkerObjectNameInfoEXT -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr DebugMarkerObjectNameInfoEXT -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero DebugMarkerObjectNameInfoEXT Source # | |
data DebugMarkerObjectTagInfoEXT Source #
VkDebugMarkerObjectTagInfoEXT - Specify parameters of a tag to attach to an object
Description
The tagName
parameter gives a name or identifier to the type of data
being tagged. This can be used by debugging layers to easily filter for
only data that can be used by that implementation.
Valid Usage (Implicit)
See Also
DebugReportObjectTypeEXT
,
StructureType
,
debugMarkerSetObjectTagEXT
DebugMarkerObjectTagInfoEXT | |
|
Instances
data DebugMarkerMarkerInfoEXT Source #
VkDebugMarkerMarkerInfoEXT - Specify parameters of a command buffer marker region
Valid Usage (Implicit)
See Also
StructureType
,
cmdDebugMarkerBeginEXT
, cmdDebugMarkerInsertEXT
DebugMarkerMarkerInfoEXT | |
|
Instances
Show DebugMarkerMarkerInfoEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_debug_marker showsPrec :: Int -> DebugMarkerMarkerInfoEXT -> ShowS # show :: DebugMarkerMarkerInfoEXT -> String # showList :: [DebugMarkerMarkerInfoEXT] -> ShowS # | |
FromCStruct DebugMarkerMarkerInfoEXT Source # | |
ToCStruct DebugMarkerMarkerInfoEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_debug_marker withCStruct :: DebugMarkerMarkerInfoEXT -> (Ptr DebugMarkerMarkerInfoEXT -> IO b) -> IO b Source # pokeCStruct :: Ptr DebugMarkerMarkerInfoEXT -> DebugMarkerMarkerInfoEXT -> IO b -> IO b Source # withZeroCStruct :: (Ptr DebugMarkerMarkerInfoEXT -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr DebugMarkerMarkerInfoEXT -> IO b -> IO b Source # cStructSize :: Int Source # | |
Zero DebugMarkerMarkerInfoEXT Source # | |
Defined in Vulkan.Extensions.VK_EXT_debug_marker |
type EXT_DEBUG_MARKER_SPEC_VERSION = 4 Source #
pattern EXT_DEBUG_MARKER_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_DEBUG_MARKER_EXTENSION_NAME = "VK_EXT_debug_marker" Source #
pattern EXT_DEBUG_MARKER_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
newtype DebugReportObjectTypeEXT Source #
VkDebugReportObjectTypeEXT - Specify the type of an object handle
Description
'
DebugReportObjectTypeEXT
and Vulkan Handle Relationship
Note
The primary expected use of
ERROR_VALIDATION_FAILED_EXT
is for
validation layer testing. It is not expected that an application would
see this error code during normal use of the validation layers.
See Also
DebugMarkerObjectNameInfoEXT
,
DebugMarkerObjectTagInfoEXT
,
debugReportMessageEXT