freedreno/fdl: Dump the generated layout when a layout test fails.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13733>
This commit is contained in:
Emma Anholt 2021-11-05 11:46:23 -07:00 committed by Marge Bot
parent 4b27ebee7f
commit 3ddefb4ae3

View File

@ -106,8 +106,10 @@ fdl_test_layout(const struct testcase *testcase, int gpu_id)
}
}
if (!ok)
if (!ok) {
fdl_dump_layout(&layout);
fprintf(stderr, "\n");
}
return ok;
}