freedreno/layout: layout simplifications and pitch from level 0 pitch
[mesa.git] / src / freedreno / fdl / fd_layout_test.h
index 0be7a4030a4c3c6bc56c572ef52766bf23befe28..edf56cec51181f1a21f4899ec09b0bf062fe5685 100644 (file)
@@ -28,7 +28,20 @@ struct testcase {
        bool is_3d;
 
     /* Partially filled layout of input parameters and expected results. */
-       struct fdl_layout layout;
+       struct {
+               uint32_t tile_mode : 2;
+               bool ubwc : 1;
+               uint32_t width0, height0, depth0;
+               uint32_t nr_samples;
+               struct {
+                               uint32_t offset;
+                               uint32_t pitch;
+               } slices[FDL_MAX_MIP_LEVELS];
+               struct {
+                               uint32_t offset;
+                               uint32_t pitch;
+               } ubwc_slices[FDL_MAX_MIP_LEVELS];
+       } layout;
 };
 
 bool fdl_test_layout(const struct testcase *testcase, int gpu_id);