diff options
author | Marek Olšák <[email protected]> | 2019-08-26 19:53:09 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-10-09 17:06:54 -0400 |
commit | 3d06b9952c887a0c5c1e2ef77da79b33341b0a70 (patch) | |
tree | 69d39a22f1a905bd899782015aea7779c7fa0cfd /src/gallium/auxiliary | |
parent | 9b58863f870c550ead499859b038d32df46a147e (diff) |
gallium/util: remove enum numbering from util_format_layout
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_format.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index 7b0e3ee1bc4..115656a7034 100644 --- a/src/gallium/auxiliary/util/u_format.h +++ b/src/gallium/auxiliary/util/u_format.h @@ -53,7 +53,7 @@ enum util_format_layout { * Formats with util_format_block::width == util_format_block::height == 1 * that can be described as an ordinary data structure. */ - UTIL_FORMAT_LAYOUT_PLAIN = 0, + UTIL_FORMAT_LAYOUT_PLAIN, /** * Formats with sub-sampled channels. @@ -61,36 +61,36 @@ enum util_format_layout { * This is for formats like YVYU where there is less than one sample per * pixel. */ - UTIL_FORMAT_LAYOUT_SUBSAMPLED = 3, + UTIL_FORMAT_LAYOUT_SUBSAMPLED, /** * S3 Texture Compression formats. */ - UTIL_FORMAT_LAYOUT_S3TC = 4, + UTIL_FORMAT_LAYOUT_S3TC, /** * Red-Green Texture Compression formats. */ - UTIL_FORMAT_LAYOUT_RGTC = 5, + UTIL_FORMAT_LAYOUT_RGTC, /** * Ericsson Texture Compression */ - UTIL_FORMAT_LAYOUT_ETC = 6, + UTIL_FORMAT_LAYOUT_ETC, /** * BC6/7 Texture Compression */ - UTIL_FORMAT_LAYOUT_BPTC = 7, + UTIL_FORMAT_LAYOUT_BPTC, - UTIL_FORMAT_LAYOUT_ASTC = 8, + UTIL_FORMAT_LAYOUT_ASTC, - UTIL_FORMAT_LAYOUT_ATC = 9, + UTIL_FORMAT_LAYOUT_ATC, /** * Everything else that doesn't fit in any of the above layouts. */ - UTIL_FORMAT_LAYOUT_OTHER = 10 + UTIL_FORMAT_LAYOUT_OTHER, }; |