On Thu, Feb 9, 2017 at 3:39 PM, Matteo Bruni matteo.mystral@gmail.com wrote:
I don't know it for a fact but it seems weird to me that explicitly enabling the extension in the GLSL source is ever necessary, given that you just created the shader with GL_COMPUTE_SHADER anyway... FWIW the extension enable is not mentioned in the ARB_compute_shader spec.
In practice this seems to be necessary.
fixme:d3d_shader:print_glsl_info_log 0(18) : error C7532: global variable gl_WorkGroupID requires "#version 430 " or later fixme:d3d_shader:print_glsl_info_log 0(18) : error C0000: ... or #extension GL_ARB_compute_shader : enable fixme:d3d_shader:print_glsl_info_log (0) : error C2003: incompatible options for link