Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTShader.cpp197 CPVRTResourceFile ShaderFile(pszBinFile); in PVRTShaderLoadFromFile() local
198 if (ShaderFile.IsOpen()) in PVRTShaderLoadFromFile()
200 …if(PVRTShaderLoadBinaryFromMemory(ShaderFile.DataPtr(), ShaderFile.Size(), Type, Format, pObject, … in PVRTShaderLoadFromFile()
207 CPVRTResourceFile ShaderFile(pszSrcFile); in PVRTShaderLoadFromFile() local
208 if (!ShaderFile.IsOpen()) in PVRTShaderLoadFromFile()
215 const char* pShaderData = (const char*) ShaderFile.DataPtr(); in PVRTShaderLoadFromFile()
218 if(pShaderData[ShaderFile.Size()-1] != '\0') in PVRTShaderLoadFromFile()
221 ShaderFileString.assign(pShaderData, ShaderFile.Size()); in PVRTShaderLoadFromFile()