aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIcecream95 <[email protected]>2020-06-20 18:20:03 +1200
committerMarge Bot <[email protected]>2020-06-22 12:15:05 +0000
commit5b351c801e02e5fc44c87932fe44e87c568456b4 (patch)
treefdc8ba4b5b0bcccc1bbeba9a1e06b997bc6562d2
parente219f04592373560fe39b7dafd2ef42bbc1124d0 (diff)
pan/decode: Add missing wrap modes
Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5573>
-rw-r--r--src/panfrost/pandecode/decode.c4
1 files changed, 4 insertions, 0 deletions
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);