## September 02, 2015

Download my customized QXProfilerControlsCS.dll Put this in C:\Program Files\Qualcomm\Adreno Profiler, or any other path for your installation.

Recently I found an interesting bug with Adreno Profiler: this cannot work correctly with glVertexAttribPointer(indx=2, size=4, type=GL_HALF_FLOAT_OES, normalized=False, stride=32, ptr=0xC). For example, texcoords in half type are presented as strange numbers:

I tried to seek help from developers’ forum but got no response yet. After two days’ part time work, I solved this bug by myself.

Since I have no access to the source code, I have to decompile it with ILSpy. The key codes can be found in QXProfilerControlsCS.dll. I replace the implemention for public static float HalfToFloat(uint half) in StateDataStoreHelper.cs with codes from CShart Half. (In fact, I’ve got no idea what does the original code mean…)

Also, I improve the Save Vertex Data button so the exported model file can be imported into other tools directly. At the same time, some more codes for checking are added, because I’ve encountered several crashes when saving vertex data.

2015.10.17: Add support for alpha channel. Just save texture as PNG :D

Updated on