Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-03-22 15:44:15 +0300
committerJacques Lucke <jacques@blender.org>2022-03-22 15:44:15 +0300
commit2ebcb7fab3e237b7d00de3088c34780cd24f397b (patch)
treef348f5701a8e30ef9c2dcaa1628c5ac184ec4aa0 /source/blender/gpu/shaders/material
parent19c793af35ea8e694c16995d115d7c9247fee81a (diff)
Cleanup: make format and fix warning
Diffstat (limited to 'source/blender/gpu/shaders/material')
-rw-r--r--source/blender/gpu/shaders/material/gpu_shader_material_light_falloff.glsl7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/material/gpu_shader_material_light_falloff.glsl b/source/blender/gpu/shaders/material/gpu_shader_material_light_falloff.glsl
index e1c7a00646f..92762db5ff4 100644
--- a/source/blender/gpu/shaders/material/gpu_shader_material_light_falloff.glsl
+++ b/source/blender/gpu/shaders/material/gpu_shader_material_light_falloff.glsl
@@ -1,5 +1,8 @@
-void node_light_falloff(
- float strength, float tsmooth, out float quadratic, out float linear, out float falloff_constant)
+void node_light_falloff(float strength,
+ float tsmooth,
+ out float quadratic,
+ out float linear,
+ out float falloff_constant)
{
quadratic = strength;
linear = strength;