Commit 88ff1308 authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

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

(cherry picked from commit d7fb9626)
Signed-off-by: default avatarHugo Beauzée-Luyssen <>
parent 4909be7a
......@@ -2043,7 +2043,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