From 5b351c801e02e5fc44c87932fe44e87c568456b4 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Sat, 20 Jun 2020 18:20:03 +1200 Subject: [PATCH] pan/decode: Add missing wrap modes Reviewed-by: Tomeu Vizoso Part-of: --- src/panfrost/pandecode/decode.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2