Commit Graph

1810 Commits

Author SHA1 Message Date
Henri Verbeet
0f38858996 libs/vkd3d: Implement D3D12_ROOT_PARAMETER_TYPE_CBV root signature parameters. 2016-11-13 00:44:19 +01:00
Henri Verbeet
fa4072a892 libs/vkd3d: Implement d3d12_command_list_DrawIndexedInstanced(). 2016-11-10 16:49:22 +01:00
Henri Verbeet
2213e126cf libs/vkd3d: Implement d3d12_command_list_ClearDepthStencilView(). 2016-11-10 16:43:33 +01:00
Józef Kucia
3ab664c84a tests: Enable debug layer only when tests are run with "--validate" argument. 2016-11-09 15:03:46 +01:00
Józef Kucia
2eed0e0ed3 tests: Write test name to debug output.
This is useful when inspecting the output of D3D12 debug layer.
2016-11-09 15:03:46 +01:00
Józef Kucia
3b748bf5fb tests: Add basic test for texture resource barriers. 2016-10-25 13:23:18 +02:00
Józef Kucia
e987e02706 tests: Add test for bundle state inheritance. 2016-10-24 13:20:09 +02:00
Józef Kucia
53db1da082 tests: Get rid of D3D12 debug layer warning. 2016-10-24 13:20:09 +02:00
Józef Kucia
f35b311aa1 tests: Introduce "draw_test_context" for simple drawing tests. 2016-10-24 13:20:09 +02:00
Józef Kucia
eea8617b9b libs/vkd3d: GPU virtual address for texture resources is always 0. 2016-10-24 13:20:09 +02:00
Józef Kucia
e19e428ed0 libs/vkd3d: Check if device memory is CPU accessible in d3d12_resource_Map(). 2016-10-24 13:20:09 +02:00
Józef Kucia
81164d43f7 tests: Use stdbool. 2016-10-24 13:20:09 +02:00
Józef Kucia
bc1c2bcadf tests: Separate statements by semicolon instead of comma. 2016-10-20 16:54:45 +02:00
Józef Kucia
fd9f1abb4f libs/vkd3d: Fix command list resetting.
A command list can be resetted to the same command allocator when it is
in use.
2016-10-20 16:38:04 +02:00
Józef Kucia
2189859532 libs/vkd3d: Command allocator can be used with one command list at a time. 2016-10-20 16:38:04 +02:00
Józef Kucia
d3ad189be4 tests: Add test for resetting command list when it is in use. 2016-10-20 16:38:04 +02:00
Józef Kucia
f2c980af56 libs/vkd3d: Validate resource state for resource barriers. 2016-10-19 16:39:48 +02:00
Józef Kucia
34f6abc81d tests: Add test for mapping CPU inaccessible buffers. 2016-10-19 13:10:12 +02:00
Józef Kucia
69cd100d48 libs/vkd3d: Validate initial resource state. 2016-10-19 13:10:12 +02:00
Józef Kucia
f601cbc04a libs/vkd3d: Validate "optimized_clear_value" for buffer resources. 2016-10-19 13:10:12 +02:00
Józef Kucia
60959ecf3c libs/vkd3d: Add partial support for D3D12_FEATURE_ARCHITECTURE. 2016-10-19 13:10:12 +02:00
Józef Kucia
6904282702 tests: Add test for D3D12_FEATURE_ARCHITECTURE. 2016-10-19 13:10:12 +02:00
Henri Verbeet
53e0839698 libs/vkd3d-utils: Naming conventions. 2016-10-19 09:47:35 +02:00
Józef Kucia
de9769151b tests: Add test for mapping textures. 2016-10-17 14:24:22 +02:00
Józef Kucia
12211aafc7 tests: Add test for ID3D12Device_GetDeviceRemovedReason(). 2016-10-17 14:24:22 +02:00
Józef Kucia
b9b459d297 tests: Add test for invalid usage of resource barriers. 2016-10-17 14:24:22 +02:00
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