/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
D | HLSLCompiler.cpp | 68 ShaderBlob *HLSLCompiler::compileToBinary(gl::InfoLog &infoLog, const char *hlsl, const char *profi… in compileToBinary() argument 90 infoLog.appendSanitized(message); in compileToBinary() 108 infoLog.append("Warning: D3D shader compilation failed with "); in compileToBinary() 109 infoLog.append(flagNames[i]); in compileToBinary() 110 infoLog.append(" flags."); in compileToBinary() 113 infoLog.append(" Retrying with "); in compileToBinary() 114 infoLog.append(flagNames[i + 1]); in compileToBinary() 115 infoLog.append(".\n"); in compileToBinary()
|
D | HLSLCompiler.h | 28 ShaderBlob *compileToBinary(gl::InfoLog &infoLog, const char *hlsl, const char *profile,
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
D | shader_utils.cpp | 49 std::vector<GLchar> infoLog(infoLogLength); in CompileShader() local 50 glGetShaderInfoLog(shader, infoLog.size(), NULL, infoLog.data()); in CompileShader() 52 std::cerr << "shader compilation failed: " << infoLog.data(); in CompileShader() 103 std::vector<GLchar> infoLog(infoLogLength); in CompileProgram() local 104 glGetProgramInfoLog(program, infoLog.size(), NULL, infoLog.data()); in CompileProgram() 106 std::cerr << "program link failed: " << infoLog.data(); in CompileProgram()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | ProgramBinary.cpp | 982 bool ProgramBinary::linkVaryings(InfoLog &infoLog, FragmentShader *fragmentShader, VertexShader *ve… in linkVaryings() argument 997 if (!linkValidateVariables(infoLog, output->name, *input, *output)) in linkVaryings() 1011 … infoLog.append("Fragment varying %s does not match any vertex varying", input->name.c_str()); in linkVaryings() 1019 bool ProgramBinary::load(InfoLog &infoLog, const void *binary, GLsizei length) in load() argument 1029 infoLog.append("Invalid program binary format."); in load() 1037 infoLog.append("Invalid program binary version."); in load() 1045 infoLog.append("Invalid program binary version."); in load() 1052 infoLog.append("Mismatched compilation flags."); in load() 1089 infoLog.append("Invalid program binary."); in load() 1122 infoLog.append("Invalid program binary."); in load() [all …]
|
D | ProgramBinary.h | 132 bool load(InfoLog &infoLog, const void *binary, GLsizei length); 136 …bool link(InfoLog &infoLog, const AttributeBindings &attributeBindings, FragmentShader *fragmentSh… 163 void validate(InfoLog &infoLog); 164 bool validateSamplers(InfoLog *infoLog); 180 bool linkVaryings(InfoLog &infoLog, FragmentShader *fragmentShader, VertexShader *vertexShader); 181 …bool linkAttributes(InfoLog &infoLog, const AttributeBindings &attributeBindings, FragmentShader *… 186 …bool linkValidateFields(InfoLog &infoLog, const std::string &varName, const ShaderVarType &vertexV… 187 …bool linkValidateVariablesBase(InfoLog &infoLog, const std::string &variableName, const ShaderVari… 189 …bool linkValidateVariables(InfoLog &infoLog, const std::string &uniformName, const Uniform &vertex… 190 …bool linkValidateVariables(InfoLog &infoLog, const std::string &varyingName, const Varying &vertex… [all …]
|
D | Shader.cpp | 62 void Shader::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog) const in getInfoLog() 69 memcpy(infoLog, mInfoLog.c_str(), index); in getInfoLog() 71 infoLog[index] = '\0'; in getInfoLog() 375 char* infoLog = new char[infoLogLen]; in compileToHLSL() local 376 ShGetInfoLog(compiler, infoLog); in compileToHLSL() 377 mInfoLog = infoLog; in compileToHLSL()
|
D | Program.cpp | 49 void InfoLog::getLog(GLsizei bufSize, GLsizei *length, char *infoLog) in getLog() argument 58 memcpy(infoLog, mInfoLog, index); in getLog() 61 infoLog[index] = '\0'; in getLog() 360 void Program::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog) in getInfoLog() argument 362 return mInfoLog.getLog(bufSize, length, infoLog); in getInfoLog()
|
D | DynamicHLSL.h | 42 int packVaryings(InfoLog &infoLog, VaryingPacking packing, FragmentShader *fragmentShader, 45 bool generateShaderLinkHLSL(InfoLog &infoLog, int registers, const VaryingPacking packing,
|
D | Program.h | 55 void getLog(GLsizei bufSize, GLsizei *length, char *infoLog); 84 void getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog);
|
D | DynamicHLSL.cpp | 216 int DynamicHLSL::packVaryings(InfoLog &infoLog, VaryingPacking packing, FragmentShader *fragmentSha… in packVaryings() argument 235 infoLog.append("Could not pack varying %s", varying->name.c_str()); in packVaryings() 253 infoLog.append("Could not pack varying %s", varying->name.c_str()); in packVaryings() 264 …infoLog.append("Transform feedback varying %s does not exist in the vertex shader.", transformFeed… in packVaryings() 406 bool DynamicHLSL::generateShaderLinkHLSL(InfoLog &infoLog, int registers, const VaryingPacking pack… in generateShaderLinkHLSL() argument 423 infoLog.append("Cannot use both gl_FragColor and gl_FragData in the same fragment shader."); in generateShaderLinkHLSL() 443 infoLog.append("No varying registers left to support gl_FragCoord/gl_PointCoord"); in generateShaderLinkHLSL()
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 79 m_info.infoLog.clear(); in compile() 103 std::vector<char> infoLog(infoLogLen); in compile() local 104 gl.getShaderInfoLog(m_shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in compile() 105 m_info.infoLog = std::string(&infoLog[0], infoLogLen); in compile() 134 std::vector<char> infoLog(infoLogLen); in getProgramInfoLog() local 135 gl.getProgramInfoLog(program, (int)infoLog.size(), &unusedLen, &infoLog[0]); in getProgramInfoLog() 136 return std::string(&infoLog[0], infoLogLen); in getProgramInfoLog() 156 m_info.infoLog = getProgramInfoLog(renderCtx, program); in Program() 203 m_info.infoLog.clear(); in link() 213 m_info.infoLog = getProgramInfoLog(m_renderCtx, m_program); in link() [all …]
|
D | gluShaderProgram.hpp | 50 std::string infoLog; //!< Compile info log. member 62 std::string infoLog; //!< Link info log. member 87 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog() 122 const std::string& getInfoLog (void) const { return getInfo().infoLog; } in getInfoLog()
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
D | ANGLETest.cpp | 88 std::vector<GLchar> infoLog(infoLogLength); in compileShader() local 89 glGetShaderInfoLog(shader, infoLog.size(), NULL, infoLog.data()); in compileShader() 91 std::cerr << "shader compilation failed: " << infoLog.data(); in compileShader() 131 std::vector<GLchar> infoLog(infoLogLength); in compileProgram() local 132 glGetProgramInfoLog(program, infoLog.size(), NULL, infoLog.data()); in compileProgram() 134 std::cerr << "program link failed: " << infoLog.data(); in compileProgram()
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeStateApiTests.cpp | 188 char infoLog[128]; in init() 190 deMemset(&infoLog[0], 0, sizeof(infoLog)); in init() 193 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init() 198 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init() 203 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init() 295 char infoLog[1] = { 0 }; in init() 298 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init() 303 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init() 308 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
|
D | es2fShaderApiTests.cpp | 137 info.infoLog.clear(); in queryShaderInfo() 162 std::vector<char> infoLog(infoLogLen); in queryShaderInfo() local 163 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in queryShaderInfo() 164 info.infoLog = std::string(&infoLog[0], infoLogLen); in queryShaderInfo() 291 … << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoLog); in logShader() 817 if (programInfo.infoLog != reference.infoLog) in verify()
|
/external/eigen/unsupported/test/ |
D | openglsupport.cpp | 60 GLchar *infoLog; in printInfoLog() local 64 infoLog = new GLchar[infologLength]; in printInfoLog() 65 glGetProgramInfoLog(objectID, infologLength, &charsWritten, infoLog); in printInfoLog() 67 std::cerr << "Shader info : \n" << infoLog << std::endl; in printInfoLog() 68 delete[] infoLog; in printInfoLog()
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.c | 646 GLsizei *length, GLchar *infoLog) in get_program_info_log() argument 654 _mesa_copy_string(infoLog, bufSize, length, shProg->InfoLog); in get_program_info_log() 660 GLsizei *length, GLchar *infoLog) in get_shader_info_log() argument 667 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); in get_shader_info_log() 1153 GLcharARB * infoLog) in _mesa_GetInfoLogARB() argument 1157 get_program_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1160 get_shader_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1223 GLsizei *length, GLchar *infoLog) in _mesa_GetProgramInfoLog() argument 1226 get_program_info_log(ctx, program, bufSize, length, infoLog); in _mesa_GetProgramInfoLog() 1232 GLsizei *length, GLchar *infoLog) in _mesa_GetShaderInfoLog() argument [all …]
|
D | shaderapi.h | 171 GLsizei *length, GLchar *infoLog); 178 GLsizei *length, GLchar *infoLog);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | shaderapi.c | 646 GLsizei *length, GLchar *infoLog) in get_program_info_log() argument 654 _mesa_copy_string(infoLog, bufSize, length, shProg->InfoLog); in get_program_info_log() 660 GLsizei *length, GLchar *infoLog) in get_shader_info_log() argument 667 _mesa_copy_string(infoLog, bufSize, length, sh->InfoLog); in get_shader_info_log() 1153 GLcharARB * infoLog) in _mesa_GetInfoLogARB() argument 1157 get_program_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1160 get_shader_info_log(ctx, object, maxLength, length, infoLog); in _mesa_GetInfoLogARB() 1223 GLsizei *length, GLchar *infoLog) in _mesa_GetProgramInfoLog() argument 1226 get_program_info_log(ctx, program, bufSize, length, infoLog); in _mesa_GetProgramInfoLog() 1232 GLsizei *length, GLchar *infoLog) in _mesa_GetShaderInfoLog() argument [all …]
|
D | shaderapi.h | 171 GLsizei *length, GLchar *infoLog); 178 GLsizei *length, GLchar *infoLog);
|
/external/deqp/framework/qphelper/ |
D | qpTestLog.h | 215 …r (qpTestLog* log, qpShaderType type, const char* source, deBool compileOk, const char* infoLog); 218 …(qpTestLog* log, const char* name, const char* description, deBool compileOk, const char* infoLog);
|
/external/deqp/framework/common/ |
D | tcuTestLog.hpp | 145 …void writeShader (qpShaderType type, const char* source, bool compileOk, const char* infoLog… 148 …writeCompileInfo (const char* name, const char* description, bool compileOk, const char* infoLog); 312 …ogShader (qpShaderType type, const std::string& source, bool compileOk, const std::string& infoLog) in LogShader() argument 316 , m_infoLog (infoLog) in LogShader()
|
D | tcuTestLog.cpp | 312 …d TestLog::writeShader (qpShaderType type, const char* source, bool compileOk, const char* infoLog) in writeShader() argument 314 if (qpTestLog_writeShader(m_log, type, source, compileOk?DE_TRUE:DE_FALSE, infoLog) == DE_FALSE) in writeShader() 324 …::writeCompileInfo (const char* name, const char* description, bool compileOk, const char* infoLog) in writeCompileInfo() argument 326 …if (qpTestLog_writeCompileInfo(m_log, name, description, compileOk ? DE_TRUE : DE_FALSE, infoLog) … in writeCompileInfo()
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
D | ShaderLang.cpp | 262 void ShGetInfoLog(const ShHandle handle, char* infoLog) in ShGetInfoLog() argument 264 if (!handle || !infoLog) in ShGetInfoLog() 272 strcpy(infoLog, infoSink.info.c_str()); in ShGetInfoLog()
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeStateApiTests.cpp | 239 char infoLog[128]; in init() 242 glGetShaderInfoLog(-1, 128, &length[0], &infoLog[0]); in init() 247 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init() 252 glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]); in init() 337 char infoLog[1]; in init() 340 glGetProgramInfoLog (-1, 1, &length[0], &infoLog[0]); in init() 345 glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]); in init() 350 glGetProgramInfoLog (program, -1, &length[0], &infoLog[0]); in init()
|