|
@@ -30,6 +30,7 @@ __kernel void iterate(__global float* A, const int width, float xl, float yt, fl
|
|
__kernel void iterate_vec4(__global float* A, const int width, float xl, float yt, float pixelScaleX, float pixelScaleY, int max, int smooth, int julia, float juliaX, float juliaY) {
|
|
__kernel void iterate_vec4(__global float* A, const int width, float xl, float yt, float pixelScaleX, float pixelScaleY, int max, int smooth, int julia, float juliaX, float juliaY) {
|
|
@@ -70,6 +71,14 @@ __kernel void iterate_vec4(__global float* A, const int width, float xl, float y
|
|
|
|
+ res = ((float4) count) + ((float4)(1.0f, 1.0f, 1.0f, 1.0f)) - log2(log(fma(resa, resa, resb * resb)) * 0.5);
|
|
@@ -79,3 +88,4 @@ __kernel void iterate_vec4(__global float* A, const int width, float xl, float y
|