mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
docs/nvk: Document NAK_DEBUG
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27885>
This commit is contained in:
parent
d6638e89fd
commit
c69f76170e
1 changed files with 15 additions and 0 deletions
|
|
@ -27,6 +27,21 @@ Debugging
|
|||
Here are a few environment variable debug environment variables
|
||||
specific to NVK:
|
||||
|
||||
:envvar:`NAK_DEBUG`:
|
||||
a comma-separated list of named flags affecting the NVK back-end shader
|
||||
compiler:
|
||||
|
||||
``print``
|
||||
Prints the shader at various stages of the compile pipeline
|
||||
``serial``
|
||||
Forces serial instruction execution; this is often useful for
|
||||
debugging or working around dependency bugs
|
||||
``spill``
|
||||
Forces the GPR file to a minimal size to test the spilling code
|
||||
``annotate``
|
||||
Adds extra annotation instructions to the IR to track information
|
||||
from various compile passes
|
||||
|
||||
:envvar:`NVK_DEBUG`:
|
||||
a comma-separated list of named flags, which do various things:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue