Module: Mesa
Branch: main
Commit: 524f173c0379e6aad723b2bfa5d5f798685ae543
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=524f173c0379e6aad723b2bfa5d5f798685ae543

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Aug 10 14:30:40 2022 +0200

radv: explain why radv_invariant_geom is still needed for SotTR DX

It's disabled by DXVK and vkd3d because it breaks NV.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Reviewed-by: Martin Roukala <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17951>

---

 src/amd/vulkan/00-radv-defaults.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/amd/vulkan/00-radv-defaults.conf 
b/src/amd/vulkan/00-radv-defaults.conf
index 2481aebe552..905cb3756d2 100644
--- a/src/amd/vulkan/00-radv-defaults.conf
+++ b/src/amd/vulkan/00-radv-defaults.conf
@@ -63,6 +63,8 @@ Application bugs worked around in this file:
         </application>
 
         <application name="Shadow Of The Tomb Raider (DX11/DX12)" 
application_name_match="SOTTR.exe">
+            <!-- DXVK and vkd3d-proton both enable invariant position but it's
+                 disabled for SotTR because it breaks NV more than it helps -->
             <option name="radv_invariant_geom" value="true" />
             <option name="radv_split_fma" value="true" />
         </application>

Reply via email to