On Mon, Oct 8, 2018 at 8:26 PM Henri Verbeet hverbeet@codeweavers.com wrote:
@@ -1254,7 +1255,9 @@ static enum wined3d_feature_level feature_level_from_caps(const struct wined3d_g shader_model = min(shader_model, max(shader_caps->hs_version, 4)); shader_model = min(shader_model, max(shader_caps->ds_version, 4));
- if (gl_info->supported[WINED3D_GL_VERSION_3_2] && gl_info->supported[ARB_SAMPLER_OBJECTS])
- if (gl_info->supported[WINED3D_GL_VERSION_3_2]
&& gl_info->supported[ARB_POLYGON_OFFSET_CLAMP]
{ if (shader_model >= 5 && gl_info->supported[ARB_DRAW_INDIRECT]&& gl_info->supported[ARB_SAMPLER_OBJECTS])
That kills d3d10 support on macOS. I know that it was a partial lie before anyway, but still...
Probably less of an issue, it also kills d3d10+ on older Mesa. Would you like / accept a patch adding a fallback to EXT_polygon_offset_clamp?