Blender Git Loki
Git Commits -> Revision 8235256
Revision 8235256 by Clément Foucault (master) August 8, 2018, 19:26 (GMT) |
Eevee: Remove some of the non-necessary uniforms The remaining ones are from the attributes linear/srgb switches and from nodes that should be pruned before running their _gpu function. |
Commit Details:
Full Hash: 82352565b79d1abb3b6f513bf186c1b3d80e8f0c
Parent Commit: 05c0992
Lines Changed: +92, -30
13 Modified Paths:
/source/blender/draw/engines/eevee/eevee_materials.c (+52, -29) (Diff)
/source/blender/gpu/GPU_material.h (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+13, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -0) (Diff)
/source/blender/gpu/GPU_material.h (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+13, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -0) (Diff)