Structures
VkDepthBiasInfoEXT
Structure specifying depth bias parameters
The VkDepthBiasInfoEXT structure is defined as:
typedef struct VkDepthBiasInfoEXT {
VkStructureType sType;
const void* pNext;
float depthBiasConstantFactor;
float depthBiasClamp;
float depthBiasSlopeFactor;
} VkDepthBiasInfoEXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.depthBiasConstantFactoris a scalar factor controlling the constant depth value added to each fragment.depthBiasClampis the maximum (or minimum) depth bias of a fragment.depthBiasSlopeFactoris a scalar factor applied to a fragment’s slope in depth bias calculations.
If pNext does not contain a VkDepthBiasRepresentationInfoEXT
structure, then this command is equivalent to including a
VkDepthBiasRepresentationInfoEXT with depthBiasExact set to
VK_FALSE and depthBiasRepresentation set to
VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT.
Valid Usage
VUID-VkDepthBiasInfoEXT-depthBiasClamp-08950
If the depthBiasClamp feature is not
enabled, depthBiasClamp must be 0.0
Valid Usage (Implicit)
VUID-VkDepthBiasInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT
VUID-VkDepthBiasInfoEXT-pNext-pNext
pNext must be NULL or a pointer to a valid instance of VkDepthBiasRepresentationInfoEXT
VUID-VkDepthBiasInfoEXT-sType-unique
The sType value of each structure in the pNext chain must be unique