Graphics processing
AssigneeArm Limited
InventorsDaren Croxford, Roberto Lopez Mendez, Mina Ivanova Dimova, Liam James O'Neil
Life of this patent
Estimating the term…
Abstract
Disclosed is a method of operating a graphics processor to generate a render output. A first initial processing pass is performed to determine visibility information as to which primitive fragments are visible at which sampling positions within the render output. This visibility information is then used to control the order in which sampling positions are processed during a subsequent further processing pass that generates the render output.
Claims21
A method of operating a graphics processor to generate a render output, the method comprising:
- for a sequence of primitives to be processed for the render output:
- performing an initial processing pass comprising processing primitives within the sequence of primitives into respective sets of one or more fragments, each fragment associated with a respective set of one or more sampling positions within the render output, and then processing the resulting fragments to determine which particular primitives in the sequence of primitives are visible for which sampling positions within the render output;
- and
- thereafter performing a further processing pass to generate respective output values for the respective sampling positions within the render output, the further processing pass comprising, for each sampling position for which an output value is to be generated, generating a respective output value for the sampling position by performing further processing of the particular primitive in the sequence of primitives that is visible at that sampling position,
- wherein a set of information is generated from the processing of the sequence of primitives by the initial processing pass as to the further processing of primitives that is to be performed in respect of particular sampling positions within the render output when generating the respective output values for those particular sampling positions, and wherein the method further comprises:
- controlling an order in which the sampling positions are processed during the further processing pass based on the set of information generated from the processing of the sequence of primitives by the initial processing pass.
A graphics processor that is operable to generate a render output, the graphics processor comprising:
- a rendering circuit that is operable to process primitives into respective sets of one or more fragments, each fragment associated with a respective set of one or more sampling positions within the render output, and which rendering circuit is further operable to process the resulting fragments to generate respective output values for the respective sampling positions within the render output;
- and
- a rendering control circuit that is configured to control the operation of the graphics processor to generate a render output, wherein:
- for a sequence of primitives to be processed for a render output:
- the rendering control circuit causes the graphics processor to process the sequence of primitives by, using the rendering circuit:
- performing an initial processing pass comprising processing primitives within the sequence of primitives into respective sets of one or more fragments, each fragment associated with a respective set of one or more sampling positions within the render output, and then processing the resulting fragments to determine which particular primitives in the sequence of primitives are visible for which sampling positions within the render output;
- and
- thereafter performing a further processing pass to generate respective output values for the respective sampling positions within the render output, the further processing pass comprising, for each sampling position for which an output value is to be generated, generating a respective output value for the sampling position by performing further processing of the particular primitive in the sequence of primitives that is visible at that sampling position, wherein the rendering control circuit is further configured to:
- when the graphics processor is performing a further processing pass for a sequence of primitives for which a corresponding initial processing pass has already been performed, wherein a set of information is generated from the processing of the sequence of primitives by the initial processing pass as to the further processing of primitives that is to be performed in respect of particular sampling positions within the render output when generating the respective output values for those particular sampling positions:
- control an order in which sampling positions are processed for the further processing pass based on the set of information generated from the processing of the sequence of primitives by the corresponding initial processing pass.
A computer program product containing instructions that when executed by one or more processor will cause the one or more processor to perform a method of operating a graphics processor to generate a render output, the method comprising:
- for a sequence of primitives to be processed for the render output:
- performing an initial processing pass comprising processing primitives within the sequence of primitives into respective sets of one or more fragments, each fragment associated with a respective set of one or more sampling positions within the render output, and then processing the resulting fragments to determine which particular primitives in the sequence of primitives are visible for which sampling positions within the render output;
- and
- thereafter performing a further processing pass to generate respective output values for the respective sampling positions within the render output, the further processing pass comprising, for each sampling position for which an output value is to be generated, generating a respective output value for the sampling position by performing further processing of the particular primitive in the sequence of primitives that is visible at that sampling position,
- wherein a set of information is generated from the processing of the sequence of primitives by the initial processing pass as to the further processing of primitives that is to be performed in respect of particular sampling positions within the render output when generating the respective output values for those particular sampling positions, and wherein the method further comprises:
- controlling an order in which the sampling positions are processed during the further processing pass based on the set of information generated from the processing of the sequence of primitives by the initial processing pass.
Dependencies are inferred from the claim text.