Skip to content

Comment on Michael Abrash's Graphics Programming Black Book

Comments

Michael wrote an article about quake once that described the inner loop optimization of the software renderer. I recall he was computing a dot product or something that was used over an 8 pixel span. The hack was that he started an fpu divide and then got useful work done on the integer pipeline without a stall, perfectly timing out when the fpu would have his value ready. What a brilliant hack. I recall the satisfaction of knowing so much secret knowledge. :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.