mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
Fixed Hypershift2 in OpenCL
This commit is contained in:
parent
4bc428eee2
commit
e5f40e3384
@ -2326,7 +2326,7 @@ public:
|
||||
<< "\t\treal_t rad = 1 / Zeps(fma(fx, fx, SQR(fy)));\n"
|
||||
<< "\t\treal_t x = rad * fx + " << shift << ";\n"
|
||||
<< "\t\treal_t y = rad * fy;\n"
|
||||
<< "\t\trad = " << weight << " * " << shift << " / Zeps(fma(x, x, SQR(y)));\n"
|
||||
<< "\t\trad = " << weight << " * " << scale << " / Zeps(fma(x, x, SQR(y)));\n"
|
||||
<< "\t\treal_t angle = (MwcNextRange(mwc, (int)" << p << ") * 2 + 1) * MPI / " << p << ";\n"
|
||||
<< "\t\treal_t X = fma(rad, x, " << shift << ");\n"
|
||||
<< "\t\treal_t Y = rad * y;\n"
|
||||
|
Loading…
Reference in New Issue
Block a user