Commit d7fb9626 authored by Steve Lhomme's avatar Steve Lhomme

direct3d11: use the shader with no array either with 9.x compatibility or bogus AMD

parent e3d92eec
......@@ -2046,7 +2046,7 @@ static int Direct3D11CreateFormatResources(vout_display_t *vd, const video_forma
vout_display_sys_t *sys = vd->sys;
sys->legacy_shader = !CanUseTextureArray(vd);
sys->legacy_shader = sys->d3d_dev.feature_level < D3D_FEATURE_LEVEL_10_0 || !CanUseTextureArray(vd);
hr = CompilePixelShader(vd, sys->picQuadConfig, fmt->transfer, fmt->b_color_range_full, &sys->picQuadPixelShader);
if (FAILED(hr))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment