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

Author: Jesse Natalie <jenat...@microsoft.com>
Date:   Tue Nov 21 10:42:48 2023 -0800

d3d12/driconf: Force on ARB_texture_view for Blender

Reviewed-by: Anthony Roberts <anthony.robe...@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26326>

---

 src/util/00-mesa-defaults.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 8cc21587f81..2896d7575bf 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -1203,6 +1203,14 @@ TODO: document the other workarounds.
             <option name="dzn_claim_wide_lines" value="true" />
         </application>
     </device>
+    <device driver="d3d12">
+        <application name="Blender" executable="blender.exe">
+            <!-- Blender needs GL4.3, but that requires a D3D feature that not 
all in-market
+                 drivers support. Turns out they're fine with just the parts 
of this extension
+                 that don't need the D3D feature, so we're good to just flip 
it on. -->
+            <option name="mesa_extension_override" 
value="+GL_ARB_texture_view" />
+        </application>
+    </device>
 
     <device driver="r600">
         <application name="Tomb Raider 2013" executable="TombRaider">

Reply via email to