Domain Shading Method for GPU Bandwidth Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Graphics Processing Units (GPUs) experience bandwidth waste, high calculation loads, and increased power consumption due to tessellation operations, which generate numerous primitives that require extensive data processing and storage.

Innovation Solution

Implementing a method for domain shading that analyzes graphics state data to determine whether to perform single-pass or two-pass domain shading, optimizing attribute calculation and primitive generation based on specific conditions such as attribute count, blending operations, and depth values, using a control logic to manage domain shading operations between a CPU and GPU.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If all first primitives are generated through single-pass domain shading, then processing speed is improved, but calculation load and power consumption increase

Engineering Contradiction:
Improveprocessing speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The domain shading process is segmented into two passes: first pass generates all primitives with location attributes, second pass processes only visible primitives. This segmentation divides the calculation load, allowing faster processing in the first pass while reducing power consumption by limiting the second pass to only necessary visible primitives.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The first pass performs preliminary action by generating all primitives with location attributes before visibility determination. This preliminary generation allows the system to identify visible primitives first, then only process attributes for those visible primitives in the second pass, optimizing the balance between speed and power consumption.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If all attributes of first primitives are calculated, then completeness of data is improved, but bandwidth waste and calculation load increase

Engineering Contradiction:
Improvecompleteness of dataVSAvoidbandwidth waste
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the necessary location attributes in the first pass, separating them from other attributes. This extraction allows the system to determine visibility based on location alone, then only calculate and transmit attributes for visible primitives, reducing bandwidth waste while maintaining data completeness for rendered objects.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The first pass performs partial action by calculating only location attributes rather than all attributes. This partial calculation is sufficient for visibility determination, and the excessive action of calculating all attributes is avoided by performing it only for visible primitives in the second pass, reducing overall bandwidth usage.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of energy

If two-pass domain shading is used to remove invisible primitives, then bandwidth usage is reduced, but processing complexity increases

Engineering Contradiction:
Improvebandwidth usageVSAvoidprocessing complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The processing is segmented into two distinct passes with clear separation of functions: first pass handles location calculation and visibility determination, second pass handles attribute calculation for visible primitives. This segmentation manages complexity by organizing operations into logical stages rather than mixing all operations together.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The first pass performs preliminary action by determining visibility of all primitives before attribute calculation. This preliminary visibility determination simplifies the second pass to only processing visible primitives, reducing the complexity of attribute calculation while maintaining the benefit of reduced bandwidth usage.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9552618B2Method for domain shading, and devices operating the same
Publication Date: 2017.01.24 SAMSUNG ELECTRONICS CO LTD
  • US9552618B2 patent drawing
  • US9552618B2 patent drawing
  • US9552618B2 patent drawing

AI summary

A method for domain shading may include analyzing graphics state data, and generating all first primitives through a single-pass domain shading or generating only second primitives which are visible among the first primitives through a two-pass domain shading based on a result of the analysis.