From 9b8751a6e425f60cf8cf661b40fec6af1e11ecf8 Mon Sep 17 00:00:00 2001
From: Ptolemy <ptolemy@lindenlab.com>
Date: Fri, 15 Jul 2022 17:24:10 -0700
Subject: SL-17702: Document .w and .a point lights array

---
 .../app_settings/shaders/class3/deferred/multiPointLightF.glsl        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'indra')

diff --git a/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl
index c33734c0bd..fa553cf341 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/multiPointLightF.glsl
@@ -43,8 +43,8 @@ uniform sampler2D     lightFunc;
 uniform vec3  env_mat[3];
 uniform float sun_wash;
 uniform int   light_count;
-uniform vec4  light[LIGHT_COUNT];
-uniform vec4  light_col[LIGHT_COUNT];
+uniform vec4  light[LIGHT_COUNT];     // .w = size; see C++ fullscreen_lights.push_back()
+uniform vec4  light_col[LIGHT_COUNT]; // .a = falloff
 
 uniform vec2  screen_res;
 uniform float far_z;
-- 
cgit v1.2.3