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:
authorDalai Felinto <dfelinto@gmail.com>2018-06-07 20:13:06 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-07 20:13:23 +0300
commit85e28713825fc5d0d3cb6e060e2b851e67b918dd (patch)
treed85012f70925cf58754eb92ea8957a440280799f /source/blender/gpu/intern/gpu_material.c
parentd32b59fc18fc968062b69f1106784dd5fe88b2a2 (diff)
No more need to tag sss as dirty for EEVEE
And for the records, this shoudn't have been added to the GPU_material_uniform_buffer_tag_dirty function since they are unrelated.
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r--source/blender/gpu/intern/gpu_material.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 0404425ac3f..aa58f4365de 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -221,9 +221,6 @@ void GPU_material_uniform_buffer_tag_dirty(ListBase *gpumaterials)
if (material->ubo != NULL) {
GPU_uniformbuffer_tag_dirty(material->ubo);
}
- if (material->sss_profile != NULL) {
- material->sss_dirty = true;
- }
}
}