[Bf-committers] GLSL for Mac
cglabs at mail.com
Tue Jan 19 20:14:25 CET 2016
I am trying to use a modified “gpu_shader_material.glsl” which has variables defined as uint types.
The GLSL version that Blender is picking up is 120:
#extension GL_ARB_draw_instanced: enable
#extension GL_EXT_gpu_shader4: enable
I am getting syntax error for uint when the OpenGL runtime complies the dynamic source code.
I am assuming that 120 correlates to OpenGL 1.20 and it seams that uint is not supported.
Even more odd is that is I replace all uint by unsigned int it GLGS compiler is “happy” and works (despite the fact that OpenGL 1.20 states unsigned as reserved word).
Does anyone know what is going on with GLSL’s uint ?
My machine: MacBook PRO with NVIDIA GeForce GT 750M 2048 MB
More information about the Bf-committers