On Mon, Apr 9, 2018 at 12:41 PM, Henri Verbeet hverbeet@gmail.com wrote:
On 9 April 2018 at 10:19, Józef Kucia jkucia@codeweavers.com wrote:
It's required for feature level 11_0.
At some point, we probably would like to separate shader model checks from feature level checks.
Yeah. The most straightforward way to do that may be to clamp the d3d_info limits based on the feature level checks in wined3d_adapter_init_gl_caps(). Perhaps the WINED3DCAPS structure should also have an explicit feature_level field for the benefit of dxgi_check_feature_level_support(), but that would be a step further.
FWIW, we have other feature level checks in shader_glsl_get_shader_model(), e.g. ARB_draw_indirect.