aboutsummaryrefslogtreecommitdiff
path: root/src/mandelbrot.cl
blob: 0a477c926ce71e2a4433054c8aeb35f393f2049a (plain)
1
2
3
4
5
6
__kernel void Main(__write_only image2d_t image)
{
	int x = get_global_id(0);
	int y = get_global_id(1);
	write_imagef(image, (int2)(x, y), (float4)(x / 256.0f, y / 256.0f, 1.0f, 1.0f));
}