vulkan: add MESA_VK_TRACE_PER_SUBMIT
To capture RGP per-submit for compute-only workloads. Other capture tools like RMV are not covered here. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32370>
This commit is contained in:

committed by
Marge Bot

parent
86465a3f2b
commit
851a8a481b
@@ -365,14 +365,21 @@ Core Mesa environment variables
|
||||
- Creating RMV captures requires the ``scripts/setup.sh`` script in the
|
||||
Radeon Developer Tools folder to be run beforehand
|
||||
|
||||
.. envvar:: MESA_VK_TRACE_PER_SUBMIT
|
||||
|
||||
Enables per-submit capture for compute-only workload. Disabled by default
|
||||
and only valid with MESA_VK_TRACE=rgp.
|
||||
|
||||
.. envvar:: MESA_VK_TRACE_FRAME
|
||||
|
||||
Specifies a frame index at which a trace capture is automatically triggered.
|
||||
Ignored when MESA_VK_TRACE_PER_SUBMIT is enabled.
|
||||
|
||||
.. envvar:: MESA_VK_TRACE_TRIGGER
|
||||
|
||||
Specifies a trigger file. Creating the file triggers the capture. (e.g.
|
||||
``export MESA_VK_TRACE_TRIGGER=/tmp/trigger`` and then ``touch /tmp/trigger``)
|
||||
Ignored when MESA_VK_TRACE_PER_SUBMIT is enabled.
|
||||
|
||||
.. envvar:: MESA_LOADER_DRIVER_OVERRIDE
|
||||
|
||||
|
Reference in New Issue
Block a user