Mesa (master): pan/decode: Add missing wrap modes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 22 12:28:54 UTC 2020
Module: Mesa
Branch: master
Commit: 5b351c801e02e5fc44c87932fe44e87c568456b4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b351c801e02e5fc44c87932fe44e87c568456b4
Author: Icecream95 <ixn at keemail.me>
Date: Sat Jun 20 18:20:03 2020 +1200
pan/decode: Add missing wrap modes
Reviewed-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5573>
---
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);
More information about the mesa-commit
mailing list