Forward Kill Circuitry for Graphics Fragment Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In graphics processing, the computationally intensive task of rendering (shading) operations is hindered by the need to identify and prevent processing of graphics fragments that will be obscured by later fragments, which is challenging due to the complexity of sorting fragments by depth and handling transparent objects, leading to inefficiencies and increased computational resource usage.
Innovation Solution
The implementation of forward kill circuitry and thread processing mechanisms that enable the termination of processing for obscured graphics fragments before shading operations, using forward kill blocking instructions to manage and disable the forward kill operation at specific points in the thread processing, allowing for early identification and avoidance of unnecessary processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If forward kill operation is enabled to prevent processing of obscured fragments, then computational resources are saved and performance is improved, but processing cannot be performed when forward kill blocking instructions are present in the thread
Solution Approach 1:
The patent applies preliminary action by checking for the presence of forward kill blocking instructions in a thread before enabling the forward kill operation. This allows the system to proactively determine whether forward kill can be safely applied, preventing wasted processing on threads that will block anyway, while maintaining the ability to apply forward kill when appropriate.
Solution Approach 2:
The patent implements dynamics by making the forward kill operation status changeable based on thread-specific conditions. The forward kill operation is dynamically enabled or disabled depending on whether blocking instructions are detected in the thread, allowing the system to adapt its behavior to each thread's characteristics rather than using a static approach.
2Loss of energy
If fragment depth sorting is performed to identify obscured fragments, then processing of hidden fragments can be avoided, but the complexity of sorting and handling transparent objects increases computational overhead
Solution Approach 1:
The patent extracts the forward kill blocking instruction check as a separate, preliminary step from the main fragment processing pipeline. By isolating this check, the system can quickly determine eligibility for forward kill without performing full depth sorting on all fragments, reducing the computational overhead associated with complex sorting operations.
Solution Approach 2:
The patent introduces forward kill blocking instructions as an intermediary mechanism between fragment generation and depth-based occlusion testing. This intermediary layer provides a simple, instruction-based method to control forward kill behavior without requiring complex depth sorting and transparency handling, thus reducing device complexity while still enabling computational savings.
Data Source
AI summary
A graphics processing apparatus comprises fragment generating circuitry to generate graphics fragments corresponding to graphics primitives, thread processing circuitry to perform threads of processing corresponding to the fragments, and forward kill circuitry to trigger a forward kill operation to prevent further processing of a target thread of processing corresponding to an earlier graphics fragment when the forward kill operation is enabled for the target thread and the earlier graphics fragment is determined to be obscured by one or more later graphics fragments. The thread processing circuitry supports enabling of the forward kill operation for a thread including at least one forward kill blocking instruction having a property indicative that the forward kill operation should be disabled for the given thread, when the thread processing circuitry has not yet reached a portion of the thread including the at least one forward kill blocking instruction.


