🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Optimising Shaders with PowerVR GPUs

Started by
0 comments, last by khawk 4 years, 8 months ago

Imagination Technologies has posted a brief tutorial on how to optimize flow control and branching in your shaders for the PowerVR GPU. PowerVR hardware supports flow control in both vertex and fragment shaders by default, without having to explicitly enable any extensions.

The tutorial provides an introduction to flow control using a Gaussian Blur as an example, before providing recommendations for PowerVR GPUs, including:

  • Avoid using discard in conditional branches
  • Avoid sampling textures in conditional branches
  • Try to use branching to skip unnecessary operations

The tutorial also discusses how to optimize shaders for OpenGL ES 3.0 using the GL_EXT_shader_group_vote extension.

Check out the full guide here.


View full story

Admin for GameDev.net.

This topic is closed to new replies.

Advertisement