Tests to verify xemu handling of various pushbuffer commands
Go to file
2021-11-10 08:59:28 -08:00
githooks Refactoring. 2021-11-10 08:59:28 -08:00
resources Refactoring. 2021-11-10 08:59:28 -08:00
third_party Refactoring. 2021-11-10 08:59:28 -08:00
.clang-format Refactoring. 2021-11-10 08:59:28 -08:00
.gdbinit Import from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats 2021-11-09 22:37:44 -08:00
.gitignore Refactoring. 2021-11-10 08:59:28 -08:00
LICENSE Import from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats 2021-11-09 22:37:44 -08:00
main.cpp Refactoring. 2021-11-10 08:59:28 -08:00
Makefile Refactoring. 2021-11-10 08:59:28 -08:00
math3d.c Refactoring. 2021-11-10 08:59:28 -08:00
math3d.h Refactoring. 2021-11-10 08:59:28 -08:00
nxdk_missing_defines.h Refactoring. 2021-11-10 08:59:28 -08:00
ps.ps.cg Import from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats 2021-11-09 22:37:44 -08:00
README.md Import from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats 2021-11-09 22:37:44 -08:00
vs.vs.cg Import from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats 2021-11-09 22:37:44 -08:00

texture-formats

Various tests for nv2a rendering.

Original code from https://github.com/Ernegien/nxdk/tree/test/texture-formats/samples/texture-formats

Running with CLion

Create a build target

  1. Create a new Embedded GDB Server target
  2. Set the Target to all
  3. Set the Executable to main.exe
  4. Set Download executable to None
  5. Set 'target remote' args to 127.0.0.1:1234
  6. Set GDB Server to the path to the xemu binary
  7. Set GDB Server args to -s -S (the -S is optional and will cause xemu to wait for the debugger to connnect)

To capture DbgPrint, additionally append -device lpc47m157 -serial tcp:127.0.0.1:9091 to GDB Server args and use something like pykdclient.