Mesa (main): pan/va: Add LD_TILE.v3.f16 packing test
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 14:35:00 UTC 2022
Module: Mesa
Branch: main
Commit: 813d355e9e135732d093816c9032d15497870c53
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=813d355e9e135732d093816c9032d15497870c53
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Mar 23 10:44:05 2022 -0400
pan/va: Add LD_TILE.v3.f16 packing test
This tests the staging register behaviour.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15793>
---
src/panfrost/bifrost/valhall/test/test-packing.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/panfrost/bifrost/valhall/test/test-packing.cpp b/src/panfrost/bifrost/valhall/test/test-packing.cpp
index 5cb20932f48..34ed4e56924 100644
--- a/src/panfrost/bifrost/valhall/test/test-packing.cpp
+++ b/src/panfrost/bifrost/valhall/test/test-packing.cpp
@@ -316,3 +316,10 @@ TEST_F(ValhallPacking, FauPage1) {
CASE(bi_mov_i32_to(b, bi_register(1), bi_fau((enum bir_fau) (BIR_FAU_UNIFORM | 32), false)),
0x0291c10000000080ULL);
}
+
+TEST_F(ValhallPacking, LdTileV3F16) {
+ CASE(bi_ld_tile_to(b, bi_register(4), bi_discard(bi_register(0)),
+ bi_register(60), bi_register(3),
+ BI_REGISTER_FORMAT_F16, BI_VECSIZE_V3),
+ 0x0078840423033c40);
+}
More information about the mesa-commit
mailing list