Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-02-25 04:16:58 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-02-25 04:18:02 +0300
commit72370b92be0db6c7726e1b74e73c393ed1d00538 (patch)
tree723a738d0add011b16661d4985eee8c6227a0320 /intern/cycles/render/geometry.cpp
parentc47990f41c7364058a72f5f162e5cdc06bce0adc (diff)
Fix T85926: Cycles missing viewport updates when making materials single user
This issue seems to be caused by the reallocation flag not being set on the device shader data array so it was never updated on the GPU although the host memory was modified.
Diffstat (limited to 'intern/cycles/render/geometry.cpp')
-rw-r--r--intern/cycles/render/geometry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/geometry.cpp b/intern/cycles/render/geometry.cpp
index 2c2b987e5c0..9f8bf68dadf 100644
--- a/intern/cycles/render/geometry.cpp
+++ b/intern/cycles/render/geometry.cpp
@@ -1585,6 +1585,7 @@ void GeometryManager::device_update_preprocess(Device *device, Scene *scene, Pro
dscene->tri_patch.tag_realloc();
dscene->tri_vnormal.tag_realloc();
dscene->tri_patch_uv.tag_realloc();
+ dscene->tri_shader.tag_realloc();
dscene->patches.tag_realloc();
}