Description
PointSize
-
Decorating a variable with the
PointSize
built-in decoration will make that variable contain the size of point primitives or the final rasterization of polygons if polygon mode isVK_POLYGON_MODE_POINT
whenVkPhysicalDeviceMaintenance5PropertiesKHR
::polygonModePointSize
is set toVK_TRUE
. The value written to the variable decorated withPointSize
by the last pre-rasterization shader stage in the pipeline is used as the framebuffer-space size of points produced by rasterization. Ifmaintenance5
is enabled and a value is not written to a variable decorated withPointSize
, a value of 1.0 is used as the size of points.
Note
When |
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.