I just took the updated KHR_debug support in PowerVR SDK 3.5 (PVRVFrame + PVRTrace) for a spin. Thanks for the updates here!
I do get debug markers showing up in my GL stream, but the string is truncated in PVRTraceGUI greatly reducing its utility.
For example, this:
[pre]glDebugMessageInsert[
GL_DEBUG_SOURCE_APPLICATION_KHR,
GL_DEBUG_TYPE_MARKER_KHR, 100,
GL_DEBUG_SEVERITY_NOTIFICATION_KHR,
-1, “TerrainRenderer::PrepareTaskBuildingShadows” ];[/pre]
ends up being displayed as:
[pre]glDebugMessageInsert[ 0x824A, 0x8268, 100, 0x826B, -1, “TerrainRenderer::Prepare…” ][/pre]
The string is just truncated so if you need the rest to disambiguate or get parameters that you’ve placed into the string (material name/index, view index, etc.), you’re somewhat out of luck.
It looks like the entire string is being serialized by PVRTrace to the .pvrt file. So is there a way to change how much of the string is displayed in PVRTraceGUI?
Thanks.