diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-17 15:45:07 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-05-17 17:04:01 +0300 |
commit | e1493a10b46bb53af165e4f23fda0fedd3193269 (patch) | |
tree | e1808d9f08dbcea00674e852c7b9108d8c23d3be | |
parent | 36de04b212b68900918a5476eb464a479d8180d7 (diff) |
viewer#1501 Crash initiating screenSpaceReflUtil.glsl
Error: Function return is not matching type
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl b/indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl index 1a85d70256..6791fe44d9 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl @@ -27,11 +27,11 @@ float random (vec2 uv) { - return 0; + return 0.f; } float tapScreenSpaceReflection(int totalSamples, vec2 tc, vec3 viewPos, vec3 n, inout vec4 collectedColor, sampler2D source, float glossiness) { collectedColor = vec4(0); - return 0; + return 0.f; } |