4 ms·
Gaming doesn't really have SIMD or FP at all though, does it?
by celrod 6y ago
Gaming doesn't really have SIMD or FP at all though, does it?
- zamalek 6y agoCouldn't be further from the truth. Rasterization is all linear algebra. That being said, you don't really see games with the likes of AVX-512.
- moonchild 6y agoThat all happens on the GPU. There's a tiny (trivial) amount of linalg on the CPU and the rest is punted to shaders.
- zamalek 6y agoIt's not always trivial, especially if any computational geometry is being done (read: any game with a landscape).
- floatboth 6y agoPhysics are still often CPU, though I guess sometimes on compute shaders by now? Then there's bad engines, e.g. Fallout 4 seems like it might be calculating some part of the shadows on the CPU…
- sharpneli 6y agoPlenty of it. Going trough the transform hierarchy (tons of 4x4 matrix multiplications which definitely are vectorized) and then the physics simulations, and that’s just part of it.
- anfilt 6y agoFloating point yes, but SIMD depends.