mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-17 05:34:50 -04:00
--Code changes
-Clean up Michel's PR.
This commit is contained in:
@ -54,6 +54,13 @@ using namespace EmberNs;
|
||||
//#define TEST_CL 1
|
||||
//#define TEST_CL_BUFFERS 1
|
||||
|
||||
//This special define is made to fix buggy OpenCL compilers on Mac.
|
||||
//Rendering is much slower there for unknown reasons. Michel traced it down
|
||||
//to the consec variable which keeps track of how many tries are needed to computer
|
||||
//a point which is not a bad value. Strangely, keeping this as a local variable
|
||||
//is slower than keeping it as an element in a global array.
|
||||
//This is counterintuitive, and lends further weight to the idea that OpenCL on Mac
|
||||
//is horribly broken.
|
||||
#ifdef __APPLE__
|
||||
#define KNL_USE_GLOBAL_CONSEC
|
||||
#define KNL_USE_GLOBAL_CONSEC
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user