Commit Graph

3444 Commits

Author SHA1 Message Date
Henri Verbeet
fb6071d108 libs/vkd3d: Delay destroying render passes until the command list is destroyed.
Render passes should only be destroyed after all submitted commands referring
to them have completed execution.
2016-10-05 17:52:45 +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
8ab2ebdd22 libs/vkd3d: Implement d3d12_fence_SetEventOnCompletion(). 2016-10-05 15:56:27 +02:00
Józef Kucia
733f720ee4 libs/vkd3d: Add simple replacement for event objects.
This naming convention for exported functions is used to be consistent
with other D3D12* functions().
2016-10-05 15:56:27 +02:00
Józef Kucia
a5e13cf53e libs/vkd3d: Implement d3d12_fence_Signal(). 2016-10-05 15:56:27 +02:00
Józef Kucia
da02d21e8e build: Check for pthreads. 2016-10-05 15:56:27 +02:00
Józef Kucia
8e2d4dc70f libs/vkd3d: Implement d3d12_command_list_CopyBufferRegion(). 2016-10-05 11:34:07 +02:00
Józef Kucia
663f2b4ae1 build: Require MinGW-w64 for crossbuilds.
Since dc7504c7fc we require "-municode"
support from cross compilers. Older MinGW32 doesn't support this option.
2016-10-05 11:34:07 +02:00
Henri Verbeet
42c1e0c0fb libs/vkd3d: Implement d3d12_command_list_RSSetScissorRects(). 2016-09-30 13:35:07 +02:00
Henri Verbeet
c7f6dc53b3 libs/vkd3d: Implement d3d12_command_list_RSSetViewports(). 2016-09-30 13:34:50 +02:00
Henri Verbeet
ad811fb418 libs/vkd3d: Implement d3d12_command_list_ClearRenderTargetView(). 2016-09-30 13:34:33 +02:00
Henri Verbeet
1b8be72657 libs/vkd3d: Implement d3d12_device_CreateRenderTargetView(). 2016-09-30 13:34:17 +02:00
Henri Verbeet
3cc207c28e libs/vkd3d: Implement d3d12_descriptor_heap_GetCPUDescriptorHandleForHeapStart(). 2016-09-30 13:34:00 +02:00
Henri Verbeet
9262f87249 libs/vkd3d: Allocate CPU memory for descriptors. 2016-09-30 13:33:28 +02:00
Henri Verbeet
cd37442fd0 tests: ...but keep regular builds working. 2016-09-30 10:00:11 +02:00
Henri Verbeet
dc7504c7fc build: Unicode crossbuilds. 2016-09-30 09:41:12 +02:00
Henri Verbeet
adb31f94c2 build: Debug info and warnings for crossbuilds. 2016-09-30 09:41:08 +02:00
Józef Kucia
a961ca8f8f build: Add silent mode support for custom rules. 2016-09-29 12:57:01 +02:00
Henri Verbeet
7db62fe3d8 libs/vkd3d: Implement d3d12_command_queue_ExecuteCommandLists(). 2016-09-29 11:54:44 +02:00
Józef Kucia
b4305f94f0 libs/vkd3d: Fix typo in FIXME() message. 2016-09-29 10:46:42 +02:00
Józef Kucia
e2a72ee610 include: Fix typos. 2016-09-29 10:46:42 +02:00
Józef Kucia
4e802d763c tests: Add test for creating ID3D12Fence. 2016-09-28 15:24:03 +02:00
Józef Kucia
31f1d703a9 libs/vkd3d: Add ID3D12Fence interface stub. 2016-09-28 15:24:03 +02:00
Józef Kucia
30a19692af build: Rewrite checks for MinGW using polymorphic shell variables. 2016-09-28 15:24:03 +02:00
Józef Kucia
f931d3ad66 build: Move checks for __sync functions to separate macros. 2016-09-28 15:24:03 +02:00
Józef Kucia
d8ff91a9f8 build: Reindent check-cflags.m4. 2016-09-28 15:24:03 +02:00
Józef Kucia
a42d85ea21 build: Prefer AS_IF macro rather than shell if statement. 2016-09-28 15:24:03 +02:00
Józef Kucia
9eb2d6bafc build: Use "vkd3d" prefix for autoconf variables. 2016-09-28 15:24:03 +02:00
Henri Verbeet
5f91e2ded9 libs/vkd3d: Implement d3d12_resource_GetGPUVirtualAddress(). 2016-09-28 15:05:13 +02:00
Henri Verbeet
8bb1a260d5 configure: Enable silent build rules by default. 2016-09-28 15:03:46 +02:00
Henri Verbeet
10969526a6 configure: WIDL is precious. 2016-09-28 15:03:38 +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
623e1a8233 libs/vkd3d: Store VkQueue in d3d12_command_queue. 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
f7a54c4653 libs/vkd3d: Rename "VKD3DDEBUG" environment variable to "VKD3D_DEBUG". 2016-09-28 09:42:49 +02:00
Józef Kucia
bce85d84ed include: Make test output less verbose. 2016-09-28 09:42:49 +02:00
Józef Kucia
3a5deb7286 include: Add support for marking tests as todo. 2016-09-28 09:42:49 +02:00
Józef Kucia
ef80cdedc3 libs/vkd3d: Make vkd3d debug compatible with MinGW headers. 2016-09-28 09:42:49 +02:00
Józef Kucia
821d978950 include: Add min() & max() macros. 2016-09-28 09:42:49 +02:00
Józef Kucia
2976d7798d libs/vkd3d: Implement d3d12_resource_Unmap() for committed buffers. 2016-09-28 09:42:49 +02:00
Józef Kucia
c078e79235 libs/vkd3d: Implement d3d12_resource_Map() for committed buffers. 2016-09-28 09:42:49 +02:00
Józef Kucia
fc1492766e libs/vkd3d: Implement committed buffer resources. 2016-09-27 12:13:37 +02:00
Józef Kucia
fec147c2cb libs/vkd3d: Implement committed texture resources. 2016-09-27 12:13:37 +02:00
Józef Kucia
e43af70de1 libs/vkd3d: Disable nameless unions. 2016-09-27 12:13:37 +02:00
Józef Kucia
5e266f70a2 libs/vkd3d: Store VkPhysicalDeviceMemoryProperties in "d3d12_device". 2016-09-27 12:13:37 +02:00
Józef Kucia
7701228cd7 libs/vkd3d: Print "0x" prefix before UINT64 hexadecimal values. 2016-09-27 12:13:37 +02:00