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-05-24 16:53:02 +0300
committerJacques Lucke <jacques@blender.org>2022-05-24 16:53:16 +0300
commit25d216724bc195d25aaaf336ab1cd3e7c55d78bf (patch)
treeb344e452ae7677fb759d72d248c57de58cd46fdf /source/blender/draw/engines/eevee/shaders/shadow_vert.glsl
parentcd412b4454f3cb89c5baf365d5404746332eac68 (diff)
Cleanup: make format
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/shadow_vert.glsl')
-rw-r--r--source/blender/draw/engines/eevee/shaders/shadow_vert.glsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl b/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl
index 9e136426e22..2926f8c5a89 100644
--- a/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl
+++ b/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl
@@ -72,13 +72,13 @@ int g_curves_attr_id = 0;
* based on the attribute scope (point or spline). */
int curves_attribute_element_id()
{
- int id = hairStrandID;
- if (drw_curves.is_point_attribute[g_curves_attr_id] != 0) {
- id = hair_get_base_id();
- }
+ int id = hairStrandID;
+ if (drw_curves.is_point_attribute[g_curves_attr_id] != 0) {
+ id = hair_get_base_id();
+ }
- g_curves_attr_id += 1;
- return id;
+ g_curves_attr_id += 1;
+ return id;
}
vec4 attr_load_tangent(samplerBuffer cd_buf)