| Name | Value | Note |
|---|---|---|
| NVN_SHADER_STAGE_VERTEX | 0x0 | |
| NVN_SHADER_STAGE_FRAGMENT | 0x1 | |
| NVN_SHADER_STAGE_GEOMETRY | 0x2 | |
| NVN_SHADER_STAGE_TESS_CONTROL | 0x3 | |
| NVN_SHADER_STAGE_TESS_EVALUATION | 0x4 | |
| NVN_SHADER_STAGE_COMPUTE | 0x5 | |
| NVN_SHADER_STAGE_TASK Switch 2 | 0x6 | Switch 2's (API 231), as its control sections number them (nvn_section.h) |
| NVN_SHADER_STAGE_MESH Switch 2 | 0x7 | Switch 2's (API 231), as its control sections number them (nvn_section.h) |
Made from ScarletNX's Sail at 166ad3910f80. nvn.h is h1k421's reconstruction (MIT); nvn.hook, the handlers and the format table ScarletNX's (GPL-3.0-or-later). The Switch 2 marks are the drivers' procedure tables (tools/manual/nvn-drivers.txt).