CPC G06T 1/20 (2013.01) [G06F 7/483 (2013.01); G06F 9/30145 (2013.01); G06F 9/3867 (2013.01); G06T 15/005 (2013.01)] | 20 Claims |
1. A method, comprising:
determining whether a format of one or more attributes of a vertex that is output from a vertex shader comprises a floating-point format, a fixed-point format or an integer format, the one or more attributes comprising one or more positional attributes and one or more non-positional attributes;
separating each of the one or more attributes into parts based on the format of the attribute, the parts including an integer part and a sign part;
compressing each respective part of the attribute based on a type of the part, including compressing the sign part using a run-length encoding and compressing the integer part using an encoding scheme other than run-length encoding; and
storing in a memory the compressed parts of the attribute of the vertex.
|