Commit Graph

184 Commits

Author SHA1 Message Date
Józef Kucia
2acd31484c tests: Add additional resource barriers.
This isn't validated by the debug layers but the MSDN says that the
subresource must be in the D3D12_RESOURCE_STATE_COPY_SOURCE state.
2016-10-17 14:24:22 +02:00
Józef Kucia
d7a0cdcb54 tests: Use single command list submission in test_draw_instanced(). 2016-10-17 14:24:22 +02:00
Józef Kucia
e3fb82d544 libs/vkd3d: Forbid creating textures on UPLOAD/READBACK heaps. 2016-10-17 14:24:22 +02:00
Józef Kucia
fc1c9d914d libs/vkd3d: Validate initial resource state for UPLOAD/READBACK heaps. 2016-10-17 14:24:22 +02:00
Józef Kucia
ae27ba9601 tests: Add basic test for DrawInstanced(). 2016-10-11 13:43:04 +02:00
Józef Kucia
b90676ac73 tests: Make number of ok() calls constant between test runs. 2016-10-10 11:22:50 +02:00
Józef Kucia
5f3d5a1263 tests: Include vkd3d_common.h in vkd3d_test.h. 2016-10-10 11:22:50 +02:00
Józef Kucia
a22b594c0a libs/vkd3d: Accept D3D12_ROOT_SIGNATURE_DESC directly only when all bits of "bytecode_length" are set. 2016-10-10 11:22:50 +02:00
Józef Kucia
6330c9f46a tests: Properly print 64-bit unsigned integers.
Use PRIu64 since we use C99.
2016-10-10 11:22:50 +02:00
Józef Kucia
6dcd930408 tests: Add multithreaded fence wait test. 2016-10-08 14:31:57 +02:00
Józef Kucia
4153810c00 libs/vkd3d: Partially implement d3d12_command_list_CopyTextureRegion(). 2016-10-08 14:31:57 +02:00
Józef Kucia
9620873b55 tests: Add test for signalling fences on GPU. 2016-10-08 14:31:57 +02:00
Józef Kucia
3742d2381f tests: Use single shared implementation of wait_queue_idle(). 2016-10-08 14:31:57 +02:00
Józef Kucia
858e0c79f1 include: Add public header for libvkd3d-utils. 2016-10-07 13:26:39 +02:00
Józef Kucia
ee3c147f82 tests: Add test for signalling fences on CPU. 2016-10-05 15:56:27 +02:00
Józef Kucia
4e802d763c tests: Add test for creating ID3D12Fence. 2016-09-28 15:24:03 +02:00
Henri Verbeet
baa3f71009 tests: Fix crosstests.
The inline wrappers for AsyncIMultiQI in mingw-w64 (mingw-w64-common 3.2.0-2)
are broken and fail to compile. Define WIDL_C_INLINE_WRAPPERS after including
vkd3d_windows.h to avoid them.
2016-09-28 15:00:03 +02:00
Józef Kucia
98a7ce8275 tests: Add test for clearing render target view. 2016-09-28 09:42:49 +02:00
Józef Kucia
09d24d6934 libs/vkd3d: Implement d3d12_command_list_Reset(). 2016-09-28 09:42:49 +02:00
Józef Kucia
335bde6550 libs/vkd3d: Implement d3d12_command_allocator_Reset(). 2016-09-28 09:42:49 +02:00
Józef Kucia
00fec8232b libs/vkd3d: Track command list recording state. 2016-09-28 09:42:49 +02:00
Józef Kucia
c311a61dc9 tests: Add test for resetting command allocator. 2016-09-28 09:42:49 +02:00
Józef Kucia
8801f82626 tests: Add test for creating compute pipeline state. 2016-09-26 11:22:33 +02:00
Józef Kucia
39432ca5a3 tests: Add test for creating root signature. 2016-09-26 11:22:33 +02:00
Józef Kucia
e18c2b58f1 tests: Add test for creating descriptor heap. 2016-09-26 11:22:33 +02:00
Józef Kucia
768dffe9d6 tests: Add test for creating committed resource. 2016-09-26 11:22:33 +02:00
Józef Kucia
19eca43f2c tests: Add test for creating command list. 2016-09-21 17:46:03 +02:00
Józef Kucia
3cde5ba56c tests: Add test for creating command allocator. 2016-09-21 17:46:03 +02:00
Józef Kucia
ffc3fe877d tests: Add test for creating command queue. 2016-09-21 17:46:03 +02:00
Józef Kucia
d32f7aa35a tests: Add test for ID3D12Device_CheckFeatureSupport(). 2016-09-21 17:46:03 +02:00
Józef Kucia
f9af61a1dc tests: Add test for ID3D12Device_GetNodeCount(). 2016-09-21 17:46:03 +02:00
Józef Kucia
d406723049 tests: Enable debug layer. 2016-09-21 13:19:16 +02:00
Józef Kucia
6bebee9a09 build: Add "crosstest" target for tests cross-compilation. 2016-09-21 12:57:24 +02:00
Józef Kucia
978584a238 tests: Add test for D3D12CreateDevice(). 2016-09-21 12:57:24 +02:00