Navigate to the top level

Point_params

Description
Tests the behavior of NV097_SET_POINT_PARAMS_ENABLE (0x00000318) and NV097_SET_POINT_PARAMS (0x00000A30).
See
https://learn.microsoft.com/en-us/windows/win32/direct3d9/point-sprites
PointParamsX_SmoothX_PtSize_(FF | VS) Each test renders a grid of points. Point size is set to a test value for all points.
As points go from top to bottom: Z starts at -5 (eye at -7) and increases by 25 per row (max depth = 193).
In each row, as points go from left to right, point params are set from the following:
No scale factors, min size 0, size range 0. Should be 1 pixel.
No scale factors, min size 16, size range 0. Should be 16 pixels square.
Negligible constant scale, size range 16, min size 0. Should be 16 pixels.
Negligible constant scale, size range 16, min size 8. Should be 24 pixels.
4 constant scale, size range 14, min size 16. Should be ~23 pixels.
4 constant scale, size range 36, min size 4. Should be ~21 pixels.
256 constant scale, size range 36, min size 4. Should be ~7 pixels.
0.25 linear scale, size range 39, min 1.
0.05 quadratic scale, size range 39, min 1.
4 constant scale, size range 14, min size 16, bias -0.5.
4 constant scale, size range 14, min size 16, bias 0.5.
No scale factors, size range 15, min size 1, bias -100.
No scale factors, size range 15, min size 1, bias 100.
Detailed_(FF | VS) Each test renders a grid of points. Point size is set to 128 (16 pixels) for all points.
As points go from top to bottom: Z starts at -5 (eye at -7) and increases by 25 per row (max depth = 193).
In each row, as points go from left to right, point params are set from the following:
0.25 linear scale, size range 39, min size 1, scale bias -1.0
0.25 linear scale, size range 39, min size 1, scale bias -0.5
0.25 linear scale, size range 39, min size 1, scale bias -0.25
0.25 linear scale, size range 39, min size 1, scale bias -0.01
0.25 linear scale, size range 39, min size 1, scale bias 0
0.25 linear scale, size range 39, min size 1, scale bias -0.01
0.25 linear scale, size range 39, min size 1, scale bias -0.25
0.25 linear scale, size range 39, min size 1, scale bias -0.5
0.25 linear scale, size range 39, min size 1, scale bias -1.0
4 constant scale, size range 36, min size 4, scale bias -0.4
4 constant scale, size range 36, min size 4, scale bias -0.25
4 constant scale, size range 36, min size 4, scale bias 0.25
4 constant scale, size range 36, min size 4, scale bias 0.4
Suite class def

Detailed_FF

Renders points using the fixed function pipeline with more complex point params.

Image with alpha
Test result for Point_params::Detailed_FF
Image as seen on display
No alpha test result for Point_params::Detailed_FF

Detailed_VS

Renders points using a programmable shader with more complex point params.

Image with alpha
Test result for Point_params::Detailed_VS
Image as seen on display
No alpha test result for Point_params::Detailed_VS

PointParamsOff_SmoothOff_128_FF

Renders points using the fixed function pipeline with point size 128, point smoothing and point params disabled.

Image with alpha
Test result for Point_params::PointParamsOff_SmoothOff_128_FF
Image as seen on display
No alpha test result for Point_params::PointParamsOff_SmoothOff_128_FF

PointParamsOff_SmoothOff_128_VS

Renders points using a programmable shader with point size 128, point smoothing and point params disabled.

Image with alpha
Test result for Point_params::PointParamsOff_SmoothOff_128_VS
Image as seen on display
No alpha test result for Point_params::PointParamsOff_SmoothOff_128_VS

PointParamsOn_SmoothOff_128_FF

Renders points using the fixed function pipeline with point size 128, point smoothing disabled and point params enabled.

Image with alpha
Test result for Point_params::PointParamsOn_SmoothOff_128_FF
Image as seen on display
No alpha test result for Point_params::PointParamsOn_SmoothOff_128_FF

PointParamsOn_SmoothOff_128_VS

Renders points using a programmable shader with point size 128, point smoothing disabled and point params enabled.

Image with alpha
Test result for Point_params::PointParamsOn_SmoothOff_128_VS
Image as seen on display
No alpha test result for Point_params::PointParamsOn_SmoothOff_128_VS

PointParamsOn_SmoothOn_001_FF

Renders points using the fixed function pipeline with point size 1, point smoothing and point params enabled. Demonstrates that point size is ignored when point params are enabled.

Image with alpha
Test result for Point_params::PointParamsOn_SmoothOn_001_FF
Image as seen on display
No alpha test result for Point_params::PointParamsOn_SmoothOn_001_FF

PointParamsOn_SmoothOn_128_FF

Renders points using the fixed function pipeline with point size 128, point smoothing and point params enabled.

Image with alpha
Test result for Point_params::PointParamsOn_SmoothOn_128_FF
Image as seen on display
No alpha test result for Point_params::PointParamsOn_SmoothOn_128_FF

PointParamsOn_SmoothOn_128_VS

Renders points using a programmable shader with point size 128, point smoothing and point params enabled.

Image with alpha
Test result for Point_params::PointParamsOn_SmoothOn_128_VS
Image as seen on display
No alpha test result for Point_params::PointParamsOn_SmoothOn_128_VS