From 4cf272364b4de52c8d918e1d04461b461f205771 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 1 Apr 2024 16:41:37 +0100 Subject: [PATCH] docs/nvk: fix envvar documentation It was accidentally trying to link to an envvar definition instead of creating said definition. Part-of: --- docs/drivers/nvk.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/drivers/nvk.rst b/docs/drivers/nvk.rst index bb57cb849ef..aea28b17010 100644 --- a/docs/drivers/nvk.rst +++ b/docs/drivers/nvk.rst @@ -27,7 +27,8 @@ Debugging Here are a few environment variable debug environment variables specific to NVK: -:envvar:`NAK_DEBUG`: +.. envvar:: NAK_DEBUG + a comma-separated list of named flags affecting the NVK back-end shader compiler: @@ -42,7 +43,8 @@ specific to NVK: Adds extra annotation instructions to the IR to track information from various compile passes -:envvar:`NVK_DEBUG`: +.. envvar:: NVK_DEBUG + a comma-separated list of named flags, which do various things: ``push`` @@ -57,7 +59,8 @@ specific to NVK: ``no_cbuf`` Disables automatic promotion of UBOs to constant buffers -:envvar:`NVK_I_WANT_A_BROKEN_VULKAN_DRIVER` +.. envvar:: NVK_I_WANT_A_BROKEN_VULKAN_DRIVER + If defined to ``1`` or ``true``, this will enable enumeration of all GPUs Kepler and later, including GPUs for which hardware support is poorly tested or completely broken. This is intended for developer use