diff --git a/docs/drivers/nvk.rst b/docs/drivers/nvk.rst index 5f5ced2d4a4..bb57cb849ef 100644 --- a/docs/drivers/nvk.rst +++ b/docs/drivers/nvk.rst @@ -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: