summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-11 20:20:39 -0500
committerDave Parks <davep@lindenlab.com>2022-10-11 20:20:39 -0500
commitb6e576c7c2a1cb395092cc66b1836157872b131f (patch)
treec9a5ae181ff96637021ed994cab07e9a748984a0 /indra/llrender/llglslshader.h
parentdafa93304335c3c48042e4b5a014dea2480f253f (diff)
SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), remove some unused glsl files.
Diffstat (limited to 'indra/llrender/llglslshader.h')
-rw-r--r--indra/llrender/llglslshader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index fd69f43f87..3401da832e 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -118,6 +118,11 @@ public:
mVector3s.push_back({ index, value });
}
+ void uniform3fv(S32 index, const F32* value)
+ {
+ mVector3s.push_back({ index, LLVector3(value) });
+ }
+
void apply(LLGLSLShader* shader);