Searched refs:pszShaderCode (Results 1 – 2 of 2) sorted by relevance
37 EPVRTError PVRTShaderLoadSourceFromMemory( const char* pszShaderCode, in PVRTShaderLoadSourceFromMemory() argument48 while(isspace(*pszShaderCode)) in PVRTShaderLoadSourceFromMemory()49 ++pszShaderCode; in PVRTShaderLoadSourceFromMemory()51 if(*pszShaderCode == '#') in PVRTShaderLoadSourceFromMemory()53 const char* tmp = pszShaderCode + 1; in PVRTShaderLoadSourceFromMemory()60 const char* c = strchr(pszShaderCode, '\n'); in PVRTShaderLoadSourceFromMemory()64 size_t length = c - pszShaderCode + 1; in PVRTShaderLoadSourceFromMemory()65 pszShaderString = CPVRTString(pszShaderCode, length); in PVRTShaderLoadSourceFromMemory()66 pszShaderCode += length; in PVRTShaderLoadSourceFromMemory()70 pszShaderString = CPVRTString(pszShaderCode) + "\n"; in PVRTShaderLoadSourceFromMemory()[all …]
33 EPVRTError PVRTShaderLoadSourceFromMemory( const char* pszShaderCode,