mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
virgl: Fixes [-Wdeprecated-declarations] in virgl_staging_mgr_test.cpp
Warning message: ../src/gallium/drivers/virgl/tests/virgl_staging_mgr_test.cpp:188:1: warning: 'InstantiateTestCase_P_IsDeprecated' is deprecated: INSTANTIATE_TEST_CASE_P is deprecated, please use INSTANTIATE_TEST_SUITE_P [-Wdeprecated-declarations] Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18203>
This commit is contained in:
parent
4bfde7954e
commit
993889a995
1 changed files with 6 additions and 4 deletions
|
|
@ -185,10 +185,12 @@ TEST_P(VirglStagingMgrWithAlignment,
|
|||
release_resources(out_resource, num_resources);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(WithAlignment,
|
||||
VirglStagingMgrWithAlignment,
|
||||
::testing::Values(1, 16),
|
||||
testing::PrintToStringParamName());
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
WithAlignment,
|
||||
VirglStagingMgrWithAlignment,
|
||||
::testing::Values(1, 16),
|
||||
testing::PrintToStringParamName()
|
||||
);
|
||||
|
||||
TEST_F(VirglStagingMgr,
|
||||
non_fitting_allocation_reallocates_resource)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue