Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021