aboutsummaryrefslogtreecommitdiff
path: root/src/mandelbrot.cl
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-27 02:03:31 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-27 02:03:31 +0100
commitc8a38bd8ad66eb0b35f08a4733fdee37a888b83c (patch)
tree63f730553e879f5e14f0dc5e3cbb92ce771ae43f /src/mandelbrot.cl
parent3d162bbcc92b22e6b00ee80194214c393770adb7 (diff)
OpenCL rendering added, not working properly
Diffstat (limited to 'src/mandelbrot.cl')
-rw-r--r--src/mandelbrot.cl6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mandelbrot.cl b/src/mandelbrot.cl
deleted file mode 100644
index 0a477c9..0000000
--- a/src/mandelbrot.cl
+++ /dev/null
@@ -1,6 +0,0 @@
-__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));
-} \ No newline at end of file