Merge branch 'master' into blender2.8
[blender.git] / source / blender / gpu / intern / gpu_codegen.c
index 58ef4063430827a01c1b9f8e04474847da4453d8..9f41253b176e34ff08ab3a772cd9787cb067ce5e 100644 (file)
@@ -400,14 +400,6 @@ 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
                return "";
 }