wined3d: Require BPTC compression for SM5.
It's required for feature level 11_0. At some point, we probably would like to separate shader model checks from feature level checks. 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
1158cf05ae
commit
13a53aa969
|
@ -10964,6 +10964,7 @@ static unsigned int shader_glsl_get_shader_model(const struct wined3d_gl_info *g
|
|||
&& gl_info->supported[ARB_SHADER_IMAGE_SIZE]
|
||||
&& gl_info->supported[ARB_SHADING_LANGUAGE_PACKING]
|
||||
&& gl_info->supported[ARB_TESSELLATION_SHADER]
|
||||
&& gl_info->supported[ARB_TEXTURE_COMPRESSION_BPTC]
|
||||
&& gl_info->supported[ARB_TEXTURE_GATHER]
|
||||
&& gl_info->supported[ARB_TRANSFORM_FEEDBACK3])
|
||||
return 5;
|
||||
|
|
Loading…
Reference in New Issue