Blender Git Loki
Git Commits -> Revision 709c9f6
Revision 709c9f6 by Clément Foucault (tmp-eevee-glsl-cleanup) July 11, 2020, 12:43 (GMT) |
EEVEE: Split bsdf_common_lib.glsl into smaller files |
Commit Details:
Full Hash: 709c9f6bf0fd777e637f5650dbb8f0fa352cde7c
Parent Commit: 83d902f
Lines Changed: +2062, -2229
9 Added Paths:
/source/blender/draw/engines/eevee/shaders/closure_lib.glsl (+181, -0) (View)
/source/blender/draw/engines/eevee/shaders/closure_lit_lib.glsl (+542, -0) (View)
/source/blender/draw/engines/eevee/shaders/common_utiltex_lib.glsl (+65, -0) (View)
/source/blender/draw/engines/eevee/shaders/renderpass_lib.glsl (+43, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_frag.glsl (+88, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_lib.glsl (+24, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_vert.glsl (+53, -0) (View)
/source/blender/draw/intern/shaders/common_math_geom_lib.glsl (+119, -0) (View)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+130, -0) (View)
/source/blender/draw/engines/eevee/shaders/closure_lit_lib.glsl (+542, -0) (View)
/source/blender/draw/engines/eevee/shaders/common_utiltex_lib.glsl (+65, -0) (View)
/source/blender/draw/engines/eevee/shaders/renderpass_lib.glsl (+43, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_frag.glsl (+88, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_lib.glsl (+24, -0) (View)
/source/blender/draw/engines/eevee/shaders/surface_vert.glsl (+53, -0) (View)
/source/blender/draw/intern/shaders/common_math_geom_lib.glsl (+119, -0) (View)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+130, -0) (View)
3 Deleted Paths:
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+0, -51)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+0, -566)
/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+0, -69)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+0, -566)
/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+0, -69)
80 Modified Paths:
/source/blender/draw/CMakeLists.txt (+9, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+21, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lut_gen.c (+11, -17) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+0, -31) (Diff)
/source/blender/draw/engines/eevee/eevee_mist.c (+3, -7) (Diff)
/source/blender/draw/engines/eevee/eevee_motion_blur.c (+16, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_occlusion.c (+8, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_renderpasses.c (+4, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+3, -21) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+158, -203) (Diff)
/source/blender/draw/engines/eevee/eevee_shadows.c (+5, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+8, -30) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+37, -52) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+8, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/background_vert.glsl (+5, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+3, -874) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_lut_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_sampling_lib.glsl (+8, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/btdf_lut_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/default_world_frag.glsl (+5, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+4, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_gtao_frag.glsl (+23, -15) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl (+2, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+8, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+7, -22) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_translucency_frag.glsl (+6, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_velocity_resolve_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/irradiance_lib.glsl (+56, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+3, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_diffuse_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl (+3, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_visibility_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+10, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lights_lib.glsl (+87, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/object_motion_vert.glsl (+5, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_frag.glsl (+9, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl (+4, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+8, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl (+6, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+5, -21) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/update_noise_frag.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_integration_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_lib.glsl (+11, -11) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_resolve_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_scatter_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+0, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/grid_frag.glsl (+0, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/grid_vert.glsl (+0, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+3, -7) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shader_interface_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_volume_frag.glsl (+1, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_shader.c (+4, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+52, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+10, -1) (Diff)
/source/blender/draw/intern/shaders/common_hair_lib.glsl (+1, -1) (Diff)
/source/blender/draw/intern/shaders/common_view_lib.glsl (+79, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+0, -15) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+6, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_ambient_occlusion.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_hair_info.glsl (+12, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_world_normals.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+21, -15) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lut_gen.c (+11, -17) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+0, -31) (Diff)
/source/blender/draw/engines/eevee/eevee_mist.c (+3, -7) (Diff)
/source/blender/draw/engines/eevee/eevee_motion_blur.c (+16, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_occlusion.c (+8, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_renderpasses.c (+4, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+3, -21) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+158, -203) (Diff)
/source/blender/draw/engines/eevee/eevee_shadows.c (+5, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+8, -30) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+37, -52) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+8, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/background_vert.glsl (+5, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+3, -874) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_lut_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_sampling_lib.glsl (+8, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/btdf_lut_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/default_world_frag.glsl (+5, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+4, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_gtao_frag.glsl (+23, -15) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl (+2, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+8, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+7, -22) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_translucency_frag.glsl (+6, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_velocity_resolve_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/irradiance_lib.glsl (+56, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+3, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_diffuse_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl (+3, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_visibility_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+10, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lights_lib.glsl (+87, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/object_motion_vert.glsl (+5, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_frag.glsl (+9, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl (+4, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+8, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/renderpass_postprocess_frag.glsl (+6, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_accum_frag.glsl (+6, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+5, -21) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/update_noise_frag.glsl (+2, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_geom.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_integration_frag.glsl (+4, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_lib.glsl (+11, -11) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_resolve_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_scatter_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_vert.glsl (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl (+2, -0) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+0, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/grid_frag.glsl (+0, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/grid_vert.glsl (+0, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+3, -7) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_shader_interface_lib.glsl (+0, -6) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_volume_frag.glsl (+1, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_shader.c (+4, -0) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_shader.c (+52, -6) (Diff)
/source/blender/draw/intern/DRW_render.h (+10, -1) (Diff)
/source/blender/draw/intern/shaders/common_hair_lib.glsl (+1, -1) (Diff)
/source/blender/draw/intern/shaders/common_view_lib.glsl (+79, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+0, -15) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+6, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_ambient_occlusion.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_hair_info.glsl (+12, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_world_normals.glsl (+1, -1) (Diff)