tests: Run d3d9 and d3d12 tests on non-cross builds too.

On cross builds, shaders are compiled with d3dcompiler_47.dll and
run with d3dN.dll. On non-cross builds, shaders are compiled with
vkd3d-shader and run with d3dN.dll (on Windows) or Vulkan and vkd3d
(on Linux).
This commit is contained in:
Giovanni Mascellani
2023-01-18 13:53:51 +01:00
committed by Alexandre Julliard
parent 44d9e2d728
commit 2445743002
Notes: Alexandre Julliard 2023-01-24 22:27:46 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/57
5 changed files with 16 additions and 3 deletions

View File

@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef _WIN32
#define COBJMACROS
#define CONST_VTABLE
#define VKD3D_TEST_NO_DEFS
@@ -533,3 +535,5 @@ void run_shader_tests_d3d9(int argc, char **argv)
}
FreeLibrary(d3d9_module);
}
#endif