Home
last modified time | relevance | path

Searched refs:pszShaderCode (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTShader.cpp37 EPVRTError PVRTShaderLoadSourceFromMemory( const char* pszShaderCode, in PVRTShaderLoadSourceFromMemory() argument
48 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 …]
DPVRTShader.h33 EPVRTError PVRTShaderLoadSourceFromMemory( const char* pszShaderCode,