Fix GLSL shader failing to compile on OSX
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 20 May 2016 20:54:27 +0000 (22:54 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 20 May 2016 20:54:27 +0000 (22:54 +0200)
commitf5a4beffdd7aaf4669d4fc5f38ac5fb8691720fb
treecf301abb24e8198c786ed099a4d848076b917a9a
parent79d69bb9e35b0a438878fea57e8a5470e09a71c0
Fix GLSL shader failing to compile on OSX

Bit operations are not supported on legacy profile of OSX.
source/blender/gpu/intern/gpu_shader.c
source/blender/gpu/shaders/gpu_shader_material.glsl