blob: 1f9eaa13ee7cb12a617fb5a8cf56e08c354debce (
plain)
1
2
3
4
5
6
7
8
9
10
|
__kernel void
test_fill_image_3d_2(__write_only image3d_t dst)
{
int4 coord;
int4 color4 = {0x12, 0x34, 0x56, 0x78};
coord.x = (int)get_global_id(0);
coord.y = (int)get_global_id(1);
coord.z = (int)get_global_id(2);
write_imagei(dst, coord, color4);
}
|