TL;DR
This paper presents a hardware design for efficiently rasterizing micropolygons (polygons smaller than a pixel), a task that current GPUs handle poorly. They introduce three custom hardware designs that significantly improve performance and power efficiency, especially when rendering effects like motion and defocus blur.
What Problem Does This Paper Address?
Modern graphics rendering often involves creating incredibly detailed scenes using micropolygons, which are polygons smaller than a single pixel. While GPUs have become very good at handling larger polygons, their current rasterization techniques are inefficient for these tiny primitives. This inefficiency becomes even more pronounced when trying to render advanced visual effects like motion blur (simulating fast-moving objects) and defocus blur (simulating the depth of field of a camera lens). These effects require complex sampling and calculations that are computationally expensive, especially when done in software on general-purpose GPU cores. The authors aim to solve this by designing specialized, fixed-function hardware that can rasterize micropolygons efficiently, even with these blur effects.
Methods
The core of the paper is the design and exploration of a hardware rasterizer for micropolygons. They propose a flexible microarchitecture template with several configurable parameters. From this template, they derive three specific designs:
- NOBLUR: Optimized for rendering stationary micropolygons without any blur effects.
- BLUR: Designed to handle micropolygons with both motion and defocus blur.
- HYBRID: A combination of the two, capable of efficiently rendering both blurred and non-blurred micropolygons.
Their approach leverages several key techniques:
- Fixed-Function Hardware: Instead of relying on programmable shaders, they design dedicated hardware units for specific tasks, which is generally more power and area efficient.
- Low-Precision Operations: They found that using lower precision for certain calculations (like sample testing) significantly reduces area and power consumption without a noticeable impact on visual quality.
- Parallelism: The designs exploit parallelism in various ways, including processing pairs of adjacent triangles together (TVP parameter) and parallelizing sample tests (STS parameter).
- Stochastic Sampling: For blur effects, they implement stochastic sampling over time and lens parameters to approximate the rendering integral.
- Physical Design Exploration: They synthesized their designs in a 45nm process and explored the design space by varying parameters like voltage, clock speed, and cell libraries to find Pareto-optimal solutions (designs that offer the best trade-off between performance and power/area).
Datasets
Not discussed in the paper. The evaluation uses synthetic scenes composed of triangles with specific average areas and rendering configurations (e.g., 16x MSAA, N=64 u,v,t tuples).
Key Insights and Ideas
- Micropolygon Rasterization is a Bottleneck: The paper strongly emphasizes that micropolygon rasterization, even without blur, can be a significant bottleneck in modern rendering pipelines, consuming substantial GPU resources.
- Hardware is Key for Efficiency: Performing micropolygon rasterization, especially with blur, in software on general-purpose GPU cores is highly inefficient. Dedicated hardware offers a much better solution for performance and power.
- Processing Triangle Pairs is Better: Rasterizing pairs of triangles simultaneously (TVP parameter) is consistently more efficient than processing individual triangles, offering better sample test efficiency and amortizing costs.
- Reduced Precision Pays Off: Using lower precision for sample testing (e.g., 4.8 bits instead of 14.8 or 22 bits) dramatically reduces the area and power requirements of the rasterizer.
- Blur Effects are Costly, but Manageable: While adding motion and defocus blur significantly increases the hardware cost (area and power), the paper demonstrates that it's still feasible with specialized hardware, offering substantial improvements over software implementations.
- HYBRID Design is Practical: A HYBRID design that can handle both blurred and non-blurred rendering modes is crucial for real-world applications, offering a good balance of performance and efficiency across different scenarios.
Key Results
- NOBLUR Design: A NOBLUR rasterization unit capable of processing 3 billion micropolygons per second would consume 2.9 W and occupy 4.1 mm², representing only 0.77% of a GeForce GTX 480 GPU's die area.
- BLUR Design: For the same throughput, a BLUR design supporting motion and defocus blur would consume 25 W and occupy 36 mm² (6.8% of the GTX 480 die area).
- HYBRID Design: A HYBRID unit supporting both blurred and non-blurred modes at 3 billion micropolygons per second (270 million blurred) would consume 3.9 W and occupy 5.6 mm² (1.0% of the GTX 480 die area).
- Efficiency Gains: The paper shows significant efficiency gains (up to 40% in some cases) by optimizing parameters like triangle pair processing and sample stamp size.
Limitations and Future Work
- Triangle Size Mixture: The current designs are optimized assuming triangles are bounded in area. Real-time systems will need to handle a mixture of large and small triangles, suggesting a need for rasterizers that can efficiently process both.
- Alternative Blur Algorithms: The paper uses a brute-force stochastic sampling approach for blur. Future work could explore alternative algorithms for more accurate camera simulation in real-time.
- Tessellation Integration: The paper assumes that primitives are tessellated into triangles upstream. Further integration with tessellation units could be beneficial.
Summary updated