Re:Faster arithmetic by flipping signs
by Asooka on Friday May 10, 2019 @08:41AM
(#19877151)
You'll need to examine the binary generated for a particular architecture by the driver. It may work on one driver+GPU combination, but be slower on another. Also, the semantics for floating-point math are somewhat looser in GLSL so the driver is given more power to reorder expressions and might exploit this trick on its own. As usual, you should profile and benchmark.
[ Parent
| on HN ]
There are no comments on this comment yet.