Navigate to the top level

Point_size

Description
Tests the behavior of NV097_SET_POINT_SIZE and NV097_SET_POINT_SMOOTH_ENABLE
See
https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glPointSize.xml
Each test renders a grid of points.
As points go from left to right: point size starts at 0 and increases by point_size_increment per point.
Suite class def

LargestPointSize_FF

Using the fixed function pipeline: Top row renders a single point with a point size of 1 pixel (8), then a huge value with ~0x1FF set. Bottom row renders a single point with a point size of 511 (0x1FF), then a huge value with ~0x1FF set. 64 pixel ruler quads are rendered near the huge value points. Demonstrates that values larger than 0x1FF are completely ignored rather than masked.

Image with alpha
Test result for Point_size::LargestPointSize_FF
Image as seen on display
No alpha test result for Point_size::LargestPointSize_FF

LargestPointSize_VS

Using the programmable pipeline: Top row renders a single point with a point size of 1 pixel (8), then a huge value with ~0x1FF set. Bottom row renders a single point with a point size of 511 (0x1FF), then a huge value with ~0x1FF set. 64 pixel ruler quads are rendered near the huge value points. Demonstrates that values larger than 0x1FF are completely ignored rather than masked.

Image with alpha
Test result for Point_size::LargestPointSize_VS
Image as seen on display
No alpha test result for Point_size::LargestPointSize_VS

PointSmoothOff_01_FF

Renders points using the fixed function pipeline with point smoothing disabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_01_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_01_FF

PointSmoothOff_01_VS

Renders points using a programmable shader with point smoothing disabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_01_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_01_VS

PointSmoothOff_04_FF

Renders points using the fixed function pipeline with point smoothing disabled. Point size starts at 0 and increases by 4 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_04_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_04_FF

PointSmoothOff_04_VS

Renders points using a programmable shader with point smoothing disabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_04_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_04_VS

PointSmoothOff_08_FF

Renders points using the fixed function pipeline with point smoothing disabled. Point size starts at 0 and increases by 8 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_08_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_08_FF

PointSmoothOff_08_VS

Renders points using a programmable shader with point smoothing disabled. Point size starts at 0 and increases by 8 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_08_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_08_VS

PointSmoothOff_16_FF

Renders points using the fixed function pipeline with point smoothing disabled. Point size starts at 0 and increases by 16 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_16_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_16_FF

PointSmoothOff_16_VS

Renders points using a programmable shader with point smoothing disabled. Point size starts at 0 and increases by 16 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOff_16_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOff_16_VS

PointSmoothOn_01_FF

Renders points using the fixed function pipeline with point smoothing enabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_01_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_01_FF

PointSmoothOn_01_VS

Renders points using a programmable shader with point smoothing enabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_01_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_01_VS

PointSmoothOn_04_FF

Renders points using the fixed function pipeline with point smoothing enabled. Point size starts at 0 and increases by 4 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_04_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_04_FF

PointSmoothOn_04_VS

Renders points using a programmable shader with point smoothing enabled. Point size starts at 0 and increases by 1 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_04_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_04_VS

PointSmoothOn_08_FF

Renders points using the fixed function pipeline with point smoothing enabled. Point size starts at 0 and increases by 8 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_08_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_08_FF

PointSmoothOn_08_VS

Renders points using a programmable shader with point smoothing enabled. Point size starts at 0 and increases by 8 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_08_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_08_VS

PointSmoothOn_16_FF

Renders points using the fixed function pipeline with point smoothing enabled. Point size starts at 0 and increases by 16 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_16_FF
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_16_FF

PointSmoothOn_16_VS

Renders points using a programmable shader with point smoothing enabled. Point size starts at 0 and increases by 16 per point starting at the upper left point.

Image with alpha
Test result for Point_size::PointSmoothOn_16_VS
Image as seen on display
No alpha test result for Point_size::PointSmoothOn_16_VS

SmallestPointSize_FF

Using the fixed function pipeline, render points sized 0 - 1 with point params and smoothing off.

Image with alpha
Test result for Point_size::SmallestPointSize_FF
Image as seen on display
No alpha test result for Point_size::SmallestPointSize_FF

SmallestPointSize_VS

Using the programmable pipeline, render points sized 0 - 1 with point params enabled and smoothing off.

Image with alpha
Test result for Point_size::SmallestPointSize_VS
Image as seen on display
No alpha test result for Point_size::SmallestPointSize_VS

VSPointSize

Using the programmable pipeline, renders two rows with a point using immediate mode (SET_POINT_SIZE) followed by a DrawArrays with a configured point size (v6) parameter. Then renders another two rows with point params enabled with a constant scale factor. Demonstrates that point size is entirely governed by SET_POINT_SIZE when point params is disabled and that it is not possible for the vertex shader to influence point size. Further demonstrates that point size is entirely goverened by oPts if point params are enabled.

Image with alpha
Test result for Point_size::VSPointSize
Image as seen on display
No alpha test result for Point_size::VSPointSize