Henri Verbeet
755e368f6b
build: Explicitly link the demos with libvulkan.
...
Since demos/demo_xcb.h uses vkCreateXcbSurfaceKHR(). At least some (2.4.6)
versions of libtool seem to pull libvulkan in automatically through libvkd3d,
but mine (2.4.2) doesn't.
2017-06-15 16:16:09 +02:00
Henri Verbeet
f604f25aba
libs/vkd3d: Add DXGI_FORMAT_R11G11B10_FLOAT.
2017-06-15 15:16:07 +02:00
Henri Verbeet
39d95dcd7f
libs/vkd3d: Add DXGI_FORMAT_R10G10B10A2_UNORM.
2017-06-15 15:15:57 +02:00
Henri Verbeet
39e8b8de25
libs/vkd3d: Add DXGI_FORMAT_R32G32_FLOAT.
2017-06-15 15:15:46 +02:00
Henri Verbeet
09f52882ae
include: Add the ID3D12CommandSignature interface.
2017-06-15 15:15:36 +02:00
Henri Verbeet
09ff8b57c1
include: Fix the IDXGISwapChain::ResizeBuffers() arguments.
2017-06-15 15:15:26 +02:00
Józef Kucia
f8c42d3148
build: Do not link everything with libvulkan.
2017-06-15 14:50:37 +02:00
Henri Verbeet
a5b78eea21
include: Fix D3D12_SAMPLER_DESC.
2017-06-12 18:16:05 +02:00
Henri Verbeet
3f05f65dbc
build: Avoid underlinking.
2017-06-12 18:16:05 +02:00
Józef Kucia
6151119eef
tests: Simplify get_refcount().
2017-05-28 11:45:50 +02:00
Józef Kucia
a680fdd91b
libs/vkd3d: Implement d3d12_command_list_OMSetStencilRef().
2017-03-05 22:23:37 +01:00
Henri Verbeet
6e6453cadd
Release 0.0.1.
2016-11-21 15:40:30 +01:00
Henri Verbeet
20508aee7c
demos/gears: Add a gears demo.
2016-11-13 00:55:54 +01:00
Henri Verbeet
cd4f4a2976
libs/vkd3d: Implement d3d12_command_list_SetGraphicsRootConstantBufferView().
2016-11-13 00:51:52 +01:00
Henri Verbeet
0b2702d96e
libs/vkd3d: Implement d3d12_command_list_SetGraphicsRootSignature().
2016-11-13 00:45:25 +01:00
Henri Verbeet
0f38858996
libs/vkd3d: Implement D3D12_ROOT_PARAMETER_TYPE_CBV root signature parameters.
2016-11-13 00:44:19 +01:00
Henri Verbeet
d97df34093
libs/vkd3d: Implement depth/stencil pipeline state attachments.
2016-11-13 00:42:31 +01:00
Henri Verbeet
fa4072a892
libs/vkd3d: Implement d3d12_command_list_DrawIndexedInstanced().
2016-11-10 16:49:22 +01:00
Henri Verbeet
9bb9e63f23
libs/vkd3d: Implement d3d12_command_list_IASetIndexBuffer().
2016-11-10 16:47:12 +01:00
Henri Verbeet
2213e126cf
libs/vkd3d: Implement d3d12_command_list_ClearDepthStencilView().
2016-11-10 16:43:33 +01:00
Henri Verbeet
f252d6cd31
libs/vkd3d: Implement d3d12_device_CreateDepthStencilView().
2016-11-10 16:42:24 +01:00
Henri Verbeet
2e10db6f8e
libs/vkd3d: Add support for D3D12_INPUT_CLASSIFICATION_PER_INSTANCE_DATA.
2016-11-10 16:41:01 +01:00
Henri Verbeet
efde85e8ca
demos: Properly destroy windows on Win32.
2016-11-10 16:39:15 +01:00
Józef Kucia
2d0c3c871a
tests: Introduce debug levels.
...
The VKD3D_TEST_DEBUG environment variable can be now set to 1 or 2.
VKD3D_TEST_DEBUG=1 is useful for examining Vulkan validation layers
output.
2016-11-09 15:03:46 +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
3c66c74167
tests: Pass command line arguments to vkd3d_test_main().
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
Henri Verbeet
9242c12c51
build: Simplify/fix the XCB pkg-config check.
2016-11-03 13:15:41 +01:00
Henri Verbeet
e467b02b29
demos: Introduce demo_window_set_expose_func().
2016-11-03 12:55:26 +01:00
Henri Verbeet
169810d20d
demos/triangle: Destroy the window when escape is pressed.
2016-11-03 12:55:00 +01:00
Henri Verbeet
f9805396d9
build: Use pkg-config to check for libxcb.
2016-11-03 12:54:10 +01:00
Henri Verbeet
f17742401a
demos/triangle: Move includes to the appropriate headers.
2016-11-03 12:53:44 +01:00
Henri Verbeet
b56b2f8687
build: Only warn about missing widl.
...
Users of the library shouldn't need widl to build it.
2016-10-28 13:15:47 +02:00
Henri Verbeet
f0cdf58f8d
build: Don't clean widl generated headers.
...
These shouldn't get removed by "make clean". Maintainer cleans will still get
rid of them.
2016-10-28 13:09:47 +02:00
Henri Verbeet
4142c477ef
build: Add some standard files.
2016-10-28 12:34:12 +02:00
Józef Kucia
af9ef75919
build: Fix check for glslangValidator.
2016-10-28 11:50:22 +02:00
Józef Kucia
3b748bf5fb
tests: Add basic test for texture resource barriers.
2016-10-25 13:23:18 +02:00
Józef Kucia
4aab207b56
libs/vkd3d: Fix initial state transtion for swapchain images.
2016-10-25 13:23:18 +02:00
Józef Kucia
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
Józef Kucia
b011f0b972
libs/vkd3d: Introduce resource flags.
2016-10-25 13:23:18 +02:00
Józef Kucia
0d1550788e
libs/vkd3d: Rename variables in d3d12_command_list_CopyBufferRegion().
2016-10-25 13:23:18 +02:00
Józef Kucia
ec23554b54
libs/vkd3d: Fix memory leak in d3d12_command_allocator_Release().
2016-10-24 15:43:12 +02:00
Józef Kucia
a4c36a87db
demos: Flush XCB connection after creating window.
...
This fixes the "BadDrawable (invalid Pixmap or Window parameter)" error
thrown by vkGetPhysicalDeviceSurfaceCapabilitiesKHR() on Nvidia drivers.
2016-10-24 15:28:08 +02: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
6cbe8626c2
libs/vkd3d: Add DXGI_FORMAT_B8G8R8A8_UNORM_SRGB.
2016-10-24 13:57:05 +02:00
Henri Verbeet
6babf11214
libs/vkd3d: Export a function to get the Vulkan format from a DXGI format.
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
Henri Verbeet
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
Henri Verbeet
f34b9f9347
include: Add the IDXGIFactory2 interface.
2016-10-24 13:57:04 +02:00