Variable Fragment Shading with Dynamic Buffer Recasting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional shading techniques face challenges in balancing processing performance and image quality, particularly in efficiently handling graphics primitive fragments across different sampling modes and shading rates, leading to inefficiencies and reduced performance.

Innovation Solution

The system dynamically adjusts the sampling mode and shading rate for each graphics primitive fragment, allowing for recasting of the target buffer to optimize resource utilization and reduce unnecessary processing, thereby improving performance and maintaining image quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If super-sample shading techniques are used to compute a color for every sample in a fragment, then image quality with anti-aliased edges and anti-aliased shading is improved, but processing frame rate decreases proportionally to the number of samples

Engineering Contradiction:
Improveimage qualityVSAvoidprocessing frame rate
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent applies dynamics by making the sampling mode configurable and changeable at runtime. The system can dynamically switch between multi-sample shading mode (computing one color value per fragment) and super-sample shading mode (computing a color for every sample), allowing the processing pipeline to adapt its behavior based on performance requirements while maintaining the capability to achieve high image quality when needed.

Inventive Principle:
Principle #15Dynamics

2Productivity

If multi-sample shading techniques are used to compute one color value per fragment, then processing frame rate is improved, but image quality with anti-aliased shading in interior primitive regions deteriorates

Engineering Contradiction:
Improveprocessing frame rateVSAvoidimage quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The system dynamically adjusts the sampling mode based on performance and quality requirements. When high frame rates are prioritized, multi-sample shading mode is used to compute one color value per fragment. When image quality is prioritized, the system can switch to super-sample shading mode to compute colors for every sample, thus dynamically resolving the trade-off between productivity and manufacturing precision.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If a fixed sampling mode and shading rate are used for all primitive fragments, then device complexity is reduced, but adaptability to different rendering requirements deteriorates

Engineering Contradiction:
Improveshading pipeline complexityVSAvoidrendering flexibility
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamics by allowing the sampling mode (multi-sample or super-sample) to be configured and changed at runtime based on rendering requirements. This dynamic configurability enables the system to adapt to different scenarios without requiring multiple fixed pipelines, thus improving adaptability while maintaining manageable complexity through a unified configurable architecture.

Inventive Principle:
Principle #15Dynamics

4Manufacturing precision

If super-sample shading is used to achieve high-quality anti-aliased images, then manufacturing precision is improved, but use of energy increases due to higher processing requirements

Engineering Contradiction:
Improveanti-aliasing qualityVSAvoidprocessing energy
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The system dynamically selects the appropriate sampling mode based on energy and quality requirements. When high anti-aliasing quality is needed and energy is available, super-sample shading mode is used to compute colors for every sample. When energy conservation is prioritized, multi-sample shading mode is used to compute one color value per fragment, thus dynamically balancing manufacturing precision and energy consumption.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9355483B2Variable fragment shading with surface recasting
Publication Date: 2016.05.31 NVIDIA CORP
  • US9355483B2 patent drawing
  • US9355483B2 patent drawing
  • US9355483B2 patent drawing

AI summary

A system, method, and computer program product are provided for shading primitive fragments. A target buffer may be recast when shaded samples that are covered by a primitive fragment are generated at a first shading rate using a first sampling mode, the shaded samples are stored in the target buffer that is associated with the first sampling mode and the first shading rate, a second sampling mode is determined, and the target buffer is associated with the second sampling mode. A sampling mode and/or shading rate may be changed for a primitive. A primitive fragment that is associated with a first sampling mode and a first shading rate is received and a second sampling mode is determined for the primitive fragment. Shaded samples corresponding to the primitive fragment are generated, at a second shading rate, using the second sampling mode and the shaded samples are stored in a target buffer.