Blender Git Commit Log

Git Commits -> Revision 2654e9c

Revision 2654e9c by Jeroen Bakker (master)
August 28, 2020, 12:41 (GMT)
Fix T80141: Fix Compiling Workbench Volume Shaders (Mesa 20.0.8)

Default mesa driver for ubuntu 20.04 fails when a name is defined twice.
M_PI is defined in both `common_workbench_lib` and `common_math_lib`. This patch
remove the define out of common_workbench_lib

For reference it fails on https://github.com/mesa3d/mesa/blob/mesa-20.0.8/src/compiler/glsl/glcpp/glcpp-parse.y#L1186
during the check if the macros are the same.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8741

Commit Details:

Full Hash: 2654e9c9c1915a237201ec35f6c6794de66de770
Parent Commit: 922aac9
Lines Changed: +0, -1

1 Modified Path:

/source/blender/draw/engines/workbench/shaders/workbench_common_lib.glsl (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021