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
This commit is contained in:
Ray molenkamp 2019-08-04 14:32:53 -06:00
parent 418fdee5dc
commit 9fbf522dd8
3 changed files with 23038 additions and 23007 deletions

View File

@ -94,6 +94,7 @@ set(SRC
engines/eevee/eevee_lightprobes.c
engines/eevee/eevee_lights.c
engines/eevee/eevee_lookdev.c
engines/eevee/eevee_lut.c
engines/eevee/eevee_materials.c
engines/eevee/eevee_mist.c
engines/eevee/eevee_motion_blur.c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff