From 1fbec9f5323bbc3d503aea4b391b82afb0c26831 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 15 Nov 2023 10:09:36 +0100 Subject: [PATCH] util/format: document NONE swizzle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Boris Brezillon Reviewed-by: Marek Olšák Part-of: --- src/util/format/u_formats.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/format/u_formats.h b/src/util/format/u_formats.h index a48b124002a..1247cf05182 100644 --- a/src/util/format/u_formats.h +++ b/src/util/format/u_formats.h @@ -667,7 +667,10 @@ enum pipe_swizzle { PIPE_SWIZZLE_W, PIPE_SWIZZLE_0, PIPE_SWIZZLE_1, + + /* Non-existent format channel, not used for swizzle operations. */ PIPE_SWIZZLE_NONE, + PIPE_SWIZZLE_MAX, /**< Number of enums counter (must be last) */ };