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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index aeb656b238b..3786e8ce739 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -414,16 +414,8 @@ const char *GPU_builtin_name(GPUBuiltin builtin)
return "unfobautobumpscale";
else if (builtin == GPU_CAMERA_TEXCO_FACTORS)
return "unfcameratexfactors";
- else if (builtin == GPU_PARTICLE_SCALAR_PROPS)
- return "unfparticlescalarprops";
- else if (builtin == GPU_PARTICLE_LOCATION)
- return "unfparticleco";
- else if (builtin == GPU_PARTICLE_VELOCITY)
- return "unfparticlevel";
- else if (builtin == GPU_PARTICLE_ANG_VELOCITY)
- return "unfparticleangvel";
else if (builtin == GPU_PBR)
- return "unfpbr"; /* Placeholder : does not actualy contains data */
+ return "unfpbr"; /* Placeholder : does not actualy contain data */
else
return "";
}