Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PipelineCreationFeedbackEXT = PipelineCreationFeedbackEXT {}
- data PipelineCreationFeedbackCreateInfoEXT = PipelineCreationFeedbackCreateInfoEXT {}
- newtype PipelineCreationFeedbackFlagBitsEXT where
- PipelineCreationFeedbackFlagBitsEXT Flags
- pattern PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT
- pattern PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT
- pattern PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT
- type PipelineCreationFeedbackFlagsEXT = PipelineCreationFeedbackFlagBitsEXT
- type EXT_PIPELINE_CREATION_FEEDBACK_SPEC_VERSION = 1
- pattern EXT_PIPELINE_CREATION_FEEDBACK_SPEC_VERSION :: forall a. Integral a => a
- type EXT_PIPELINE_CREATION_FEEDBACK_EXTENSION_NAME = "VK_EXT_pipeline_creation_feedback"
- pattern EXT_PIPELINE_CREATION_FEEDBACK_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PipelineCreationFeedbackEXT Source #
VkPipelineCreationFeedbackEXT - Feedback about the creation of a pipeline or pipeline stage
Description
If the PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT
is not set in
Flags
, an implementation must not
set any other bits in Flags
, and all
other PipelineCreationFeedbackEXT
data members are undefined.
See Also
PipelineCreationFeedbackCreateInfoEXT
,
PipelineCreationFeedbackFlagBitsEXT
,
PipelineCreationFeedbackFlagsEXT
PipelineCreationFeedbackEXT | |
|
Instances
data PipelineCreationFeedbackCreateInfoEXT Source #
VkPipelineCreationFeedbackCreateInfoEXT - Request for feedback about the creation of a pipeline
Description
An implementation should write pipeline creation feedback to
pPipelineCreationFeedback
and may write pipeline stage creation
feedback to pPipelineStageCreationFeedbacks
. An implementation must
set or clear the PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT
in
'PipelineCreationFeedbackEXT'::'Graphics.Vulkan.Core10.BaseType.Flags'
for pPipelineCreationFeedback
and every element of
pPipelineStageCreationFeedbacks
.
Note
One common scenario for an implementation to skip per-stage feedback is
when PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT
is set in pPipelineCreationFeedback
.
When chained to
RayTracingPipelineCreateInfoNV
or GraphicsPipelineCreateInfo
, the i
element of pPipelineStageCreationFeedbacks
corresponds to the i
element of
RayTracingPipelineCreateInfoNV
::pStages
or
GraphicsPipelineCreateInfo
::pStages
.
When chained to
ComputePipelineCreateInfo
, the first
element of pPipelineStageCreationFeedbacks
corresponds to
ComputePipelineCreateInfo
::stage
.
Valid Usage
- When chained to
GraphicsPipelineCreateInfo
,PipelineCreationFeedbackEXT
::pipelineStageCreationFeedbackCount
must equalGraphicsPipelineCreateInfo
::stageCount
- When chained to
ComputePipelineCreateInfo
,PipelineCreationFeedbackEXT
::pipelineStageCreationFeedbackCount
must equal 1 - When chained to
RayTracingPipelineCreateInfoNV
,PipelineCreationFeedbackEXT
::pipelineStageCreationFeedbackCount
must equalRayTracingPipelineCreateInfoNV
::stageCount
Valid Usage (Implicit)
pPipelineCreationFeedback
must be a valid pointer to aPipelineCreationFeedbackEXT
structurepPipelineStageCreationFeedbacks
must be a valid pointer to an array ofpipelineStageCreationFeedbackCount
PipelineCreationFeedbackEXT
structurespipelineStageCreationFeedbackCount
must be greater than0
See Also
ComputePipelineCreateInfo
,
GraphicsPipelineCreateInfo
,
PipelineCreationFeedbackEXT
,
RayTracingPipelineCreateInfoNV
,
StructureType
PipelineCreationFeedbackCreateInfoEXT | |
|
Instances
newtype PipelineCreationFeedbackFlagBitsEXT Source #
VkPipelineCreationFeedbackFlagBitsEXT - Bitmask specifying pipeline or pipeline stage creation feedback
See Also
PipelineCreationFeedbackCreateInfoEXT
, PipelineCreationFeedbackEXT
,
PipelineCreationFeedbackFlagsEXT
pattern PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT |
|
pattern PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT |
An implementation should set the
Note Implementations are encouraged to provide a meaningful signal to applications using this bit. The intention is to communicate to the application that the pipeline or pipeline stage was created "as fast as it gets" using the pipeline cache provided by the application. If an implementation uses an internal cache, it is discouraged from setting this bit as the feedback would be unactionable. |
pattern PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT :: PipelineCreationFeedbackFlagBitsEXT |
An implementation should set the
Note While "significant amount of work" is subjective, implementations are encouraged to provide a meaningful signal to applications using this bit. For example, a 1% reduction in duration may not warrant setting this bit, while a 50% reduction would. |
Instances
pattern EXT_PIPELINE_CREATION_FEEDBACK_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_PIPELINE_CREATION_FEEDBACK_EXTENSION_NAME = "VK_EXT_pipeline_creation_feedback" Source #
pattern EXT_PIPELINE_CREATION_FEEDBACK_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #