The KHR-GL45.khr_debug.receiveing_messages checks that only expected
messages are recorded so it should ignore spurious performance
messages that can be injected by drivers and mess up the expected
message counts.
Components: OpenGL
VK-GL-CTS issue: 394
Affects:
KHR-GL45.khr_debug.receiveing_messages
Change-Id: Iee24cb5d6de3d2c6311dc96da312540512dc2173
}
/*
+ * Ignore spurious performance messages
+ */
+ m_gl->debugMessageControl(GL_DONT_CARE /* source */, GL_DEBUG_TYPE_PERFORMANCE /* type */,
+ GL_DONT_CARE /* severity */, 0 /* counts */, 0 /* ids */, GL_FALSE /* enabled */);
+
+ /*
* - insert a message with DebugMessageInsert;
* - inspect message log to check if the message is reported;
* - inspect message log again, there should be no messages;