blog.ruofeidu.com
Estimated Cost of Per Atom Function in Real-time Shaders on the GPU - Fusing Data and AI into VR
I have created a grouped list of estimated cost of instructions according to this Chinese reference. This may not be accurate, but is mostly correct from my experience. Some intuitions are: Abs, saturate are free (Why is clamp in GLSL not free? I doubt it) Log, exp, sqrt are almost free! (That’s why Kernel Foveated Rendering... Read More