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:
parent
a0492d56da
commit
e6c3e35e07
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue