Blender Git Commit Log

Git Commits -> Revision 2e63029

Revision 2e63029 by Clément Foucault (master)
August 21, 2020, 12:25 (GMT)
GPUShader: Fix linking working even if one shader compilation failed

Linking without valid shaders works on some drivers. Avoid this case by
forcing linking step to return false.

Commit Details:

Full Hash: 2e630297afc19ef4e69b8afe79dfd337171dbd60
Parent Commit: 3a6e981
Lines Changed: +8, -1

2 Modified Paths:

/source/blender/gpu/opengl/gl_shader.cc (+5, -0) (Diff)
/source/blender/gpu/opengl/gl_shader.hh (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021