summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-09 19:17:17 -0800
committerJason Ekstrand <[email protected]>2018-03-07 12:13:47 -0800
commita1ee51309ef7a36aef177ef523260e7b574ce4ab (patch)
tree267de53ebfa686d706644f39394522160971595e /docs
parentd6b65222df53677e5d3b2f6f42163387725d57b8 (diff)
vulkan/util: Add a helper to get a version override
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/envvars.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index ea42a50779b..a08f5b94024 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -135,6 +135,16 @@ home directory.
<li>MESA_NO_MINMAX_CACHE - when set, the minmax index cache is globally disabled.
<li>MESA_SHADER_CAPTURE_PATH - see <a href="shading.html#capture">Capturing Shaders</a></li>
<li>MESA_SHADER_DUMP_PATH and MESA_SHADER_READ_PATH - see <a href="shading.html#replacement">Experimenting with Shader Replacements</a></li>
+<li>MESA_VK_VERSION_OVERRIDE - changes the Vulkan physical device version
+ as returned in VkPhysicalDeviceProperties::apiVersion.
+ <ul>
+ <li>The format should be MAJOR.MINOR[.PATCH]</li>
+ <li>This will not let you force a version higher than the driver's
+ instance versionas advertised by vkEnumerateInstanceVersion</li>
+ <li>This can be very useful for debugging but some features may not be
+ implemented correctly. (For developers only)</li>
+ </ul>
+</li>
</ul>