summaryrefslogtreecommitdiff
path: root/kernels/test_fill_image_1d.cl
blob: db922afb5c17dbcbb614024d5a42f017eb5b5c7e (plain)
1
2
3
4
5
6
7
8
__kernel void
test_fill_image_1d(__write_only image1d_t dst)
{
  int coord;
  coord = (int)get_global_id(0);
  uint4 color4 = {0, 1, 2 ,3};
  write_imageui(dst, coord, color4);
}