/external/angle/src/libANGLE/ |
D | Program_unittest.cpp | 21 InfoLog infoLog; in TEST() local 22 EXPECT_EQ(0u, infoLog.getLength()); in TEST() 23 infoLog << " "; in TEST() 26 EXPECT_EQ(3u, infoLog.getLength()); in TEST() 32 InfoLog infoLog; in TEST() local 33 EXPECT_EQ(0u, infoLog.getLength()); in TEST() 34 infoLog << ""; in TEST() 37 EXPECT_EQ(0u, infoLog.getLength()); in TEST() 43 InfoLog infoLog; in TEST() local 45 infoLog << "First" << 1 << 'x'; in TEST() [all …]
|
D | ProgramLinkedResources.h | 58 InfoLog &infoLog, 66 bool validateGraphicsUniforms(InfoLog &infoLog) const; 75 InfoLog &infoLog); 77 bool flattenUniformsAndCheckCaps(const Caps &caps, InfoLog &infoLog); 78 bool checkMaxCombinedAtomicCounters(const Caps &caps, InfoLog &infoLog); 80 bool indexUniforms(InfoLog &infoLog, const ProgramAliasedBindings &uniformLocationBindings); 82 InfoLog &infoLog, 266 bool LinkValidateProgramGlobalNames(InfoLog &infoLog, const HasAttachedShaders &programOrPipeline); 274 InfoLog &infoLog); 278 InfoLog &infoLog); [all …]
|
D | ProgramLinkedResources.cpp | 93 InfoLog &infoLog) in ValidateGraphicsUniformsPerShader() argument 108 LogLinkMismatch(infoLog, uniform.name, "uniform", linkError, in ValidateGraphicsUniformsPerShader() 227 InfoLog &infoLog) in LogUniformsExceedLimit() argument 229 infoLog << GetShaderTypeString(shaderType) << " shader " in LogUniformsExceedLimit() 750 gl::InfoLog &infoLog) in DoShaderVariablesMatch() argument 782 LogLinkMismatch(infoLog, input.name, "varying", linkError, mismatchedStructFieldName, in DoShaderVariablesMatch() 808 InfoLog &infoLog, in link() argument 815 if (!validateGraphicsUniforms(infoLog)) in link() 823 if (!flattenUniformsAndCheckCaps(caps, infoLog)) in link() 828 if (!checkMaxCombinedAtomicCounters(caps, infoLog)) in link() [all …]
|
D | ProgramPipeline.cpp | 528 InfoLog &infoLog = mState.mExecutable->getInfoLog(); in link() local 529 infoLog.reset(); in link() 531 if (!linkVaryings(infoLog)) in link() 536 if (!LinkValidateProgramGlobalNames(infoLog, *this)) in link() 577 bool ProgramPipeline::linkVaryings(InfoLog &infoLog) const in linkVaryings() 596 executable.getLinkedShaderVersion(shaderType), true, infoLog)) in linkVaryings() 620 fragmentExecutable.getLinkedShaderVersion(ShaderType::Fragment), infoLog); in linkVaryings() 627 InfoLog &infoLog = mState.mExecutable->getInfoLog(); in validate() local 628 infoLog.reset(); in validate() 641 infoLog << shaderInfoString << "\n"; in validate() [all …]
|
D | Program.cpp | 275 void LogInterfaceBlocksExceedLimit(InfoLog &infoLog, in LogInterfaceBlocksExceedLimit() argument 280 infoLog << GetShaderTypeString(shaderType) << " shader " in LogInterfaceBlocksExceedLimit() 290 InfoLog &infoLog) in ValidateInterfaceBlocksCount() argument 300 LogInterfaceBlocksExceedLimit(infoLog, shaderType, blockType, maxInterfaceBlocks); in ValidateInterfaceBlocksCount() 529 InfoLog &infoLog) in ValidateGraphicsInterfaceBlocksPerShader() argument 544 LogLinkMismatch(infoLog, block.name, GetInterfaceBlockTypeString(block.blockType), in ValidateGraphicsInterfaceBlocksPerShader() 559 void LogAmbiguousFieldLinkMismatch(InfoLog &infoLog, in LogAmbiguousFieldLinkMismatch() argument 566 infoLog << "Ambiguous field '" << fieldName << "' in blocks '" << blockName1 << "' (" in LogAmbiguousFieldLinkMismatch() 575 InfoLog &infoLog) in ValidateInstancelessGraphicsInterfaceBlocksPerShader() argument 594 LogAmbiguousFieldLinkMismatch(infoLog, block.name, linkedBlock.name, field.name, in ValidateInstancelessGraphicsInterfaceBlocksPerShader() [all …]
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 82 m_info.infoLog.clear(); in compile() 116 std::vector<char> infoLog(infoLogLen + 3, '\0'); in compile() local 119 m_gl.getShaderInfoLog(m_shader, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in compile() 121 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in compile() 124 m_info.infoLog = std::string(&infoLog[0], infoLog.size()); in compile() 129 m_info.infoLog = std::string(&infoLog[0]); in compile() 140 m_info.infoLog.clear(); in specialize() 174 std::vector<char> infoLog(infoLogLen + 3, '\0'); in specialize() local 177 m_gl.getShaderInfoLog(m_shader, (int)infoLog.size() - 1, &unusedLen, &infoLog[0]); in specialize() 180 if (infoLog[(int)(infoLog.size()) - 1] != '\0') in specialize() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cPostDepthCoverageTests.cpp | 152 …etLog() << tcu::TestLog::Message << "Vertex: " << program1.getShaderInfo(SHADERTYPE_VERTEX).infoLog in iterate() 154 << "Fragment: " << program1.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 155 << "Program: " << program1.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in iterate() 166 …etLog() << tcu::TestLog::Message << "Vertex: " << program2.getShaderInfo(SHADERTYPE_VERTEX).infoLog in iterate() 168 << "Fragment: " << program2.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 169 << "Program: " << program2.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in iterate() 179 …etLog() << tcu::TestLog::Message << "Vertex: " << program3.getShaderInfo(SHADERTYPE_VERTEX).infoLog in iterate() 181 << "Fragment: " << program3.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate() 182 << "Program: " << program3.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in iterate() 192 …etLog() << tcu::TestLog::Message << "Vertex: " << program4.getShaderInfo(SHADERTYPE_VERTEX).infoLog in iterate() [all …]
|
/external/angle/src/tests/test_utils/ |
D | compiler_test.cpp | 70 std::string *infoLog) in compileTestShader() argument 88 if (infoLog) in compileTestShader() 90 *infoLog = infoSink.info.c_str(); in compileTestShader() 102 std::string *infoLog) in compileTestShader() argument 107 translatedCode, infoLog); in compileTestShader() 137 std::string infoLog; in compile() local 141 compileWithSettings(code.first, shaderString, compileOptions, &code.second, &infoLog); in compile() 144 FAIL() << "Shader compilation failed:\n" << infoLog; in compile() 153 std::string *infoLog) in compileWithSettings() argument 156 compileOptions, translatedCode, infoLog); in compileWithSettings()
|
D | compiler_test.h | 33 std::string *infoLog); 41 std::string *infoLog); 99 std::string *infoLog);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Shader.cpp | 94 if(infoLog.empty()) in getInfoLogLength() 100 return infoLog.size() + 1; in getInfoLogLength() 110 if(!infoLog.empty()) in getInfoLog() 112 index = std::min(bufSize - 1, (GLsizei)infoLog.size()); in getInfoLog() 113 memcpy(infoLogOut, infoLog.c_str(), index); in getInfoLog() 166 infoLog += "GLSL compiler failed to initialize.\n"; in createCompiler() 201 infoLog.clear(); in clear() 253 infoLog += compiler->getInfoSink().info.c_str(); in compile() 259 TRACE("\n%s", infoLog.c_str()); in compile()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkSpirVAsm.cpp | 91 …buildInfo->infoLog = diagnostic? diagnostic->error : ""; // \todo [2015-07-13 pyry] Include debu… in assembleSpirV() 150 bool validateSpirV (size_t binarySizeInWords, const deUint32* binary, std::ostream* infoLog, const … in validateSpirV() argument 195 *infoLog << "Validation " << (passed ? "PASSED: " : "FAILED: "); in validateSpirV() 202 *infoLog << diagnostic->error << "\n"; in validateSpirV() 209 *infoLog << "Disassembly failed with code: " << de::toString(disasmResult) << "\n"; in validateSpirV() 212 *infoLog << disasmText->str << "\n"; in validateSpirV()
|
/external/angle/src/libANGLE/renderer/gl/ |
D | ShaderGL.cpp | 67 using PostTranslateFunctor = std::function<bool(std::string *infoLog)>; 84 bool postTranslate(std::string *infoLog) override in postTranslate() argument 91 return mPostTranslateFunctor(infoLog); in postTranslate() 123 bool postTranslate(std::string *infoLog) override { return mPostTranslateFunctor(infoLog); } in postTranslate() argument 143 bool postTranslate(std::string *infoLog) override { return mPostTranslateFunctor(infoLog); } in postTranslate() argument 384 auto postTranslateFunctor = [this](std::string *infoLog) { in compile() argument 387 *infoLog = mInfoLog; in compile()
|
/external/angle/util/ |
D | shader_utils.cpp | 160 std::vector<GLchar> infoLog(infoLogLength); in CompileShader() local 161 glGetShaderInfoLog(shader, static_cast<GLsizei>(infoLog.size()), nullptr, &infoLog[0]); in CompileShader() 162 std::cerr << "shader compilation failed: " << &infoLog[0]; in CompileShader() 208 std::vector<GLchar> infoLog(infoLogLength); in CheckLinkStatusAndReturnProgram() local 209 glGetProgramInfoLog(program, static_cast<GLsizei>(infoLog.size()), nullptr, in CheckLinkStatusAndReturnProgram() 210 &infoLog[0]); in CheckLinkStatusAndReturnProgram() 212 std::cerr << "program link failed: " << &infoLog[0]; in CheckLinkStatusAndReturnProgram()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | ProgramMtl.h | 68 gl::InfoLog &infoLog) override; 75 gl::InfoLog &infoLog, 77 GLboolean validate(const gl::Caps &caps, gl::InfoLog *infoLog) override; 143 gl::InfoLog &infoLog, 217 gl::InfoLog &infoLog); 222 gl::InfoLog &infoLog); 227 gl::InfoLog &infoLog); 231 gl::InfoLog &infoLog);
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | shader.c | 30 char *infoLog; in printShaderLog() local 32 infoLog = malloc(infoLogSize); in printShaderLog() 33 glGetShaderInfoLog(shader, infoLogSize, &infoWritten, infoLog); in printShaderLog() 34 fprintf(stderr, "Error: glCompileShader failed: %s\n", infoLog); in printShaderLog() 35 free(infoLog); in printShaderLog()
|
/external/angle/src/tests/compiler_tests/ |
D | EmulateGLDrawID_test.cpp | 31 std::string infoLog; in CheckCompileFailure() local 34 SH_VARIABLES, &translatedCode, &infoLog); in CheckCompileFailure() 38 EXPECT_TRUE(infoLog.find(expectedError) != std::string::npos); in CheckCompileFailure()
|
D | EmulateGLBaseVertexBaseInstance_test.cpp | 31 std::string infoLog; in CheckCompileFailure() local 34 SH_VARIABLES, &translatedCode, &infoLog); in CheckCompileFailure() 38 EXPECT_TRUE(infoLog.find(expectedError) != std::string::npos); in CheckCompileFailure()
|
D | UnrollFlatten_test.cpp | 31 std::string infoLog; in compile() local 34 SH_VARIABLES, &mTranslatedSource, &infoLog); in compile() 37 FAIL() << "Shader compilation failed " << infoLog; in compile()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.h | 215 gl::InfoLog &infoLog) override; 222 gl::InfoLog *infoLog); 227 gl::InfoLog *infoLog); 230 gl::InfoLog *infoLog); 233 gl::InfoLog *infoLog); 236 gl::InfoLog &infoLog, 238 GLboolean validate(const gl::Caps &caps, gl::InfoLog *infoLog) override; 501 gl::InfoLog &infoLog); 503 gl::InfoLog &infoLog); 507 gl::InfoLog &infoLog);
|
D | ProgramD3D.cpp | 884 LoadBinaryTask(ProgramD3D *program, gl::BinaryInputStream *stream, gl::InfoLog &infoLog) in LoadBinaryTask() argument 924 gl::InfoLog &infoLog) in LoadBinaryLinkEvent() argument 925 : mTask(std::make_shared<ProgramD3D::LoadBinaryTask>(program, stream, infoLog)), in LoadBinaryLinkEvent() 953 gl::InfoLog &infoLog) in load() argument 967 infoLog << "Invalid program binary, device configuration has changed."; in load() 974 infoLog << "Mismatched compilation flags."; in load() 1037 infoLog << "Invalid program binary."; in load() 1055 infoLog << "Invalid program binary."; in load() 1077 infoLog << "Invalid program binary."; in load() 1104 infoLog << "Invalid program binary."; in load() [all …]
|
/external/angle/src/libANGLE/renderer/gl/glx/ |
D | RendererGLX.cpp | 24 WorkerContext *RendererGLX::createWorkerContext(std::string *infoLog) in createWorkerContext() argument 26 return mDisplay->createWorkerContext(infoLog); in createWorkerContext()
|
/external/angle/src/libANGLE/renderer/gl/cgl/ |
D | RendererCGL.cpp | 26 WorkerContext *RendererCGL::createWorkerContext(std::string *infoLog) in createWorkerContext() argument 28 return mDisplay->createWorkerContext(infoLog); in createWorkerContext()
|
/external/angle/src/libANGLE/renderer/gl/eagl/ |
D | RendererEAGL.cpp | 27 WorkerContext *RendererEAGL::createWorkerContext(std::string *infoLog) in createWorkerContext() argument 29 return mDisplay->createWorkerContext(infoLog); in createWorkerContext()
|
/external/angle/src/libANGLE/renderer/gl/egl/ |
D | RendererEGL.cpp | 41 WorkerContext *RendererEGL::createWorkerContext(std::string *infoLog) in createWorkerContext() argument 43 return mDisplay->createWorkerContext(infoLog, mContext, mAttribs); in createWorkerContext()
|
/external/angle/src/libANGLE/renderer/gl/wgl/ |
D | RendererWGL.cpp | 42 WorkerContext *RendererWGL::createWorkerContext(std::string *infoLog) in createWorkerContext() argument 44 return mDisplay->createWorkerContext(infoLog, mSharedContext, mWorkerContextAttribs); in createWorkerContext()
|