From: Luo Xionghu <[email protected]>
Signed-off-by: Luo Xionghu <[email protected]>
---
kernels/image_planar_yuv.cl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernels/image_planar_yuv.cl b/kernels/image_planar_yuv.cl
index 0c49a67..de6c4cd 100644
--- a/kernels/image_planar_yuv.cl
+++ b/kernels/image_planar_yuv.cl
@@ -1,5 +1,5 @@
__kernel void
-image_planar_total(__read_write image2d_t srcNV, __read_write image2d_t dstNV)
+image_planar_total(__read_only image2d_t srcNV, __write_only image2d_t dstNV)
{
const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_FILTER_NEAREST;
int2 loc = (int2)(get_global_id(0), get_global_id(1));
--
2.5.0
_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet