Fix T62874: Crash Texture shading+Transparency
authorJeroen Bakker <j.bakker@atmind.nl>
Thu, 28 Mar 2019 13:58:37 +0000 (14:58 +0100)
committerJeroen Bakker <j.bakker@atmind.nl>
Thu, 28 Mar 2019 13:59:00 +0000 (14:59 +0100)
commitaa0c864d4878a2483775d766c87fb41491138d10
tree7fa54c2dfb2d04fefa50733c980563ded23d4da5
parentfe9c9a313fbb78ba9987c9978d52e22bc33b30f2
Fix T62874: Crash Texture shading+Transparency

When texure shading is enabled, the transparency accum shaders were not set/updated.
This resulted into a crash when transparent objects were rendered when shading mode
was set to texture.

This patch will add the V3D_SHADING_TEXTURE_COLOR to the modes for OIT so the
shaders are set.

Reviewed By: fclem

Maniphest Tasks: T62874

Differential Revision: https://developer.blender.org/D4592
source/blender/draw/engines/workbench/workbench_private.h