This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mali Offline Compiler Result analysis

Hello everyone,

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?

Parents
  • Hi Shengteng, 

    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

Reply
  • Hi Shengteng, 

    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

Children