diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-11-20 14:24:48 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-11-20 14:24:48 +0800 |
commit | 9e282949a79fe56b12a4fdfa8fa4552338d8a370 (patch) | |
tree | 7cfc28e52827565f6955a0bdc9ecf20d6ff65d3b /indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl | |
parent | 84240037a2c1c7032fe2fdacec7099eabdfe24ac (diff) | |
parent | 6c6b38821ef0ea452b640b31006a8ef4f2dfef55 (diff) |
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl b/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl index feb0947649..b3964c9215 100644 --- a/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl +++ b/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl @@ -130,7 +130,7 @@ vec4 prefilterEnvMap(vec3 R) float totalWeight = 0.0; float envMapDim = float(textureSize(reflectionProbes, 0).s); float roughness = mipLevel/max_probe_lod; - int numSamples = max(int(PROBE_FILTER_SAMPLES*roughness), 1); + uint numSamples = uint(max(PROBE_FILTER_SAMPLES*roughness, 1)); float numMips = max_probe_lod+1; |