diff options
author | Yoann Lopes <yoann.lopes@qt.io> | 2016-05-02 15:48:55 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-05-02 13:59:56 +0000 |
commit | db030845fc1ca9645bf4bfa281b221cb5f0d9d9e (patch) | |
tree | e7f4a43042ab51670e02e1e9e922a53343d6879a | |
parent | 13bc1e04baa44400835e10fbd2e79d1e4e669f0d (diff) | |
download | qtmultimedia-db030845fc1ca9645bf4bfa281b221cb5f0d9d9e.tar.gz |
Fix missing precision qualifier in YUV 4:2:2 shaders.
Change-Id: I83ce28670950e0895cc746c4ca30f884aa5a35bc
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
-rw-r--r-- | src/qtmultimediaquicktools/shaders/uyvyvideo.frag | 2 | ||||
-rw-r--r-- | src/qtmultimediaquicktools/shaders/yuyvvideo.frag | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qtmultimediaquicktools/shaders/uyvyvideo.frag b/src/qtmultimediaquicktools/shaders/uyvyvideo.frag index 8e34f7d33..905035703 100644 --- a/src/qtmultimediaquicktools/shaders/uyvyvideo.frag +++ b/src/qtmultimediaquicktools/shaders/uyvyvideo.frag @@ -1,5 +1,5 @@ uniform sampler2D yuvTexture; // UYVY macropixel texture passed as RGBA format -uniform float imageWidth; // The UYVY texture appears to the shader with 1/2 the image width since we use the RGBA format to pass UYVY +uniform mediump float imageWidth; // The UYVY texture appears to the shader with 1/2 the image width since we use the RGBA format to pass UYVY uniform mediump mat4 colorMatrix; uniform lowp float opacity; diff --git a/src/qtmultimediaquicktools/shaders/yuyvvideo.frag b/src/qtmultimediaquicktools/shaders/yuyvvideo.frag index 876771008..72732cd66 100644 --- a/src/qtmultimediaquicktools/shaders/yuyvvideo.frag +++ b/src/qtmultimediaquicktools/shaders/yuyvvideo.frag @@ -1,5 +1,5 @@ uniform sampler2D yuvTexture; // YUYV macropixel texture passed as RGBA format -uniform float imageWidth; // The YUYV texture appears to the shader with 1/2 the image width since we use the RGBA format to pass YUYV +uniform mediump float imageWidth; // The YUYV texture appears to the shader with 1/2 the image width since we use the RGBA format to pass YUYV uniform mediump mat4 colorMatrix; uniform lowp float opacity; |