When I use Mali Offline Compiler to get shader's performance analysis.
But I don't know，Why are there two rendering targets?，render target 0,render target 1.
What do they mean?
The Mali compiler can generate multiple variants of a shader program, giving the run-time driver a choice of multiple shaders with different performance characteristics. In many cases the generic shader which is always safe to use will be slightly slower than a specialized shader, but the specialized shader can only be used if some specific run-time conditions are met.
I've raised a bug report with the engineering team to improve the naming here, as I agree that it is confusing.
Kind regards, Pete
Thank you very much for your reply.
If there are two render targets in the result analysis, does the use of registers add up the two results?
Are the results of channels A, L/S and T added up with those of the following two?
No - the run-time will pick one of the variants at runtime.
Thank you，It helped me a lot.
View all questions in Graphics and Gaming forum