- This can be very useful for debugging but some features may not be
implemented correctly. (For developers only)
-NIR passes enviroment variables
--------------------------------
+NIR passes environment variables
+--------------------------------
The following are only applicable for drivers that uses NIR, as they
modify the behaviour for the common NIR_PASS and NIR_PASS_V macros, that
``NIR_PRINT``
If defined, the resulting NIR shader will be printed out at each
- succesful NIR lowering/optimization call.
+ successful NIR lowering/optimization call.
``NIR_TEST_CLONE``
- If defined, cloning a NIR shader would be tested at each succesful
+ If defined, cloning a NIR shader would be tested at each successful
NIR lowering/optimization call.
``NIR_TEST_SERIALIZE``
If defined, serialize and deserialize a NIR shader would be tested at
- each succesful NIR lowering/optimization call.
+ each successful NIR lowering/optimization call.
Mesa Xlib driver environment variables
--------------------------------------
``RADV_DEBUG``
a comma-separated list of named flags, which do various things:
+ ``llvm``
+ enable LLVM compiler backend
``allbos``
force all allocated buffers to be referenced in submissions
``allentrypoints``
disable HIZ for depthstencil images
``noibs``
disable directly recording command buffers in GPU-visible memory
- ``noloadstoreopt``
- disable LLVM SILoadStoreOptimizer pass
``nomemorycache``
disable memory shaders cache
``nongg``
disable NGG for GFX10+
``nooutoforder``
disable out-of-order rasterization
- ``noshaderballot``
- disable shader ballot
``nothreadllvm``
disable LLVM threaded compilation
``preoptir``
``RADV_PERFTEST``
a comma-separated list of named flags, which do various things:
- ``aco``
- enable ACO experimental compiler
``bolist``
enable the global BO list
``cswave32``
enable local BOs
``pswave32``
enable wave32 for pixel shaders (GFX10+)
- ``shader_ballot``
- enable shader ballot
``tccompatcmask``
enable TC-compat cmask for MSAA images
-``RADV_SECURE_COMPILE_THREADS``
- maximum number of secure compile threads (up to 32)
``RADV_TEX_ANISO``
force anisotropy filter (up to 16)
``RADV_TRACE_FILE``