Skip to main content

Simulator/debugger for the Xbox nv2a vertex shader

Project description

Simulator/debugger for the original Xbox nv2a vertex shader.

Use

Run nv2adbg with --help to see command line options.

Menus

File menu

Allows inputs to be configured.

Source window

The source window is split into three areas:

  1. The program view on the left shows the shader instructions
  2. The inputs panel on the right shows the value of register inputs for the currently selected line. Components of the register that are used will be highlighted.
  3. The outputs panel at the bottom shows the computed values of the outputs. Components that are written to will be highlighted.
  • Cursor up/down, page-up/down, and home/end in the source window navigate source lines.
  • "a" will toggle ancestry tracing for the currently selected line, marking every line that contributes to the line's outputs.
    • In tracing mode
      • "space" will allow the current line to be locked so moving the cursor will not change the root of the ancestor trace.
      • "f" will filter out any lines that do not contribute to the instruction being traced. Press "f" again to return to full source view.
    • NOTE: At the time of this writing there is no way to choose between the MAC and ILU component of a paired command, both will be traced. If you only care about one or the other, the best option is to go to the first ancestor that contributes solely to the one you care about and do the trace from there.

Helpful hints

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nv2a_debug-0.1.2.tar.gz (44.3 kB view hashes)

Uploaded Source

Built Distributions

nv2a_debug-0.1.2-pp39-pypy39_pp73-win_amd64.whl (42.5 kB view hashes)

Uploaded PyPy Windows x86-64

nv2a_debug-0.1.2-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (45.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

nv2a_debug-0.1.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (45.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

nv2a_debug-0.1.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (41.8 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page