summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-11-16 14:49:17 -0600
committerDave Parks <davep@lindenlab.com>2022-11-16 14:49:17 -0600
commit8d2ac419b22c8c9475f2efb312dd198ac8eb9fb7 (patch)
tree9fccaa239241cf818eb3aa17f862cb18eab5d064 /indra/llrender/llglslshader.h
parent97277e74a9d966ed441e51f844f9012f55cca3dc (diff)
SL-18154 Profile guided optimizations vs release viewer. Trim some unused abilities and remove some more fast timers.
Diffstat (limited to 'indra/llrender/llglslshader.h')
-rw-r--r--indra/llrender/llglslshader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index 0df0531dce..57bd4987bc 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -300,7 +300,7 @@ public:
// this pointer should be set to whichever shader represents this shader's rigged variant
LLGLSLShader* mRiggedVariant = nullptr;
- #ifdef LL_PROFILER_ENABLE_TRACY_OPENGL
+ #ifdef LL_PROFILER_ENABLE_RENDER_DOC
void setLabel(const char* label);
#endif
@@ -315,7 +315,7 @@ extern LLGLSLShader gSolidColorProgram;
//Alpha mask shader (declared here so llappearance can access properly)
extern LLGLSLShader gAlphaMaskProgram;
-#ifdef LL_PROFILER_ENABLE_TRACY_OPENGL
+#ifdef LL_PROFILER_ENABLE_RENDER_DOC
#define LL_SET_SHADER_LABEL(shader) shader.setLabel(#shader)
#else
#define LL_SET_SHADER_LABEL(shader, label)