Patched GPU Shading via Mode Switching for API Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Certain GPUs are unable to support expanded rendering pipelines due to hardware and software restrictions, limiting their ability to perform multiple shading operations, which results in compatibility issues with modern APIs and increased power consumption and memory bus bandwidth usage.

Innovation Solution

Merging the functions of shading units within a GPU to enable them to perform multiple shading operations, such as vertex and geometry shading, by transitioning between operational modes and adhering to input/output interfaces, thereby emulating a GPU with more shading resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a GPU implements a unified shader architecture with limited shading units, then device complexity is reduced and power consumption decreases, but the GPU cannot support expanded rendering pipelines with multiple shading operations

Engineering Contradiction:
Improvesupport for expanded rendering pipelinesVSAvoidshading unit configuration
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a unified shader architecture where a single type of shading unit performs multiple shading operations (vertex shading, geometry shading, pixel shading) by dynamically switching between different operational modes. This multi-functionality allows the GPU to support expanded rendering pipelines without requiring separate dedicated hardware units for each shading operation, thereby maintaining device simplicity while increasing adaptability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The shading units dynamically transition between different operational modes (vertex shader mode, geometry shader mode, pixel shader mode) based on the current rendering pipeline requirements. This dynamic reconfiguration enables the same hardware resources to adapt to different pipeline configurations, resolving the contradiction between limited hardware resources and the need to support expanded pipelines.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If separate hardware units are provided for each shading operation, then shading resource capacity increases, but power consumption and memory bus bandwidth usage increase

Engineering Contradiction:
Improveshading operation capacityVSAvoidpower consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent merges multiple shading operations into a single unified shader architecture, consolidating vertex shading, geometry shading, and pixel shading capabilities into shared hardware resources. This consolidation eliminates the need for multiple separate hardware units, thereby reducing power consumption and memory bus bandwidth usage while maintaining the capacity to perform all required shading operations through dynamic mode switching.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If a GPU lacks dedicated geometry shading units, then device complexity and power consumption are reduced, but compatibility with modern APIs requiring geometry shading operations is lost

Engineering Contradiction:
ImproveAPI compatibilityVSAvoidhardware configuration
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The unified shading units are designed to universally handle multiple shading operation types including geometry shading, by implementing a mode-switching mechanism. When geometry shading operations are required for API compatibility, the shading units transition to geometry shader mode, enabling the GPU to maintain compatibility with modern APIs without requiring dedicated geometry shading hardware, thus avoiding increased device complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentEP2834792B1Patched shading in graphics processing
Publication Date: 2025.09.03 QUALCOMM INC
  • EP2834792B1 patent drawingFigure 1
  • EP2834792B1 patent drawingFigure 2
  • EP2834792B1 patent drawingFigure 3A~3B

AI summary

Aspects of this disclosure relate to a process for rendering graphics that includes performing, with a hardware unit of a graphics processing unit (GPU) designated for vertex shading, a vertex shading operation to shade input vertices so as to output vertex shaded vertices, wherein the hardware unit adheres to an interface that receives a single vertex as an input and generates a single vertex as an output. The process also includes performing, with the hardware unit of the GPU designated for vertex shading, a hull shading operation to generate one or more control points based on one or more of the vertex shaded vertices, wherein the one or more hull shading operations operate on at least one of the one or more vertex shaded vertices to output the one or more control points.