mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-11-04 02:00:31 -05:00 
			
		
		
		
	Whitespace fixes
This commit is contained in:
		@ -742,12 +742,12 @@ bool RendererCL<T>::BuildIterProgramForEmber(bool doAccum)
 | 
			
		||||
		m_LastBuiltEmber = m_Ember;
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
  {
 | 
			
		||||
    //m_ErrorReport.push_back(string(loc) + "():\nBuilding the following program failed: \n" + m_IterKernel + "\n");
 | 
			
		||||
	{
 | 
			
		||||
		//m_ErrorReport.push_back(string(loc) + "():\nBuilding the following program failed: \n" + m_IterKernel + "\n");
 | 
			
		||||
 | 
			
		||||
    std::vector<std::string> errors = m_Wrapper.ProgramBuildErrors();
 | 
			
		||||
    m_ErrorReport.insert(m_ErrorReport.end(), errors.begin(), errors.end());
 | 
			
		||||
    m_ErrorReport.push_back(loc);
 | 
			
		||||
		std::vector<std::string> errors = m_Wrapper.ProgramBuildErrors();
 | 
			
		||||
		m_ErrorReport.insert(m_ErrorReport.end(), errors.begin(), errors.end());
 | 
			
		||||
		m_ErrorReport.push_back(loc);
 | 
			
		||||
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
@ -1281,11 +1281,11 @@ int RendererCL<T>::MakeAndGetFinalAccumProgram(T& alphaBase, T& alphaScale)
 | 
			
		||||
		if (b)
 | 
			
		||||
			kernelIndex = m_Wrapper.FindKernelIndex(finalAccumEntryPoint);//Try to find it again, it will be present if successfully built.
 | 
			
		||||
		else
 | 
			
		||||
    {
 | 
			
		||||
      std::vector<std::string> errors = m_Wrapper.ProgramBuildErrors();
 | 
			
		||||
      m_ErrorReport.insert(m_ErrorReport.end(), errors.begin(), errors.end());
 | 
			
		||||
		{
 | 
			
		||||
			std::vector<std::string> errors = m_Wrapper.ProgramBuildErrors();
 | 
			
		||||
			m_ErrorReport.insert(m_ErrorReport.end(), errors.begin(), errors.end());
 | 
			
		||||
			m_ErrorReport.push_back(loc);
 | 
			
		||||
    }
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return kernelIndex;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user