Commit Graph

456 Commits

Author SHA1 Message Date
4aab207b56 libs/vkd3d: Fix initial state transtion for swapchain images. 2016-10-25 13:23:18 +02:00
b9da47ebe2 libs/vkd3d: Implement naive initial state transition.
This is not a complete solution yet. In order to allow recording
multiple command list and executing them in any order we have to fix up
the current image layout when submitting a command list instead of when
a command list is being recorded.
2016-10-25 13:23:18 +02:00
0d1550788e libs/vkd3d: Rename variables in d3d12_command_list_CopyBufferRegion(). 2016-10-25 13:23:18 +02:00
ec23554b54 libs/vkd3d: Fix memory leak in d3d12_command_allocator_Release(). 2016-10-24 15:43:12 +02:00
c79584ed92 libs/vkd3d: Export a function to get the Vulkan queue family index from a d3d12 command queue. 2016-10-24 13:57:05 +02:00
eea8617b9b libs/vkd3d: GPU virtual address for texture resources is always 0. 2016-10-24 13:20:09 +02:00
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
2189859532 libs/vkd3d: Command allocator can be used with one command list at a time. 2016-10-20 16:38:04 +02:00
384bb26ea5 libs/vkd3d: Naming conventions. 2016-10-20 16:38:04 +02:00
52211e6c40 libs/vkd3d: Free command buffers on command allocator reset. 2016-10-20 16:38:04 +02:00
278cb0103c libs/vkd3d: Add support for D3D12_RESOURCE_STATE_RESOLVE_* barriers. 2016-10-20 16:38:04 +02:00
c41ad774de libs/vkd3d: Implement UAV barriers. 2016-10-19 16:39:48 +02:00
0944475c6a libs/vkd3d: Implement transition barriers. 2016-10-19 16:39:48 +02:00
f2c980af56 libs/vkd3d: Validate resource state for resource barriers. 2016-10-19 16:39:48 +02:00
e0ba2fd2d3 libs/vkd3d: Export a function to get the Vulkan queue from a d3d12 command queue. 2016-10-19 10:02:53 +02:00
f503954a77 libs/vkd3d: Ignore draw calls when pipeline state is not set. 2016-10-11 13:43:04 +02:00
a1082ec954 libs/vkd3d: Use "< 0" to test VkResult for errors.
For consistency.
2016-10-11 13:43:04 +02:00
4a558d5a4a libs/vkd3d: Implement d3d12_command_list_DrawInstanced(). 2016-10-10 17:26:46 +02:00
a0ccb1c581 libs/vkd3d: Implement d3d12_command_list_SetPipelineState(). 2016-10-10 17:26:13 +02:00
74fe2ec411 libs/vkd3d: Implement d3d12_command_list_OMSetRenderTargets(). 2016-10-10 17:26:03 +02:00
7add62e552 libs/vkd3d: Implement d3d12_command_list_IASetVertexBuffers(). 2016-10-10 17:25:55 +02:00
ce509dc70e libs/vkd3d: Implement d3d12_command_list_IASetPrimitiveTopology(). 2016-10-10 17:25:40 +02:00
d24982c5f1 libs/vkd3d: Destroy Vulkan render passes and framebuffers on command allocator reset. 2016-10-10 17:25:36 +02:00
3ba5fd949b libs/vkd3d: Store Vulkan render passes and framebuffers in the command allocator.
We should destroy these on resets, but command list resets don't need to wait
for command list execution to complete.
2016-10-10 17:25:31 +02:00
59d466af2d libs/vkd3d: Use PRIx64 to print 64-bit integers. 2016-10-10 11:22:50 +02:00