Multi-Precision Ray-Primitive Intersection for Faster Ray Tracing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing in graphics processing is computationally expensive due to the large number of primitive intersection tests, which can be improved by reducing the computational expense through the use of reduced-precision tests before higher-precision tests.

Innovation Solution

Performing a conservative reduced-precision primitive test followed by a higher-precision test to determine actual hits, using error bounds calculation and quantized representations to reduce computational complexity and resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If higher-precision primitive intersection tests are performed for all rays, then measurement precision is improved, but computational expense increases

Engineering Contradiction:
Improveintersection test precisionVSAvoidcomputational expense
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The intersection testing process is segmented into two distinct stages: a reduced-precision conservative test that quickly eliminates non-intersecting rays, followed by a higher-precision test that accurately determines intersections for remaining candidate rays. This segmentation allows the system to apply different precision levels appropriately, reducing overall computational expense while maintaining measurement precision where necessary.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the precision parameter of the intersection test dynamically. Initially, a reduced-precision test is performed with relaxed accuracy requirements to quickly filter out non-intersecting rays. Then, for rays that pass the conservative test, the precision parameter is increased to perform an accurate intersection determination. This parameter change strategy optimizes the balance between computational expense and measurement precision.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If reduced-precision tests are used to reduce computational expense, then productivity is improved, but measurement precision deteriorates

Engineering Contradiction:
Improveray tracing performanceVSAvoidintersection test accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

A reduced-precision conservative test is performed as a preliminary action before the higher-precision intersection test. This preliminary test uses error bounds calculation to determine if a ray could possibly intersect a primitive, eliminating clearly non-intersecting rays without requiring full precision calculations. This preliminary filtering action improves productivity while the subsequent high-precision test ensures measurement precision is maintained for candidate intersections.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Error bounds calculation serves as an intermediary mechanism between the reduced-precision conservative test and the higher-precision intersection test. The error bounds provide a mathematical guarantee that the conservative test will not incorrectly reject valid intersections, thus maintaining measurement precision while enabling the productivity benefits of reduced-precision filtering.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If conservative reduced-precision tests with error bounds are performed, then device complexity is reduced, but reliability may be affected

Engineering Contradiction:
Improvecomputational complexityVSAvoidintersection test reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

Error bounds are calculated beforehand to cushion against the reduced precision of the conservative test. These pre-calculated error bounds provide a safety margin that ensures the conservative test will not incorrectly reject valid intersections due to precision limitations. This beforehand cushioning maintains intersection test reliability while allowing the use of simpler, reduced-precision computational methods.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS12524862B2Primitive testing for ray intersection at multiple precisions
Publication Date: 2026.01.13 APPLE INC
  • US12524862B2 patent drawing
  • US12524862B2 patent drawing
  • US12524862B2 patent drawing

AI summary

Techniques are disclosed relating to testing whether a ray intersects a graphics primitive, e.g., for ray tracing. In some embodiments, intersection circuitry performs a reduced-precision conservative intersection test and shader circuitry performs an original-precision intersection test if the intersection circuitry indicates a hit. The intersection circuitry may quantize the ray (and may quantize the primitive or may receive a quantized representation of the primitive). The intersection circuitry then determines an intersection result for the reduced-precision test based on the quantized primitive data and quantized ray data. In various embodiments, disclosed techniques may improve performance or reduce power consumption by reducing the number of original-precision intersection tests that do not result in hits.