mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 13:14:51 -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:
@ -21,6 +21,7 @@ public:
|
||||
virtual ~RendererCLBase() { }
|
||||
virtual bool ReadFinal(v4F* pixels) = 0;
|
||||
virtual bool ClearFinal() = 0;
|
||||
virtual bool AnyNvidia() const = 0;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
@ -154,6 +155,7 @@ public:
|
||||
virtual string ErrorReportString() override;
|
||||
virtual vector<string> ErrorReport() override;
|
||||
virtual bool RandVec(vector<QTIsaac<ISAAC_SIZE, ISAAC_INT>>& randVec) override;
|
||||
virtual bool AnyNvidia() const override;
|
||||
|
||||
#ifndef TEST_CL
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user