Blender Git Loki

Git Commits -> Revision 52e69ce

November 20, 2019, 19:51 (GMT)
GPU: Batch: Add second instance buffer

This is needed in one corner case. In an attempt to get rid of geometry
shader, we need to use instancing using pos and lnor vbos for edit mesh
normals overlay.

This is a bit hacky and quickly made. This should be do more thoroughly.

Commit Details:

Full Hash: 52e69ce74716ac2640baf8a20826d259fd100d2c
Parent Commit: b5d3d4e
Lines Changed: +66, -32

8 Modified Paths:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_instance_data.c (+10, -4) (Diff)
/source/blender/draw/intern/draw_instance_data.h (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+3, -2) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+2, -2) (Diff)
/source/blender/gpu/GPU_batch.h (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_batch.c (+44, -8) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+2, -14) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021