From: Icecream95 Date: Sat, 20 Jun 2020 06:20:03 +0000 (+1200) Subject: pan/decode: Add missing wrap modes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b351c801e02e5fc44c87932fe44e87c568456b4;p=mesa.git pan/decode: Add missing wrap modes Reviewed-by: Tomeu Vizoso Part-of: --- diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 1774bedafef..ac85090b5f5 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -479,8 +479,12 @@ pandecode_wrap_mode(enum mali_wrap_mode op) switch (op) { DEFINE_CASE(REPEAT); DEFINE_CASE(CLAMP_TO_EDGE); + DEFINE_CASE(CLAMP); DEFINE_CASE(CLAMP_TO_BORDER); DEFINE_CASE(MIRRORED_REPEAT); + DEFINE_CASE(MIRRORED_CLAMP_TO_EDGE); + DEFINE_CASE(MIRRORED_CLAMP); + DEFINE_CASE(MIRRORED_CLAMP_TO_BORDER); default: pandecode_msg("XXX: invalid wrap mode %X\n", op);