freedreno/fdl: Add layout test for the Android CTS's MSAA mustpass surface.
Rob had a question of if we were laying things out the same as the blob.
This doesn't detect any difference in our layout, though.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6589>
diff --git a/src/freedreno/fdl/fd6_layout_test.c b/src/freedreno/fdl/fd6_layout_test.c
index 6c917d4..d8b4a03 100644
--- a/src/freedreno/fdl/fd6_layout_test.c
+++ b/src/freedreno/fdl/fd6_layout_test.c
@@ -586,6 +586,22 @@
},
},
},
+
+ {
+ .format = PIPE_FORMAT_R8G8B8A8_UNORM,
+ .layout = {
+ .tile_mode = TILE6_3,
+ .ubwc = true,
+ .nr_samples = 4,
+ .width0 = 412, .height0 = 732,
+ .slices = {
+ { .offset = 0, .pitch = 7168 },
+ },
+ .ubwc_slices = {
+ { .offset = 0, .pitch = 128 },
+ },
+ },
+ },
};
int