diff options
Diffstat (limited to 'src/freedreno/fdl/fd6_layout_test.c')
-rw-r--r-- | src/freedreno/fdl/fd6_layout_test.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/freedreno/fdl/fd6_layout_test.c b/src/freedreno/fdl/fd6_layout_test.c index 0f31ebb3ca8..378e6f10aa9 100644 --- a/src/freedreno/fdl/fd6_layout_test.c +++ b/src/freedreno/fdl/fd6_layout_test.c @@ -400,12 +400,6 @@ static bool test_layout(const struct testcase *testcase) MAX2(testcase->array_size, 1), testcase->is_3d); - /* Our pitch values in the testcases[] layouts are in bytes straight out - * of the traces, while fdl is in pixels. Rescale now. - */ - for (int l = 0; l < mip_levels; l++) - layout.slices[l].pitch *= layout.cpp; - /* fdl lays out UBWC data before the color data, while all we have * recorded in this testcase are the color offsets. Shift the fdl layout * down so we can compare color offsets. |