Sven Hesse
6629301ece
libs/vkd3d: Implement GetCopyableFootprints() for compressed formats.
2017-08-02 14:04:31 +02:00
Henri Verbeet
605a02274e
libs/vkd3d: Allocate GPU virtual addresses for resources.
...
Direct3D 12 resources, buffers in particular, are bound to the pipeline
by their GPU virtual address. In Vulkan, these addresses are not visible
to the application. We previously handled this by returning the VkBuffer
handle as virtual address, but this can't work when the application
binds anything other than the resource's base GPU VA. Instead, we
allocate ranges of GPU address space and associate resources with it.
This uses the (naive) approach of simply allocating subsequent ranges,
and never reclaiming them. Eventually we'll have to revisit that.
2017-07-27 16:28:46 +02:00
Henri Verbeet
1acd3d44b1
Implement d3d12_device_CreateQueryHeap().
2017-07-27 16:28:29 +02:00
Henri Verbeet
e9046a81cc
Implement d3d12_device_CreateCommandSignature().
2017-07-27 16:28:24 +02:00
Józef Kucia
5ac8dbfc64
libs/vkd3d: Implement d3d12_device_CreateUnorderedAccessView().
2017-07-25 12:50:14 +02:00
Józef Kucia
00606b7dff
libs/vkd3d: Fix logic for choosing compute-only queue family index.
2017-07-21 22:29:12 +02:00
Józef Kucia
d35ffe53ad
libs/vkd3d: Initialize device->compute_queue_family_index.
...
Fixes dadce84a4b
.
2017-07-21 22:29:12 +02:00
Sven Hesse
dadce84a4b
libs/vkd3d: Create a compute queue family.
2017-07-21 15:24:57 +02:00
Józef Kucia
1c79831873
libs/vkd3d: Implement d3d12_device_CreateShaderResourceView().
2017-07-14 13:44:35 +02:00
Józef Kucia
f4f803c7bb
libs/vkd3d: Add initial implementation for d3d12_device_GetCopyableFootprints().
2017-07-13 11:56:30 +02:00
Józef Kucia
f3d297574a
libs/vkd3d: Implement d3d12_device_CreateSampler().
2017-07-12 13:10:44 +02:00
Józef Kucia
d515e3d047
libs/vkd3d: Require VK_KHR_maintenance1 device extension.
2017-06-21 22:00:19 +02:00
Józef Kucia
84889646f6
Update license to LGPL v2.1.
2017-06-16 22:11:21 +02:00
Henri Verbeet
f252d6cd31
libs/vkd3d: Implement d3d12_device_CreateDepthStencilView().
2016-11-10 16:42:24 +01:00
Józef Kucia
e42a9da943
libs/vkd3d: Use VK_KHR_*_EXTENSION_NAME defines.
2016-10-24 15:28:08 +02:00
Henri Verbeet
fa5b972371
demos/triangle: Add a demo program.
2016-10-24 13:57:05 +02:00
Henri Verbeet
b760b52859
libs/vkd3d: Export a function to get the Vulkan physical device from a d3d12 device.
2016-10-24 13:57:05 +02:00
Józef Kucia
384bb26ea5
libs/vkd3d: Naming conventions.
2016-10-20 16:38:04 +02:00
Józef Kucia
60959ecf3c
libs/vkd3d: Add partial support for D3D12_FEATURE_ARCHITECTURE.
2016-10-19 13:10:12 +02:00
Henri Verbeet
7568a9793c
libs/vkd3d: Export a function to get the Vulkan device from a d3d12 device.
2016-10-19 10:02:27 +02:00
Henri Verbeet
feacd1af50
libs/vkd3d: Export a function to get the Vulkan instance from a d3d12 device.
2016-10-19 10:02:04 +02:00
Henri Verbeet
2a49173b60
libs/vkd3d: Export a function to create a d3d12 resource from a Vulkan image.
2016-10-19 09:59:42 +02:00
Józef Kucia
1e73f2956a
libs/vkd3d: Return S_OK from d3d12_device_GetDeviceRemovedReason().
2016-10-17 14:24:22 +02:00
Józef Kucia
1fad443900
libs/vkd3d: Introduce vkd3d_select_physical_device() helper function.
2016-10-13 12:21:00 +02:00
Józef Kucia
a1082ec954
libs/vkd3d: Use "< 0" to test VkResult for errors.
...
For consistency.
2016-10-11 13:43:04 +02:00
Henri Verbeet
5c9ea3ede3
libs/vkd3d: Implement d3d12_device_CreateGraphicsPipelineState().
2016-10-10 17:26:38 +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
59d466af2d
libs/vkd3d: Use PRIx64 to print 64-bit integers.
2016-10-10 11:22:50 +02:00
Józef Kucia
2a7b614278
libs/vkd3d: Wait for GPU fences in worker thread.
...
This could be implemented without a worker thread, if event objects
would be tightly coupled with ID3D12Fences.
2016-10-08 14:31:57 +02:00
Józef Kucia
2f76260857
libs/vkd3d: Create fence worker thread per device.
2016-10-08 14:31:57 +02:00
Józef Kucia
ef6a3d78a2
libs/vkd3d: Pass signal event function pointer to vkd3d_create_device().
2016-10-07 13:26:39 +02:00
Henri Verbeet
1b8be72657
libs/vkd3d: Implement d3d12_device_CreateRenderTargetView().
2016-09-30 13:34:17 +02:00
Henri Verbeet
9262f87249
libs/vkd3d: Allocate CPU memory for descriptors.
2016-09-30 13:33:28 +02:00
Józef Kucia
31f1d703a9
libs/vkd3d: Add ID3D12Fence interface stub.
2016-09-28 15:24:03 +02:00
Józef Kucia
fec147c2cb
libs/vkd3d: Implement committed texture resources.
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
6e68570498
libs/vkd3d: Create VkCommandPool when creating ID3D12CommandAllocator.
2016-09-27 12:13:37 +02:00
Józef Kucia
2424137c0b
libs/vkd3d: Implement compute pipeline state.
2016-09-26 11:46:45 +02:00
Józef Kucia
fdf8eb775f
libs/vkd3d: Implement empty root signature.
2016-09-26 11:46:45 +02:00
Józef Kucia
a524488c78
libs/vkd3d: Fix memory leak in d3d12_device_create().
2016-09-26 11:46:45 +02:00
Józef Kucia
471a58b4b8
libs/vkd3d: Add ID3D12PipelineState interface stub.
2016-09-26 11:22:33 +02:00
Józef Kucia
aec10bd682
libs/vkd3d: Add ID3D12RootSignature interface stub.
2016-09-26 11:22:33 +02:00
Józef Kucia
13ccddd6e4
libs/vkd3d: Add ID3D12DescriptorHeap interface stub.
2016-09-26 11:22:33 +02:00
Józef Kucia
4175bec471
libs/vkd3d: Add ID3D12Resource interface stub.
2016-09-26 11:22:33 +02:00
Józef Kucia
2a99c21534
libs/vkd3d: Create Vulkan device when creating D3D12 device.
2016-09-22 17:15:41 +02:00
Józef Kucia
f86ca50443
libs/vkd3d: Create Vulkan instance when creating D3D12 device.
...
We link directly to the Vulkan loader library and use few exported
procedures. According to the documentation the loader library
exports all core Vulkan procedures on Windows, Linux and Android.
2016-09-22 16:56:58 +02:00
Józef Kucia
6bdc509e4d
libs/vkd3d: Add ID3D12GraphicsCommandList interface stub.
2016-09-21 17:46:03 +02:00
Józef Kucia
4636663bd5
libs/vkd3d: Add ID3D12CommandAllocator interface stub.
2016-09-21 17:46:03 +02:00
Józef Kucia
4426e099ab
libs/vkd3d: Partially implement d3d12_device_CheckFeatureSupport().
2016-09-21 17:46:03 +02:00
Józef Kucia
aea273550a
libs/vkd3d: Add ID3D12CommandQueue interface stub.
2016-09-21 17:46:03 +02:00
Józef Kucia
0444bb72b5
libs/vkd3d: Introduce debugstr_uint64() to print UINT64 values.
2016-09-21 17:46:03 +02:00
Józef Kucia
d6e2fe97a4
libs/vkd3d: Add ID3D12Device interface stub.
2016-09-21 12:57:24 +02:00