wheremyfoodat / Panda3DS

HLE 3DS emulator
https://panda3ds.com/
GNU General Public License v3.0
908 stars 62 forks source link

Add shader unit-testing #457

Closed Wunkolo closed 6 months ago

Wunkolo commented 6 months ago

Implements unit-testing using Catch2. The first client of this feature is a set of unit-tests for vertex shaders. Enabled with the ENABLE_TESTS cmake flag, disabled by default. This is intended for regression-testing for developers at the moment and should not block any of the current GitHub workflows. A lot of the shader-unit tests actually fail at the moment and should be addressed outside of this PR.