Blender Git Loki

Git Commits -> Revision 9fbf522

Revision 9fbf522 by Ray molenkamp (master)
August 4, 2019, 20:32 (GMT)
Cleanup: Fix eeve_lut arrays being duplicated in blender binary.

Both eevee_materials.c and workbench_deferred.c include eeve_lut.h which has its arrays marked as static leading to the blue_noise array being embedded into our binary twice.

This change takes the arrays out of the header and properly marks them as const since they are lookup tables and should not be written to.

Reviewers: fclem, brecht

Differential Revision: https://developer.blender.org/D5346

Commit Details:

Full Hash: 9fbf522dd8c0cf5008e46534ffadcabed2bae60c
Parent Commit: 418fdee
Lines Changed: +23038, -23007

1 Added Path:

/source/blender/draw/engines/eevee/eevee_lut.c (+23031, -0) (View)

2 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lut.h (+6, -23007) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021