Kaydet (Commit) 01a4949d authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ignore aggressive Nvidia GLSL compiler error messages

Change-Id: Ifc83bd3fb1d0fcbc8056c72b2545a8a3aed00a64
üst f61e453f
......@@ -333,6 +333,11 @@ APIENTRY
debug_callback(GLenum source, GLenum type, GLuint id,
GLenum severity, GLsizei , const GLchar* message, GLvoid* )
{
// ignore Nvidia's : "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches."
// the GLSL compiler is a bit too aggressive in optimizing the state based on the current OpenGL state
if (id == 131218)
return;
SAL_WARN("vcl.opengl", "OpenGL debug message: source: " << getSourceString(source) << ", type: "
<< getTypeString(type) << ", id: " << id << ", severity: " << getSeverityString(severity) << " with message: " << message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment