Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
d7fb9626
Commit
d7fb9626
authored
Mar 13, 2018
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d11: use the shader with no array either with 9.x compatibility or bogus AMD
parent
e3d92eec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/video_output/win32/direct3d11.c
modules/video_output/win32/direct3d11.c
+1
-1
No files found.
modules/video_output/win32/direct3d11.c
View file @
d7fb9626
...
@@ -2046,7 +2046,7 @@ static int Direct3D11CreateFormatResources(vout_display_t *vd, const video_forma
...
@@ -2046,7 +2046,7 @@ static int Direct3D11CreateFormatResources(vout_display_t *vd, const video_forma
vout_display_sys_t
*
sys
=
vd
->
sys
;
vout_display_sys_t
*
sys
=
vd
->
sys
;
HRESULT
hr
;
HRESULT
hr
;
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
);
hr
=
CompilePixelShader
(
vd
,
sys
->
picQuadConfig
,
fmt
->
transfer
,
fmt
->
b_color_range_full
,
&
sys
->
picQuadPixelShader
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment