[vlc-commits] d3d11_shaders: R10G10B10A2 is displayed sampled like other RGB resources
Steve Lhomme
git at videolan.org
Wed Oct 17 16:07:34 CEST 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Dec 21 14:31:25 2017 +0100| [dd29291cb13ade8ecd31909cd2e8ec85b242926b] | committer: Steve Lhomme
d3d11_shaders: R10G10B10A2 is displayed sampled like other RGB resources
(cherry picked from commit c4de105bb0b78d75f95469bdefe12b24a4a87913)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=dd29291cb13ade8ecd31909cd2e8ec85b242926b
---
modules/video_output/win32/d3d11_shaders.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/d3d11_shaders.c b/modules/video_output/win32/d3d11_shaders.c
index b80a0fd97b..594b90442b 100644
--- a/modules/video_output/win32/d3d11_shaders.c
+++ b/modules/video_output/win32/d3d11_shaders.c
@@ -237,6 +237,7 @@ HRESULT D3D11_CompilePixelShader(vlc_object_t *o, d3d11_handle_t *hd3d, bool leg
case DXGI_FORMAT_B8G8R8A8_UNORM:
case DXGI_FORMAT_B8G8R8X8_UNORM:
case DXGI_FORMAT_B5G6R5_UNORM:
+ case DXGI_FORMAT_R10G10B10A2_UNORM:
psz_sampler =
"sample = shaderTexture[0].Sample(samplerState, coords);";
break;
More information about the vlc-commits
mailing list