Mesa (main): pan/va: Implement more lanes
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 6 16:24:56 UTC 2022
Module: Mesa
Branch: main
Commit: 3741606b25b957edcc838e7bb1643f837ddec34c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3741606b25b957edcc838e7bb1643f837ddec34c
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Fri May 6 17:23:10 2022 -0400
pan/va: Implement more lanes
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16857>
---
src/panfrost/bifrost/valhall/va_pack.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/panfrost/bifrost/valhall/va_pack.c b/src/panfrost/bifrost/valhall/va_pack.c
index dce06ac80d1..d762e42bf60 100644
--- a/src/panfrost/bifrost/valhall/va_pack.c
+++ b/src/panfrost/bifrost/valhall/va_pack.c
@@ -248,6 +248,9 @@ va_pack_shift_lanes(enum bi_swizzle swz)
switch (swz) {
case BI_SWIZZLE_H01: return VA_LANES_8_BIT_B02;
case BI_SWIZZLE_B0000: return VA_LANES_8_BIT_B00;
+ case BI_SWIZZLE_B1111: return VA_LANES_8_BIT_B11;
+ case BI_SWIZZLE_B2222: return VA_LANES_8_BIT_B22;
+ case BI_SWIZZLE_B3333: return VA_LANES_8_BIT_B33;
default: unreachable("todo: more shifts");
}
}
More information about the mesa-commit
mailing list