[vlc-commits] d3d11_shaders: R10G10B10A2 is displayed sampled like other RGB resources
Steve Lhomme
git at videolan.org
Mon May 28 13:25:33 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Dec 21 14:31:25 2017 +0100| [c4de105bb0b78d75f95469bdefe12b24a4a87913] | committer: Steve Lhomme
d3d11_shaders: R10G10B10A2 is displayed sampled like other RGB resources
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4de105bb0b78d75f95469bdefe12b24a4a87913
---
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