Blender Git Loki

Git Commits -> Revision 10b34ad

Revision 10b34ad by Clément Foucault (master)
June 4, 2020, 12:17 (GMT)
GPUShaderInterface: Change builtin array to array of location/bind

This reduce the base size of the shaderinterface from 400 to 136 bytes.
Improves memory usage and cache coherency when querying a lot of uniforms
at once.

Commit Details:

Full Hash: 10b34ad69724a0b69c30239abb6cb309bb9c8e66
Parent Commit: 5837de6
Lines Changed: +43, -55

5 Modified Paths:

/source/blender/gpu/GPU_shader_interface.h (+6, -7) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+4, -6) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+20, -24) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+5, -8) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.c (+8, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021