3 ms·
This shouldn't be a surprise to anyone who's worked on mobile GPUs, no one uses conditionals in shader code since the performance hit is gnarly(and used to be e
by vvanders 10y ago
This shouldn't be a surprise to anyone who's worked on mobile GPUs, no one uses conditionals in shader code since the performance hit is gnarly(and used to be even worse before branching support). It's a fairly uncommon code path.
As far as these go they aren't that bad, I've seen a highly regarded vendor's shader compiler die and bring down the whole Android stack which resulted in insta-reboot.
If it isn't in the rendering path for Android(HWUI) or Chrome then it's best to tread carefully on mobile GPUs.