abaire / nxdk_pgraph_tests

Tests to verify xemu handling of various pushbuffer commands
Other
12 stars 9 forks source link

Validate behavior of vertex shader `RCC` instruction with edge cases #57

Closed abaire closed 2 years ago

abaire commented 2 years ago

See https://www.khronos.org/registry/OpenGL/extensions/NV/NV_vertex_program1_1.txt

Specifically

Additionally (before clamping) the reciprocal of negative infinity
    gives [-0.0, -0.0, -0.0, -0.0]; the reciprocal of negative zero gives
    [-Inf, -Inf, -Inf, -Inf]; the reciprocal of positive zero gives
    [+Inf, +Inf, +Inf, +Inf]; and the reciprocal of positive infinity
    gives [0.0, 0.0, 0.0, 0.0].
abaire commented 2 years ago

This is better handled in https://github.com/abaire/nxdk_vsh_tests