diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-12-01 18:33:38 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-12-01 18:33:38 -0500 |
commit | 7c2915518978884823e74f8d4d29a1a3073eb39c (patch) | |
tree | 75200b0eaa7d651dfa912d7babaaa87b427a8137 /indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl | |
parent | 909c18ea978059976a25222b446ffaa426147627 (diff) | |
parent | d960676c5af26b299166bdd74744a7f513b45541 (diff) |
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl')
-rwxr-xr-x | indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl index a4f54dff70..5264d6e1b4 100755 --- a/indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/blurLightF.glsl @@ -132,5 +132,11 @@ void main() col.y *= col.y; frag_color = col; + +#ifdef IS_AMD_CARD + // If it's AMD make sure the GLSL compiler sees the arrays referenced once by static index. Otherwise it seems to optimise the storage awawy which leads to unfun crashes and artifacts. + vec3 dummy1 = kern[0]; + vec3 dummy2 = kern[3]; +#endif } |