[PATCH 5/6] wined3d: Enable SM5 shaders in the GLSL backend.
Henri Verbeet
hverbeet at gmail.com
Wed Feb 17 07:45:13 CST 2016
On 16 February 2016 at 20:48, Matteo Bruni <mbruni at codeweavers.com> wrote:
> + /* FIXME: Check for the extensions required for SM5 support
> + * (ARB_compute_shader, ARB_tessellation_shader, ARB_gpu_shader5, ...) as
> + * soon as we introduce them. */
> if (gl_info->glsl_version >= MAKEDWORD_VERSION(1, 50) && gl_info->supported[WINED3D_GL_VERSION_3_2]
> && gl_info->supported[ARB_SHADER_BIT_ENCODING] && gl_info->supported[ARB_SAMPLER_OBJECTS])
> - shader_model = 4;
> + shader_model = 5;
I'd rather not do this without at least a check for the GL and GLSL
versions. It would potentially create the kind of situation where some
applications start working a little bit and then stop working once we
add the proper check.
More information about the wine-devel
mailing list