mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -04:00
Bug fixes:
--Disallow the use of synth when randomly generating xforms if the user has an Nvidia device present on their system. Code changes: --Use some CPU defines in CL code. --Change curves color scaling buffer to be 2^16 per channel instead of 2^17 which was probably overkill. --Code in RendererClDevice::Init() to detect Nvidia was wrong even thought it technically worked.
This commit is contained in:
@ -68,9 +68,9 @@ namespace EmberNs
|
||||
#define TMAX std::numeric_limits<T>::max()
|
||||
#define FLOAT_MAX_TAN 8388607.0f
|
||||
#define FLOAT_MIN_TAN -FLOAT_MAX_TAN
|
||||
#define CURVES_LENGTH 131072
|
||||
#define CURVES_LENGTH_M1 131071.0f
|
||||
#define ONE_OVER_CURVES_LENGTH_M1 7.62945273935e-6f
|
||||
#define CURVES_LENGTH 65536
|
||||
#define CURVES_LENGTH_M1 65535.0f
|
||||
#define ONE_OVER_CURVES_LENGTH_M1 1.525902189669e-5f
|
||||
#define EMPTYFIELD -9999
|
||||
typedef std::chrono::high_resolution_clock Clock;
|
||||
typedef std::chrono::duration<double, std::ratio<1, 1000>> DoubleMs;
|
||||
|
Reference in New Issue
Block a user