From ffc231c429e7108d17b8dbf2f6cb777ce4cf9b43 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Mon, 25 Dec 2023 14:17:27 -0500
Subject: [PATCH] Enable threaded opts on nvidia linux

---
 indra/newview/linux_tools/wrapper.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh
index ecffc08815b..377cc413f9e 100755
--- a/indra/newview/linux_tools/wrapper.sh
+++ b/indra/newview/linux_tools/wrapper.sh
@@ -47,6 +47,9 @@ export SDL_VIDEO_X11_WMCLASS=Alchemy
 ## - Enable threaded mesa GL impl
 export mesa_glthread=true
 
+## - Enable nvidia threaded GL
+export __GL_THREADED_OPTIMIZATIONS=1
+
 ## Nothing worth editing below this line.
 ##-------------------------------------------------------------------
 
-- 
GitLab