About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2025-10-27 01:19:04 -0400
committerMarge Bot <marge-bot@fdo.invalid>2025-10-29 14:11:22 +0000
commite26c28f311cc5416f6c7f5b09a53ca2b14dfb955 (patch)
tree0cc6b6afd1f103bb8ec2d3eff5d25640d0922e8c /docs
parent4713df944b8e32bd53d8d38e68cc9c8897bfbeea (diff)
radeonsi: enable ACO by default
NIR+ACO is the best SSA-based shader compiler for AMD GPUs that exists. There are many reasons why NIR+ACO is better than LLVM, and I have a long list that I've collected over the years, but the major ones are better GPU performance (faster GPU memory access thanks to better clauses and scheduling, a lot less SGPR/VGPR spilling, better loop support, slightly smaller shader binaries), 8x lower shader compile times, and smaller memory footprint of the IR. It also shows that NIR is a mature SSA-based shader compiler that helps drivers generate optimized code very quickly. And most importantly, radeonsi has slightly better Viewperf performance with NIR+ACO than LLVM, and that's difficult to ignore. Reviewed-by: Qiang Yu <yuq825@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38070>
Diffstat (limited to 'docs')
-rw-r--r--docs/envvars.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/envvars.rst b/docs/envvars.rst
index b94c23f4517..377d667f0a2 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -1784,8 +1784,8 @@ RadeonSI driver environment variables
Use old-style monolithic shaders compiled on demand
``nooptvariant``
Disable compiling optimized shader variants.
- ``useaco``
- Use ACO as shader compiler when possible
+ ``usellvm``
+ Use LLVM as shader compiler when possible
``nowc``
Disable GTT write combining
``check_vm``