[vlc-commits] dxgi_fmt: add one more texture in the array

Steve Lhomme git at videolan.org
Thu Aug 10 14:34:39 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Jun  8 14:45:50 2017 +0200| [c1101fe4761e9d2c8f200a8723436abe61080150] | committer: Jean-Baptiste Kempf

dxgi_fmt: add one more texture in the array

I420 and other formats need 3 planes

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1101fe4761e9d2c8f200a8723436abe61080150
---

 modules/video_chroma/dxgi_fmt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/dxgi_fmt.h b/modules/video_chroma/dxgi_fmt.h
index b79dbce7c0..8e8cdb5e5b 100644
--- a/modules/video_chroma/dxgi_fmt.h
+++ b/modules/video_chroma/dxgi_fmt.h
@@ -29,7 +29,7 @@
 #include <vlc_common.h>
 #include <vlc_fourcc.h>
 
-#define D3D11_MAX_SHADER_VIEW  2
+#define D3D11_MAX_SHADER_VIEW  3
 
 typedef struct
 {



More information about the vlc-commits mailing list