aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/color_convert.cl
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2017-09-29 09:50:28 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit040bffe16e2dc80e6c1d66ecf62aff9702a5d78e (patch)
tree7adef2180dd6bd19af9e15a76196478ee8b7a255 /src/core/CL/cl_kernels/color_convert.cl
parent144d2fff0e9a87050eafd856789683ab39f08eda (diff)
downloadComputeLibrary-040bffe16e2dc80e6c1d66ecf62aff9702a5d78e.tar.gz
COMPMID417 - Fix illegal scalar access in color_convert.cl
Change-Id: If70bba00bb4451251cbc21058dfecff2c0d106de Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89641 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/color_convert.cl')
-rw-r--r--src/core/CL/cl_kernels/color_convert.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/color_convert.cl b/src/core/CL/cl_kernels/color_convert.cl
index f5ec85ae76..01d8b90be9 100644
--- a/src/core/CL/cl_kernels/color_convert.cl
+++ b/src/core/CL/cl_kernels/color_convert.cl
@@ -54,7 +54,7 @@ __kernel void RGB888_to_RGBA8888_bt709(
uchar16 rgb_2 = vload16(0, in.ptr + 32);
uchar16 rgba_0 = (uchar16)(rgb_0.s012, 255, rgb_0.s345, 255, rgb_0.s678, 255, rgb_0.s9ab, 255);
- uchar16 rgba_1 = (uchar16)(rgb_0.scde, 255, rgb_0.f, rgb_1.s01, 255, rgb_1.s234, 255, rgb_1.s567, 255);
+ uchar16 rgba_1 = (uchar16)(rgb_0.scde, 255, rgb_0.sf, rgb_1.s01, 255, rgb_1.s234, 255, rgb_1.s567, 255);
uchar16 rgba_2 = (uchar16)(rgb_1.s89a, 255, rgb_1.sbcd, 255, rgb_1.sef, rgb_2.s0, 255, rgb_2.s123, 255);
uchar16 rgba_3 = (uchar16)(rgb_2.s456, 255, rgb_2.s789, 255, rgb_2.sabc, 255, rgb_2.sdef, 255);