Texel Overlap Detection Using XOR Masking for Cache Line Fetching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In graphics processing systems, existing methods fail to efficiently identify and fetch texels that overlap in the same cache line, leading to suboptimal texture mapping performance due to limitations in determining whether texel groups' position coordinates are equal or differ by only one.

Innovation Solution

A method and apparatus that determine whether pairs of texel groups overlap by comparing their position coordinates, using a process that excludes the least significant bits, performs XOR operations, and generates mask values to assess overlap, allowing for efficient selection and fetching of texels within the same cache line.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional comparison methods are used to determine whether texel groups overlap, then measurement precision is maintained, but device complexity and processing time increase

Engineering Contradiction:
Improveaccuracy of texel overlap detectionVSAvoidcomplexity of comparison circuitry
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the texel group identification process into distinct stages: generating candidate texel groups based on position coordinates, filtering candidates using overlap detection criteria, and selecting final texel groups. This segmentation allows complex comparisons to be broken into simpler, more manageable operations that reduce overall system complexity while maintaining precision

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary filtering of texel group candidates before final selection by pre-evaluating position coordinate relationships. By identifying and eliminating non-overlapping candidates in advance using simplified criteria, the system reduces the burden on final comparison operations, thereby reducing device complexity while preserving measurement accuracy

Inventive Principle:
Principle #10Preliminary action

2Productivity

If all texel groups are fetched in every cycle to ensure complete texture data, then productivity is improved, but use of energy and processing complexity increase

Engineering Contradiction:
Improvetexture mapping throughputVSAvoidenergy consumption of texel fetching
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent implements partial action by fetching only the necessary subset of texel groups required for the current rendering operation. Instead of fetching all possible texel groups, the system calculates exactly which texel groups are needed based on the geometry and texture coordinates, fetching only those specific groups. This partial fetching approach maintains high productivity by ensuring all necessary data is available while significantly reducing energy consumption compared to fetching all texel groups

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameter of texel group selection from a fixed comprehensive set to a dynamic variable set based on rendering requirements. By adjusting which texel groups are fetched based on current scene geometry, texture coordinates, and overlap relationships, the system optimizes energy usage while maintaining throughput by ensuring the right data is fetched with minimal redundancy

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If position coordinates are compared bit-by-bit including least significant bits, then measurement precision is maintained, but processing time and device complexity increase

Engineering Contradiction:
Improveprecision of coordinate comparisonVSAvoidtime for coordinate comparison
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts and removes the least significant bits from position coordinate comparisons when determining texel group overlap. By taking out these less critical bits that contribute minimally to overlap detection accuracy, the system performs comparisons on fewer bits, significantly reducing processing time and device complexity while maintaining sufficient measurement precision for the overlap detection task

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10726607B1Data processing systems
Publication Date: 2020.07.28 ARM LTD
  • US10726607B1 patent drawing
  • US10726607B1 patent drawing
  • US10726607B1 patent drawing

AI summary

To determine whether a first n-bit binary data value and a second n-bit binary data value in a data processing system, such as texel position coordinates in a graphics processing system, are the same or differ from each other by exactly one, it is determined whether the first and second data values excluding the least significant bits of the data values are the same as each other, and the least significant bits of the data values are compared. A mask value that is generated for each data value using an XOR operation and a thermometer scanning operation is used to generate an output value for the two data values, based on whether the mask values for a bit position for the first and second data values are both set or not, and a comparison of the bit values of the first and second data values for that bit position.