C Specification
If the pNext
chain of VkPipelineRasterizationStateCreateInfo
includes a VkPipelineRasterizationConservativeStateCreateInfoEXT
structure, then that structure includes parameters controlling conservative
rasterization.
VkPipelineRasterizationConservativeStateCreateInfoEXT
is defined as:
// Provided by VK_EXT_conservative_rasterization
typedef struct VkPipelineRasterizationConservativeStateCreateInfoEXT {
VkStructureType sType;
const void* pNext;
VkPipelineRasterizationConservativeStateCreateFlagsEXT flags;
VkConservativeRasterizationModeEXT conservativeRasterizationMode;
float extraPrimitiveOverestimationSize;
} VkPipelineRasterizationConservativeStateCreateInfoEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is reserved for future use. -
conservativeRasterizationMode
is the conservative rasterization mode to use. -
extraPrimitiveOverestimationSize
is the extra size in pixels to increase the generating primitive during conservative rasterization at each of its edges inX
andY
equally in screen space beyond the base overestimation specified inVkPhysicalDeviceConservativeRasterizationPropertiesEXT
::primitiveOverestimationSize
. IfconservativeRasterizationMode
is notVK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT
, this value is ignored.
Description
If this structure is not included in the pNext
chain,
conservativeRasterizationMode
is considered to be
VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
, and and conservative
rasterization is disabled.
Polygon rasterization can be made conservative by setting
conservativeRasterizationMode
to
VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT
or
VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT
in
VkPipelineRasterizationConservativeStateCreateInfoEXT
.
Note
If |
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.