Blender Git Loki
Git Commits -> Revision e053fad
Revision e053fad by Clément Foucault (master) May 15, 2017, 14:14 (GMT) |
Mesh Batch Cache: get rid of the ORCO VBO data, and reconstruct it in shader. With only one MADD instruction we recover the orco data and reduce both the storage and the fetching cost of an attrib layer. |
Commit Details:
Full Hash: e053fade993204bbfaa98ced1b056e02226a3e61
Parent Commit: ae9da37
Lines Changed: +86, -54
8 Modified Paths:
/source/blender/blenlib/BLI_math_vector.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+4, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+11, -40) (Diff)
/source/blender/draw/intern/draw_manager.c (+50, -7) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+10, -2) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+4, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+11, -40) (Diff)
/source/blender/draw/intern/draw_manager.c (+50, -7) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+10, -2) (Diff)