anv: ANV_DEBUG_WAIT_FOR_ATTACH

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35324>
This commit is contained in:
Caleb Callaway
2025-06-03 18:49:55 +00:00
committed by Marge Bot
parent ad6e1afe74
commit f64dbfd08a
4 changed files with 50 additions and 0 deletions

View File

@@ -904,6 +904,12 @@ Anvil(ANV) driver environment variables
modifying command buffers to implement ``vkCmdExecuteCommands``. As
a result of this, it will also disable :ext:`VK_KHR_performance_query`.
.. envvar:: ANV_DEBUG_WAIT_FOR_ATTACH
If defined, the value is parsed as a regular expression. If the current
process name matches the regex, ANV will wait 30 seconds for a debugger
to attach before starting device creation.
.. envvar:: ANV_PRIMITIVE_REPLICATION_MAX_VIEWS
Specifies up to how many view shaders can be lowered to handle