Józef Kucia
233caa2fb0
build: Drop hack for stripping RPC includes from widl-generated headers.
...
This requires widl from Wine >= 3.20:
commit b7402ddbbecdfaa81daa657fbb5d37661f401434
Author: Józef Kucia <jkucia@codeweavers.com>
Date: Mon Nov 19 15:07:02 2018 +0100
widl: Guard RPC includes with #ifdef _WIN32.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:56:41 +02:00
Henri Verbeet
449d36a7e7
build: Depend on the Makefile for .pc files.
...
Since we substitute PACKAGE_VERSION in particular.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:54:05 +01:00
Józef Kucia
e36024c87d
tests: Print driver info from VK_KHR_driver_properties.
...
In preparation for the next commit.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 19:46:24 +01:00
Józef Kucia
a6bf217af8
build: Fix 'make dist'.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:30:27 +01:00
Józef Kucia
0bbf92404d
build: Add option to disable tests.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-31 18:06:07 +01:00
Józef Kucia
50fe2b7638
build: Build DLLs for Windows.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-31 18:06:01 +01:00
Zhiyi Zhang
d0e2802a35
vkd3d: Implement d3d12_query_heap_SetName().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:35:38 +01:00
Józef Kucia
3795add878
vkd3d-shader: Import MD5 implementation from Wine.
...
With style changes.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 19:41:41 +01:00
Józef Kucia
e9b33183cf
tests: Add test for invalid shader bytecode.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-12 17:28:16 +01:00
Józef Kucia
03eba4b0ad
tests: Move invalid usage tests to separate unit.
...
Ideally, tests should not produce Vulkan validation errors. Move tests
which explicitly test invalid usage of D3D12 and are expected to produce
validation errors to a separate file.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 18:50:28 +01:00
Józef Kucia
f732501a14
include: Move vkd3d_result to common header.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 19:07:34 +01:00
Józef Kucia
c2e0bf1244
build: Build libvkd3d-shader as public library.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-02 11:19:00 +01:00
Józef Kucia
44fb80f84c
build: Bump libtool version numbers for shared libraries.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-02 19:36:37 -07:00
Henri Verbeet
5c9fa15d4d
build: Fix the "missing widl" message.
...
I.e., print the name of the target instead of the prerequisite.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-14 19:17:53 +02:00
Józef Kucia
ccdb692741
vkd3d-utils: Detect surface extensions at runtime.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 19:05:35 +02:00
Józef Kucia
aa12c0a751
build: Disable demos by default.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 11:02:43 +02:00
Chip Davis
da615f05ba
build: Use XCB_CFLAGS on libvkd3d-utils.
...
We need this to pull in <xcb/xcb.h>.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 11:01:33 +02:00
Chip Davis
09bf24d910
build: Make the output a little less verbose when V=0.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 11:01:29 +02:00
Chip Davis
923ec78c01
build: Make the sed(1) command more portable.
...
BSD sed(1) requires an argument after -i giving the suffix to put on the
backup it makes. Also, the regular expression given doesn't seem to work
for me. This command should work everywhere.
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 11:01:25 +02:00
Józef Kucia
404e988ecd
libs/vkd3d: Trace build version.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:43:49 +02:00
Józef Kucia
a5808cfdd7
libs/vkd3d-shader: Import shader tracing from wined3d.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 19:33:04 +02:00
Józef Kucia
9974237f35
build: Do not drop AM_CFLAGS when adding per-target CFLAGS.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 19:32:35 +02:00
Józef Kucia
6988513d7b
include: Move vkd3d_shader.h to private headers.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 15:50:02 +02:00
Józef Kucia
0ece81eca8
build: Set libtool version numbers for shared libraries.
...
Generates the following sonames: libvkd3d.so.1 and libvkd3d-utils.so.1
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 23:31:12 +02:00
Józef Kucia
ce9ec9a44a
build: Remove rpc.h and rpcndr.h includes from generated headers.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-16 21:59:53 +02:00
Józef Kucia
ab15973e6b
build: Do not try to rebuild headers when widl is not found.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 19:08:22 +02:00
Józef Kucia
aafbaddb2c
tests: Allow sharing common code between D3D12 tests.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 14:10:57 +02:00
Józef Kucia
389c18272f
build: Use shared SPIRV-Tools library.
...
SPIRV-Tools are now also built as a shared library.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 21:46:19 +01:00
Józef Kucia
70493640e3
include: Cleanup d3d12 header files.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 20:09:05 +01:00
Józef Kucia
10b04414e8
libs/vkd3d: Load libvulkan dynamically.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 16:21:51 +01:00
Józef Kucia
cd2c636bf5
tests: Add tests for selecting physical devices.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 16:21:34 +01:00
Józef Kucia
473ab501ef
build: Fix distcheck.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-16 20:11:21 +01:00
Józef Kucia
15b918acd5
build: Do not install vkd3d-compiler.
...
At this stage, vkd3d-compiler is useful only as an internal tool
for testing.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-15 17:51:30 +01:00
Józef Kucia
d51946d612
build: Do not build libvkd3d-shader as public library.
...
libvkd3d-shader interface is expected to be extended significantly.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-15 17:51:28 +01:00
Józef Kucia
41715a2f33
build: Use linker version scripts to control visibility.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-15 17:51:25 +01:00
Józef Kucia
0aef5f927e
tests: Add test for creating vkd3d instances.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-12 19:27:02 +01:00
Józef Kucia
abff3ca469
include: Prefix public header file names with vkd3d.
...
Prevents possible clashes when using vkd3d with external Win32 headers.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-15 16:27:34 +01:00
Józef Kucia
aa5d48eec4
demos: Get rid of handwritten GLSL shaders.
2017-07-28 15:26:09 +02:00
Henri Verbeet
0f9fa96ff1
build: Explicitly link the tests with libvkd3d.
...
For D3D12CreateRootSignatureDeserializer().
2017-07-20 14:54:36 +02:00
Henri Verbeet
7bdc8c3b25
include: Introduce dxgiformat.idl.
2017-07-10 16:32:01 +02:00
Henri Verbeet
0b656c8354
build: Add a pkg-config file for libvkd3d-utils.
2017-07-10 16:32:01 +02:00
Henri Verbeet
2f76b66a43
build: Explicitly link the demos with libvkd3d-shader.
...
As it turns out, Debian libtool sets link_all_deplibs=no, as opposed to
upstream's link_all_deplibs=unknown. Alternatively, we could override
link_all_deplibs in configure.ac.
2017-07-10 16:32:01 +02:00
Józef Kucia
c270d9a859
libs/vkd3d: Accept DXBC shaders.
2017-06-19 19:49:11 +02:00
Józef Kucia
1a5c6eaca1
build: Add LICENSE file to distribution.
2017-06-19 18:33:39 +02:00
Józef Kucia
786a31ca4e
libs/vkd3d-shader: Use libSPIRV-Tools for tracing and validating generated SPIR-V shaders.
...
SPIRV-Tools are an optional dependency.
We link with stdc++ because libSPIRV-Tools is a static library written
in C++.
2017-06-19 18:05:53 +02:00
Józef Kucia
eff8428c71
libs/vkd3d-common: Move vkd3d_array_reserve() from libvkd3d.
2017-06-19 18:05:53 +02:00
Józef Kucia
1f65d4ccc1
libs/vkd3d-shader: Add stub for SPIR-V generator.
2017-06-19 18:05:53 +02:00
Józef Kucia
31c6bfe24f
libs/vkd3d-shader: Import SM4+ bytecode parser from Wine.
2017-06-16 22:38:21 +02:00
Józef Kucia
fe13e35f72
programs/vkd3d-compiler: Add program.
...
Mostly for testing shader translation.
2017-06-16 22:38:21 +02:00
Józef Kucia
93458c8933
libs/vkd3d-shader: Add library.
2017-06-16 22:38:21 +02:00
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
Józef Kucia
f8c42d3148
build: Do not link everything with libvulkan.
2017-06-15 14:50:37 +02:00
Henri Verbeet
20508aee7c
demos/gears: Add a gears demo.
2016-11-13 00:55:54 +01:00
Henri Verbeet
f9805396d9
build: Use pkg-config to check for libxcb.
2016-11-03 12:54:10 +01: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
fa5b972371
demos/triangle: Add a demo program.
2016-10-24 13:57:05 +02:00
Henri Verbeet
110309b623
include: Add the IDXGISwapChain3 interface.
...
For cross-compilation of demos. Ideally we'd just depend on the MinGW-w64
headers for these, but we can't depend on those being new enough to include
these interfaces.
2016-10-24 13:57:04 +02:00
Henri Verbeet
c593e1a8ea
build: Generate cross_implibs EXTRA_DIST from cross_implibs.
2016-10-24 13:57:04 +02:00
Henri Verbeet
fcc9f9b294
libs/vkd3d: Merge vkd3d_vulkan.h into vkd3d_private.h.
2016-10-19 09:58:53 +02:00
Henri Verbeet
1be59ad2e3
build: Dependency tracking for crossbuilds.
2016-10-19 09:45:23 +02:00
Henri Verbeet
2057c4a31c
build: tests/d3d12 uses pthreads.
2016-10-19 09:40:40 +02:00
Józef Kucia
97a56e70af
build: Add vkd3d_test.h to dependencies of crosstest executables.
2016-10-17 14:24:22 +02:00
Józef Kucia
91b961c970
build: Include source files for crosslibs in distribution.
2016-10-13 12:20:24 +02:00
Józef Kucia
2215c72d55
build: Fix distcheck.
2016-10-13 12:19:48 +02:00
Józef Kucia
1548a1cfcf
build: Add all header files to source file list.
...
In order to fix 'make distcheck'.
2016-10-13 12:19:03 +02:00
Józef Kucia
858e0c79f1
include: Add public header for libvkd3d-utils.
2016-10-07 13:26:39 +02:00
Józef Kucia
12ea3309f0
libs/vkd3d-utils: Add library.
2016-10-07 13:26:39 +02:00
Józef Kucia
49cac8005c
libs/vkd3d-common: Add convenience library for shared code.
2016-10-07 13:26:39 +02:00
Józef Kucia
da02d21e8e
build: Check for pthreads.
2016-10-05 15:56:27 +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
Józef Kucia
aec10bd682
libs/vkd3d: Add ID3D12RootSignature 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
aea273550a
libs/vkd3d: Add ID3D12CommandQueue interface stub.
2016-09-21 17:46:03 +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
Józef Kucia
d6e2fe97a4
libs/vkd3d: Add ID3D12Device interface stub.
2016-09-21 12:57:24 +02:00
Józef Kucia
52164aa79b
libs/vkd3d: Implement simple debug logs.
2016-09-21 12:57:24 +02:00
Józef Kucia
40c42f7237
build: Add pkg-config file.
2016-09-21 12:57:24 +02:00
Józef Kucia
f8090a33dd
libs/vkd3d: Add library.
2016-09-21 12:57:24 +02:00
Józef Kucia
c5e3e7d1c3
include: Add d3d12.idl.
2016-09-21 12:57:24 +02:00
Józef Kucia
9f3ffd7287
build: Add initial Autotools files.
2016-09-21 09:05:15 +02:00