Daily Pathtracer part 8, where I'm learning more SIMD, and add more spheres to the test scene. http://aras-p.info/blog/2018/04/11/Daily-Pathtracer-8-SSE-HitSpheres/
@aras Really enjoying the series - I started on a SIMD version of my own last night. One thing that I'm trying is replacing the 3 mults + 2 adds when computing dot products with 2 fmadd + 1 mult instructions. I haven't compared speed yet though - it might pipeline worse, cancelling out any advantage.
Game development! Discussions about game development and related fields, and/or by game developers and related professions.