mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-03 17:50:27 -05:00 
			
		
		
		
	--User changes
-Add Simon Detheridge's name to the About Box. --Bug fixes -Fix bug in OpenCL atomic string, which is never used. -Wrong hist and accum allocation size in RendererCL when using float-only buffers now. -Move some kernel initialization to a place where it's done once per render, rather than on every interactive iter chunk. --Code changes -Make ConvertCarToRas() just assign to the member rather than return a struct. -Make kernel string accessor functions in IterOpenCLKernelCreator, FinalAccumOpenCLKernelCreator and DEOpenCLKernelCreator be const and return a const string reference. -Don't include atomic string unless locking on the GPU, which is never.
This commit is contained in:
		@ -23,10 +23,10 @@ template <typename T>
 | 
			
		||||
class EMBERCL_API IterOpenCLKernelCreator
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
	IterOpenCLKernelCreator(bool nVidia);
 | 
			
		||||
	string ZeroizeKernel();
 | 
			
		||||
	string ZeroizeEntryPoint();
 | 
			
		||||
	string IterEntryPoint();
 | 
			
		||||
	IterOpenCLKernelCreator();
 | 
			
		||||
	const string& ZeroizeKernel() const;
 | 
			
		||||
	const string& ZeroizeEntryPoint() const;
 | 
			
		||||
	const string& IterEntryPoint() const;
 | 
			
		||||
	string CreateIterKernelString(Ember<T>& ember, string& parVarDefines, bool lockAccum = false, bool doAccum = true);
 | 
			
		||||
	static void ParVarIndexDefines(Ember<T>& ember, pair<string, vector<T>>& params, bool doVals = true, bool doString = true);
 | 
			
		||||
	static bool IsBuildRequired(Ember<T>& ember1, Ember<T>& ember2);
 | 
			
		||||
@ -38,7 +38,6 @@ private:
 | 
			
		||||
	string m_IterEntryPoint;
 | 
			
		||||
	string m_ZeroizeKernel;
 | 
			
		||||
	string m_ZeroizeEntryPoint;
 | 
			
		||||
	bool m_NVidia;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#ifdef OPEN_CL_TEST_AREA
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user