Optimizing

Developers can see our ray tracing best practices to learn more about how to optimize ray tracing content.

Arm Performance Studio provides developers with a set of tools to help you ensure everything works correctly and efficiently:

  • RenderDoc for Arm GPUs , with support for Ray Query, can help you debug your effects.

  • Streamline Performance Analyzer contains useful counters to optimize your ray tracing content, and verify you have a coherent and efficient ray traversal.

  • Mali Offline Compiler is an extremely useful tool. It is recommended that you use it to check the behavior of your ray tracing shaders. For ray tracing, it is important to ensure that ray traversal is hardware accelerated and not emulated.

See the Arm Performance Studio learning path for more information about these tools.

On some occasions, like conditionally evaluating Ray Query, Arm GPUs are not able to use the ray tracing hardware and will instead use a slower solution using software emulation. Mali Offline compiler can help to detect this problem. Check that your shaders do not produce this line Has slow ray traversal: true. Proper hardware ray tracing should show this line Has slow ray traversal: false.

Back
Next