Add shader unit-testing (#457)

* Initialize catch-2 based unit tests

* Add nihstro submodule

Enabled only during testing to help with assembling shaders in-code.

* Implement `ADD` instruction unit-test

* Add arithmetic/logical instruction unit tests

* Add embedded catch2 submodule

Will use the host catch2 if available.
This commit is contained in:
Wunk 2024-03-11 15:53:49 -07:00 committed by GitHub
parent 929019e76b
commit 18df066463
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 263 additions and 0 deletions

6
.gitmodules vendored
View file

@ -61,3 +61,9 @@
[submodule "third_party/dynarmic"]
path = third_party/dynarmic
url = https://github.com/Panda3DS-emu/dynarmic
[submodule "third_party/nihstro"]
path = third_party/nihstro
url = https://github.com/neobrain/nihstro.git
[submodule "third_party/Catch2"]
path = third_party/Catch2
url = https://github.com/catchorg/Catch2.git