Gradient-Based Cube Mapping With Selective Precision

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current graphics processing systems perform redundant calculations for texture address generation and cube mapping, leading to increased hardware requirements and power consumption, particularly in space-constrained and battery-powered devices.

Innovation Solution

Implement a method and hardware logic to determine whether a first or second mode of texture address generation or cube mapping is needed based on gradients, performing calculations at different precisions for subsets of fragments, and adjusting the processing time accordingly, allowing for reduced hardware and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If calculations are performed at high precision for all fragments, then texture address generation accuracy is improved, but hardware size and power consumption increase

Engineering Contradiction:
Improvetexture address generation accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by performing high-precision calculations only for specific fragments that require it (e.g., fragments with high gradient values or at critical positions), while using lower precision for other fragments. This selective approach maintains necessary accuracy in critical areas while reducing overall computational load and power consumption across the entire fragment processing pipeline.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent dynamically changes the precision parameter based on fragment characteristics such as gradient magnitude, position in the primitive, or other criteria. By adjusting the precision parameter adaptively rather than using a fixed high precision for all fragments, the system achieves good texture address generation accuracy where needed while minimizing power consumption for fragments that don't require high precision.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If calculations are performed at high precision for all fragments, then texture address generation accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvetexture address generation accuracyVSAvoidhardware requirements
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements local quality by creating different processing paths or modes for different fragments within the same primitive. High-precision calculation units are activated only when needed based on fragment analysis, allowing the hardware to maintain accuracy capability without permanently allocating complex high-precision resources for every fragment, thus reducing overall device complexity.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic operation modes that switch between high-precision and low-precision calculation based on real-time fragment characteristics. This dynamic approach allows the hardware to adapt its complexity level to the actual processing needs, avoiding the permanent overhead of always-active high-precision hardware while maintaining accuracy when required.

Inventive Principle:
Principle #15Dynamics

3Use of energy by moving object

If mode determination based on gradients is implemented, then power consumption is reduced, but processing time increases due to gradient calculation

Engineering Contradiction:
Improvepower consumptionVSAvoidprocessing time
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

The patent performs gradient calculation as a preliminary action early in the processing pipeline, before the main texture address generation. By computing gradients upfront and using them to determine the appropriate processing mode, the system avoids the need for more complex real-time precision determination during the main calculation phase, ultimately reducing total processing time despite the initial gradient computation overhead.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent calculates gradients for all fragments (excessive action) but only uses this information to optimize processing for a subset of fragments that actually benefit from high precision. This partial optimization approach allows the system to invest minimal effort in gradient calculation while gaining significant power efficiency benefits for the critical fragments without unnecessarily processing all fragments at high cost.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250252618A1Cube Mapping Using Gradients of an Input Block of Fragments
Publication Date: 2025.08.07 IMAGINATION TECH LTD
  • US20250252618A1 patent drawing
  • US20250252618A1 patent drawing
  • US20250252618A1 patent drawing

AI summary

Methods and hardware for cube mapping comprise receiving fragment coordinates for an input block of fragments and texture instructions for the fragments and then determining, based on gradients of the input block of fragments, whether a first mode of cube mapping or a second mode of cube mapping is to be used, wherein the first mode of cube mapping performs calculations at a first precision for a subset of the fragments and calculations for remaining fragments at a second, lower, precision and the second mode of cube mapping performs calculations for all fragments at the first precision. Cube mapping is then performed using the determined mode and the gradients, wherein if the second mode is used and more than half of the fragments in the input block are valid, the cube mapping is performed over two clock cycles.