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:
authorCampbell Barton <ideasman42@gmail.com>2018-09-19 03:29:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-19 03:29:57 +0300
commit345c34826296907d85b4b367a830ff4f73ab293f (patch)
tree54d7a03449dc65e7dadc22ebff7541ef1f439165 /source/blender/gpu/intern/gpu_codegen.c
parent69aac13524374d62fee5a99139ba74ed535ea767 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index db893251149..7f2818a35fd 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -1770,7 +1770,7 @@ static int count_active_texture_sampler(GPUShader *shader, char *source)
int samplers_id[64]; /* Remember this is per stage. */
int sampler_len = 0;
- while((code = strstr(code, "uniform "))) {
+ while ((code = strstr(code, "uniform "))) {
/* Move past "uniform". */
code += 7;
/* Skip following spaces. */
@@ -1829,7 +1829,7 @@ static bool gpu_pass_shader_validate(GPUPass *pass)
/* Validate against opengl limit. */
if ((frag_samplers_len > GPU_max_textures_frag()) ||
- (frag_samplers_len > GPU_max_textures_vert()))
+ (frag_samplers_len > GPU_max_textures_vert()))
{
return false;
}