SHADER PROGRAM ATTRIBUTE STORAGE
First Claim
Patent Images
1. A method comprising:
- identifying input attributes read by a shader program to generate output attributes;
identifying a portion of the output attributes to be consumed by a destination shader program or a fixed-function hardware engine; and
computing a size of an attribute storage buffer to be allocated for execution of the shader program based on the input attributes and the portion of the output attributes.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method, and computer program product are provided for determining a size of an attribute storage buffer. Input attributes read by a shader program to generate output attributes are identified. A portion of the output attributes to be consumed by a destination shader program is identified. The size of the attribute storage buffer that is allocated for execution of the shader program is computed based on the input attributes and the portion of the output attributes.
17 Citations
20 Claims
-
1. A method comprising:
-
identifying input attributes read by a shader program to generate output attributes; identifying a portion of the output attributes to be consumed by a destination shader program or a fixed-function hardware engine; and computing a size of an attribute storage buffer to be allocated for execution of the shader program based on the input attributes and the portion of the output attributes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform steps comprising:
-
identifying input attributes read by a shader program to generate output attributes; identifying a portion of the output attributes to be consumed by a destination shader program or a fixed-function hardware engine; and computing a size of an attribute storage buffer to be allocated for execution of the shader program based on the input attributes and the portion of the output attributes. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A system comprising:
-
a memory storing a shader program and a destination shader program; and one or more processing units coupled to the memory and configured to; identify input attributes read by the shader program to generate output attributes; identify a portion of the output attributes to be consumed by the destination shader program; and compute a size of an attribute storage buffer to be allocated for execution of the shader program based on the input attributes and the portion of the output attributes. - View Dependent Claims (19, 20)
-
Specification