2016-09-21 11:57:24 +01:00
|
|
|
/*
|
2017-06-21 21:00:19 +01:00
|
|
|
* Copyright 2016-2017 Józef Kucia for CodeWeavers
|
2021-08-25 13:00:58 +01:00
|
|
|
* Copyright 2020-2021 Philip Rebohle for Valve Corporation
|
|
|
|
* Copyright 2020-2021 Joshua Ashton for Valve Corporation
|
|
|
|
* Copyright 2020-2021 Hans-Kristian Arntzen for Valve Corporation
|
2016-09-21 11:57:24 +01:00
|
|
|
*
|
2017-06-16 20:05:54 +01:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2016-09-21 11:57:24 +01:00
|
|
|
*
|
2017-06-16 20:05:54 +01:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2016-09-21 11:57:24 +01:00
|
|
|
*
|
2017-06-16 20:05:54 +01:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2016-09-21 11:57:24 +01:00
|
|
|
*/
|
|
|
|
|
2020-07-09 15:02:08 +01:00
|
|
|
#define VKD3D_DBG_CHANNEL VKD3D_DBG_CHANNEL_API
|
|
|
|
|
2021-08-25 12:30:29 +01:00
|
|
|
#define INITGUID
|
|
|
|
#define VKD3D_TEST_DECLARE_MAIN
|
2018-12-04 14:55:58 +00:00
|
|
|
#include "d3d12_crosstest.h"
|
2017-08-08 16:09:35 +01:00
|
|
|
|
2021-08-25 12:55:24 +01:00
|
|
|
#define decl_test(x) void x(void);
|
2021-08-25 12:53:21 +01:00
|
|
|
#include "d3d12_tests.h"
|
|
|
|
#undef decl_test
|
|
|
|
|
2016-09-21 11:57:24 +01:00
|
|
|
START_TEST(d3d12)
|
|
|
|
{
|
2019-11-15 15:37:52 +00:00
|
|
|
pfn_D3D12CreateDevice = get_d3d12_pfn(D3D12CreateDevice);
|
2021-03-25 07:07:04 +00:00
|
|
|
pfn_D3D12EnableExperimentalFeatures = get_d3d12_pfn(D3D12EnableExperimentalFeatures);
|
2019-11-15 15:37:52 +00:00
|
|
|
pfn_D3D12GetDebugInterface = get_d3d12_pfn(D3D12GetDebugInterface);
|
|
|
|
|
2018-12-04 14:56:02 +00:00
|
|
|
parse_args(argc, argv);
|
2018-12-04 14:56:03 +00:00
|
|
|
enable_d3d12_debug_layer(argc, argv);
|
2018-12-11 14:47:59 +00:00
|
|
|
init_adapter_info();
|
2018-12-03 10:31:26 +00:00
|
|
|
|
2019-04-24 15:05:43 +01:00
|
|
|
pfn_D3D12CreateVersionedRootSignatureDeserializer = get_d3d12_pfn(D3D12CreateVersionedRootSignatureDeserializer);
|
|
|
|
pfn_D3D12SerializeVersionedRootSignature = get_d3d12_pfn(D3D12SerializeVersionedRootSignature);
|
|
|
|
|
2021-08-25 12:53:21 +01:00
|
|
|
#define decl_test(x) run_test(x)
|
|
|
|
#include "d3d12_tests.h"
|
|
|
|
#undef decl_test
|
2016-09-21 11:57:24 +01:00
|
|
|
}
|