Domain Shading Method for GPU Bandwidth Optimization
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Reliability
If all attributes of first primitives are calculated, then completeness of data is improved, but bandwidth waste and calculation load increase
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.
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.
3Loss of energy
If two-pass domain shading is used to remove invisible primitives, then bandwidth usage is reduced, but processing complexity increases
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.
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.
Data Source
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.


