From 040bffe16e2dc80e6c1d66ecf62aff9702a5d78e Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Fri, 29 Sep 2017 09:50:28 +0100 Subject: COMPMID417 - Fix illegal scalar access in color_convert.cl Change-Id: If70bba00bb4451251cbc21058dfecff2c0d106de Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89641 Tested-by: Kaizen Reviewed-by: Georgios Pinitas Reviewed-by: Anthony Barbier --- src/core/CL/cl_kernels/color_convert.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1