Back to projects

Technical project

Optimized Software Rasterizer

CPU rasterizer optimization using pipeline improvements, eight-pixel SIMD shading, tile scheduling, and a custom thread pool.

Project overview

Focus
CPU Rendering Performance
Language
C++
Optimization
AVX SIMD / Multithreading
Result
Roughly 2-4x over baseline
01

Key work

  1. 01

    Added vertex cache, pre-normalized lighting, Early-Z, backface and frustum culling.

  2. 02

    Vectorized eight-pixel shading and lighting with AVX SIMD.

  3. 03

    Implemented tile-based rendering through a custom thread pool and compared FPS, P99 latency, and speedup.

View all projects