Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPFXParser.cpp519 bool CPVRTPFXParser::Parse(CPVRTString * const pReturnError) in Parse() argument
562 …*pReturnError = PVRTStringFromFormattedStr("[HEADER] redefined on line %d\n", m_psContext->pnFileL… in Parse()
567 if(ParseHeader(nLine, nEndLine, pReturnError)) in Parse()
574 …*pReturnError = PVRTStringFromFormattedStr("Missing [/HEADER] tag after [HEADER] on line %d\n", m_… in Parse()
583 if(!ParseTexture(nLine, nEndLine, pReturnError)) in Parse()
588 …*pReturnError = PVRTStringFromFormattedStr("Missing [/TEXTURE] tag after [TEXTURE] on line %d\n", … in Parse()
597 if(!ParseTarget(nLine, nEndLine, pReturnError)) in Parse()
602 …*pReturnError = PVRTStringFromFormattedStr("Missing [/TARGET] tag after [TARGET] on line %d\n", m_… in Parse()
611 …*pReturnError = PVRTStringFromFormattedStr("[TEXTURES] redefined on line %d\n", m_psContext->pnFil… in Parse()
616 if(ParseTextures(nLine, nEndLine, pReturnError)) in Parse()
[all …]
DPVRTPFXParser.h314 EPVRTError ParseFromMemory(const char * const pszScript, CPVRTString * const pReturnError);
324 EPVRTError ParseFromFile(const char * const pszFileName, CPVRTString * const pReturnError);
494 bool Parse( CPVRTString * const pReturnError);
550 bool ParseHeader(int nStartLine, int nEndLine, CPVRTString * const pReturnError);
561 bool ParseTextures(int nStartLine, int nEndLine, CPVRTString * const pReturnError);
571 bool ParseTexture(int nStartLine, int nEndLine, CPVRTString * const pReturnError);
581 bool ParseTarget(int nStartLine, int nEndLine, CPVRTString * const pReturnError);
597 const char* pCaller, CPVRTString * const pReturnError);
610 …bool ParseShader(int nStartLine, int nEndLine, CPVRTString *pReturnError, SPVRTPFXParserShader &sh…
620 …Semantic(SPVRTPFXParserSemantic &semantic, const int nStartLine, CPVRTString * const pReturnError);
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTShader.cpp40 CPVRTString* const pReturnError, in PVRTShaderLoadSourceFromMemory() argument
102 *pReturnError = CPVRTString("Failed to compile shader: ") + pszInfoLog + "\n"; in PVRTShaderLoadSourceFromMemory()
127 CPVRTString* const pReturnError) in PVRTShaderLoadBinaryFromMemory() argument
148 *pReturnError = CPVRTString("Failed to load binary shader\n"); in PVRTShaderLoadBinaryFromMemory()
157 *pReturnError = CPVRTString("Failed to load binary shader\n"); in PVRTShaderLoadBinaryFromMemory()
182 CPVRTString* const pReturnError, in PVRTShaderLoadFromFile() argument
188 *pReturnError = ""; in PVRTShaderLoadFromFile()
200 …emory(ShaderFile.DataPtr(), ShaderFile.Size(), Type, Format, pObject, pReturnError) == PVR_SUCCESS) in PVRTShaderLoadFromFile()
204 *pReturnError += CPVRTString("Failed to open shader ") + pszBinFile + "\n"; in PVRTShaderLoadFromFile()
210 *pReturnError += CPVRTString("Failed to open shader ") + pszSrcFile + "\n"; in PVRTShaderLoadFromFile()
[all …]
DPVRTPFXParserAPI.cpp80 … PVRTPFXEffectDelegate* pDelegate, unsigned int& uiUnknownUniforms, CPVRTString *pReturnError) in Load() argument
116 …*pReturnError += PVRTStringFromFormattedStr("ERROR: Effect '%s' requests non-existent texture: %s\… in Load()
128 if(LoadShadersForEffect(src, pszFileName, pReturnError) != PVR_SUCCESS) in Load()
132 if(RebuildUniformTable(uiUnknownUniforms, pReturnError) != PVR_SUCCESS) in Load()
138 if(LoadTexturesForEffect(pDelegate, pReturnError) != PVR_SUCCESS) in Load()
153 … CPVRTPFXEffect::LoadTexturesForEffect(PVRTPFXEffectDelegate* pDelegate, CPVRTString *pReturnError) in LoadTexturesForEffect() argument
163 …*pReturnError += PVRTStringFromFormattedStr("ERROR: Cannot find texture '%s' in any TEXTURE block.… in LoadTexturesForEffect()
175 …*pReturnError += PVRTStringFromFormattedStr("ERROR: Failed to load texture: %s.\n", pTexDesc->File… in LoadTexturesForEffect()
182 …*pReturnError += PVRTStringFromFormattedStr("ERROR: GL handle for texture '%s' not set!\n", pTexDe… in LoadTexturesForEffect()
199 …oadShadersForEffect(CPVRTPFXParser &src, const char * const pszFileName, CPVRTString *pReturnError) in LoadShadersForEffect() argument
[all …]
DPVRTPFXParserAPI.h110 PVRTPFXEffectDelegate* pDelegate, unsigned int& uiUnknownUniforms, CPVRTString *pReturnError);
169 … SPVRTPFXUniformSemantic* const psUniforms, unsigned int uiNumUniforms, CPVRTString* pReturnError);
178 EPVRTError RemoveUniformSemantic(unsigned int uiSemanticID, CPVRTString* pReturnError);
205 …adShadersForEffect(CPVRTPFXParser &src, const char * const pszFileName, CPVRTString *pReturnError);
212 EPVRTError LoadTexturesForEffect(PVRTPFXEffectDelegate* pDelegate, CPVRTString *pReturnError);
220 EPVRTError RebuildUniformTable(unsigned int& uiUnknownSemantics, CPVRTString* pReturnError);
DPVRTShader.h36 CPVRTString* const pReturnError,
54 CPVRTString* const pReturnError);
75 CPVRTString* const pReturnError,
94 CPVRTString* const pReturnError);