wined3d: Enable GL_ARB_compute_shader unconditionally in compute shaders.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2017-05-15 12:05:45 +02:00 committed by Alexandre Julliard
parent a0492d56da
commit e6c3e35e07
1 changed files with 1 additions and 2 deletions

View File

@ -7434,8 +7434,7 @@ static GLuint shader_glsl_generate_compute_shader(const struct wined3d_context *
shader_glsl_add_version_declaration(buffer, gl_info);
shader_glsl_enable_extensions(buffer, gl_info);
if (gl_info->supported[ARB_COMPUTE_SHADER])
shader_addline(buffer, "#extension GL_ARB_compute_shader : enable\n");
shader_addline(buffer, "#extension GL_ARB_compute_shader : enable\n");
shader_generate_glsl_declarations(context, buffer, shader, reg_maps, &priv_ctx);