From 6494eed242b1cf64160e379c6d40df333deae23a Mon Sep 17 00:00:00 2001
From: Cosmic Linden <cosmic@lindenlab.com>
Date: Thu, 23 Feb 2023 10:58:39 -0800
Subject: SL-19228: Fix GLTF texture transform rotation and add UV debug (PBR
 only). See textureUtilV.glsl for UV coordinate comments

---
 indra/llrender/llshadermgr.cpp | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'indra/llrender')

diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 6cada320fa..13074032e0 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -177,6 +177,11 @@ BOOL LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
 			return FALSE;
 		}
 	}
+
+    if (!shader->attachVertexObject("deferred/textureUtilV.glsl"))
+    {
+        return FALSE;
+    }
 	
 	///////////////////////////////////////
 	// Attach Fragment Shader Features Next
-- 
cgit v1.2.3