diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-12 18:26:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-15 14:40:04 +0300 |
commit | 79da7f2a8fbe37070c899cf8d1298694dbbef86e (patch) | |
tree | 86b228b3b7fbbe4950aed0951368142205360578 /intern/cycles/scene/film.cpp | |
parent | 2e70d5cb980ef2fda6d3bd7e89ed942f3f4b9c59 (diff) |
Cycles: refactor to move part of KernelData definition to template header
To be used for specialization on Metal in a following commit, turning these
members into compile time constants.
Ref D14645
Diffstat (limited to 'intern/cycles/scene/film.cpp')
-rw-r--r-- | intern/cycles/scene/film.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/scene/film.cpp b/intern/cycles/scene/film.cpp index 8239ee84b82..a6a8f90a449 100644 --- a/intern/cycles/scene/film.cpp +++ b/intern/cycles/scene/film.cpp @@ -394,7 +394,7 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene) vector<float> table = filter_table(filter_type, filter_width); scene->lookup_tables->remove_table(&filter_table_offset_); filter_table_offset_ = scene->lookup_tables->add_table(dscene, table); - kfilm->filter_table_offset = (int)filter_table_offset_; + dscene->data.tables.filter_table_offset = (int)filter_table_offset_; /* mist pass parameters */ kfilm->mist_start = mist_start; |