mirror of
https://github.com/xemu-project/xemu.git
synced 2026-10-31 11:36:49 +01:00
nv2a: Implement vsh register carryover Uses nv2a_vsh_cpu to calculate the programmable vertex shader output of provoking vertex in order to implement the fog register carryover observed in Blade 2 and other titles. Hardware testing seems to indicate that carryover is specific to `oFog`, though I'm suspicious that this is really the case. For now I'm limiting this change to fog since that seems to be the only known problematic case. Tests: https://github.com/abaire/nxdk_pgraph_tests/blob/9ca8a8d95fee9fc7121f6405b3bc18fe68ba612c/src/tests/fog_carryover_tests.cpp HW Results: https://abaire.github.io/nxdk_pgraph_tests_golden_results/results/Fog_carryover/index.html