summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-09 21:12:40 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-09 21:12:40 -0700
commitdf3df9de4fb47cf00f51f5bcaab82ac4ca48bf74 (patch)
tree8184f41ec652c47d2da869623dccb4370d634ff7 /indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
parent33a2608da5a85b01acbfcced10128a2c42760928 (diff)
NORSPEC-246 fix shader compile errors from missing return
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl')
-rwxr-xr-xindra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
index db60c8ea51..2300487a90 100755
--- a/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/multiSpotLightF.glsl
@@ -73,6 +73,7 @@ vec2 encode_normal(vec3 n)
{
vec2 sn;
sn.xy = (n.xy * vec2(0.5f,0.5f)) + vec2(0.5f,0.5f);
+ return sn;
}
vec3 decode_normal (vec2 enc)