About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCaio Oliveira <caio.oliveira@intel.com>2024-05-10 13:44:44 -0700
committerCaio Oliveira <caio.oliveira@intel.com>2025-09-24 23:08:45 -0700
commitf82d85a685733ff6fe830782b3cb4276358c1e9f (patch)
tree4aa994b552164a0c9f00c690cffd84660993515b /docs
parentbccc0fa9846f7a3633461c0deb4177cc9d19b11e (diff)
brw: Use debug archive file with INTEL_DEBUG=mda
Instead of dumping multiple files with the optimizer passes, write a single archive file with all the contents. The actual file is created by the drivers, so later commits will actually enable the feature in anv and iris. This removes the use of INTEL_DEBUG=optimizer (and the corresponding enum value) in brw. That environment variable is still used by ELK -- which currently doesn't support mda. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29146>
Diffstat (limited to 'docs')
-rw-r--r--docs/envvars.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/envvars.rst b/docs/envvars.rst
index 4a4ff3d22ff..7133739009b 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -565,6 +565,9 @@ Intel driver environment variables
print instruction hex dump with the disassembly
``l3``
emit messages about the new L3 state during transitions
+ ``mda``
+ generate mda.tar files containing shader at each optimization
+ pass and iteration that make progress (Gfx >= 9)
``mesh``
dump shader assembly for mesh shaders
``no8``
@@ -588,7 +591,7 @@ Intel driver environment variables
disable lossless color compression
``optimizer``
dump shader assembly to files at each optimization pass and
- iteration that make progress
+ iteration that make progress (Gfx < 9)
``pc``
emit messages about PIPE_CONTROL instruction usage
``perf``