Move sampler and command queue compatibility query tests to the main api suite (#509)

...and mark tests that exercise new-style entrypoints as requiring 2.0

These tests give us (or rather will give us once made exhaustive, see
#508) coverage for both new-style and old-style creation entrypoints,
making the entrypoint used in other tests irrelevant as long as the
old-style entrypoints are required to be implemented.

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2019-12-11 10:38:29 +00:00
committed by GitHub
parent 1c04050b5b
commit 13a32946eb
7 changed files with 171 additions and 645 deletions

View File

@@ -33,8 +33,10 @@ bool gTestRounding = false;
test_definition test_list[] = {
ADD_TEST( get_platform_info ),
ADD_TEST( get_sampler_info ),
ADD_TEST( get_command_queue_info ),
ADD_TEST_VERSION( get_sampler_info, Version(2, 0) ),
ADD_TEST( get_sampler_info_compatibility ),
ADD_TEST_VERSION( get_command_queue_info, Version(2, 0) ),
ADD_TEST( get_command_queue_info_compatibility ),
ADD_TEST( get_context_info ),
ADD_TEST( get_device_info ),
ADD_TEST( enqueue_task ),