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

1
third_party/Catch2 vendored Submodule

@ -0,0 +1 @@
Subproject commit 4acc51828f7f93f3b2058a63f54d112af4034503

1
third_party/nihstro vendored Submodule

@ -0,0 +1 @@
Subproject commit e924e21b1da60170f0f0a4e5a073cb7d579969c0