From 11afd7f86afd19fde8b577f57736d6d27542484e Mon Sep 17 00:00:00 2001
From: Brad Linden <46733234+brad-linden@users.noreply.github.com>
Date: Thu, 29 Aug 2024 12:57:49 -0700
Subject: Add error handling for intel crashes from GLTF Scene shader (#2456)
fix secondlife/viewer#1856
---
indra/newview/app_settings/settings.xml | 11 +++++++++++
indra/newview/gltfscenemanager.cpp | 8 ++++++++
indra/newview/llviewermenu.cpp | 15 +++++++++++++--
indra/newview/llviewershadermgr.cpp | 9 ++++++++-
indra/newview/skins/default/xui/en/notifications.xml | 11 +++++++++++
5 files changed, 51 insertions(+), 3 deletions(-)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 483c8774a7..5e7ae32b81 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -7172,6 +7172,17 @@
Value
0
+ RenderCanUseGLTFPBROpaqueShaders
+
RenderClass1MemoryBandwidth