mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 00:10:31 +02:00
TestBoundingBoxFast transformed and tested one vertex per iteration, with a scalar divide and a min/max chain each vertex had to wait on. It now transposes four vertices into lanes and does it all as vectors, with the same operations in the same order, so the results don't change. It was 16.6% of the emulator thread in Wipeout Pure (with depth raster off) and 5% in GTA: Vice City Stories. Per vertex, it's 1.8x faster on an M1, 2x on x86-64, 1.7x on a Galaxy S8+ and 10% faster in 32-bit mode there. The test compares it with the old version on random draws in every position and index format. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>