gallium: convert PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE to enum

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17687>
This commit is contained in:
Mike Blumenkrantz 2022-07-21 10:15:56 -04:00 committed by Marge Bot
parent 1341d7aa84
commit 03b893acb3

View file

@ -1025,9 +1025,11 @@ enum pipe_texture_transfer_mode {
#define PIPE_CONTEXT_PRIORITY_MEDIUM (1 << 1)
#define PIPE_CONTEXT_PRIORITY_HIGH (1 << 2)
#define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_NV50 (1 << 0)
#define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_R600 (1 << 1)
#define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_FREEDRENO (1 << 2)
enum pipe_quirk_texture_border_color_swizzle {
PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_NV50 = (1 << 0),
PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_R600 = (1 << 1),
PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_FREEDRENO = (1 << 2),
};
enum pipe_endian
{