Commit Graph

108 Commits

Author SHA1 Message Date
Józef Kucia
574cacdf15 build: Simplify DL_LIBS handling.
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-19 18:42:32 +01:00
Józef Kucia
fa5a15c961 build: Fix pthread 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-03-19 18:42:03 +01:00
Józef Kucia
4cdbcbd85f vkd3d: Do not require dlfcn.
For Windows builds.

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-19 18:41:42 +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
Józef Kucia
5759cb52e0 vkd3d: Enable VK_EXT_transform_feedback.
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-14 20:31:01 +01:00
Józef Kucia
93676365b7 build: Check VK_HEADER_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-10-29 17:08:38 +01:00
Józef Kucia
ecda316ef5 Release 1.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-10-05 13:48:18 -05:00
Chip Davis
dc2dbffc2c build: Add support for MoltenVK.
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:33 +02:00
Chip Davis
61697e092a build: Detect soname of libvulkan at configure time.
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:04:48 +02:00
Józef Kucia
94f85114c5 build: Make libxcb optional.
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:04:34 +02:00
Józef Kucia
b5d2374ff3 build: Add a line about demos to the configure summary.
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-20 09:54:09 +02:00
Józef Kucia
d9858b63b9 build: Check how many arguments pthread_setname_np() takes.
Based on a patch by Chip Davis.

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:03:44 +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
Józef Kucia
89a2dc46dd libs/vkd3d: Set names for internal threads.
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:48 +02:00
Józef Kucia
04b9d192df build: Remove portable/ directory.
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-11 16:46:11 +02:00
Alexandre Julliard
020c119e2d Release 1.0.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 19:19:15 +02:00
Józef Kucia
b901d72877 build: Improve SPIR-V headers detection.
Allows building with Vulkan SDK.

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-16 22:00:10 +02:00
Józef Kucia
ccc49fe00d libs/vkd3d-shader: Use unified SPIR-V 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-16 22:00:04 +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
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
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
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
54dd321729 build: Add VKD3D_CHECK_FUNC() macro.
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-11 22:31:40 +01:00
Józef Kucia
ee8eb9b4e4 libs/vkd3d: Validate miplevel count while creating resources.
vkd3d_log2i() is imported 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-01-11 22:31:33 +01:00
Józef Kucia
ad8e27166a build: Use AC_USE_SYSTEM_EXTENSIONS instead of ugly AC_EGREP_CPP test.
In order to use C functions which are not part of C99, e.g. strdup()
and strncmp().

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-14 13:38:49 +01:00
Józef Kucia
09658e3b9b build: Use __builtin_popcount() if available. 2017-09-08 15:04:30 +02:00
Józef Kucia
aa5d48eec4 demos: Get rid of handwritten GLSL shaders. 2017-07-28 15:26:09 +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
e0c9692c5e build: Check for SPIR-V headers. 2017-06-16 22:38:21 +02:00
Józef Kucia
ad465999ad build: Enable POSIX.1-2008 functionality.
For strnlen().
2017-06-16 22:38:21 +02:00
Józef Kucia
f8c42d3148 build: Do not link everything with libvulkan. 2017-06-15 14:50:37 +02:00
Henri Verbeet
3f05f65dbc build: Avoid underlinking. 2017-06-12 18:16:05 +02:00
Henri Verbeet
6e6453cadd Release 0.0.1. 2016-11-21 15:40:30 +01:00
Henri Verbeet
9242c12c51 build: Simplify/fix the XCB pkg-config check. 2016-11-03 13:15:41 +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
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
Józef Kucia
af9ef75919 build: Fix check for glslangValidator. 2016-10-28 11:50:22 +02:00
Henri Verbeet
fa5b972371 demos/triangle: Add a demo program. 2016-10-24 13:57:05 +02:00
Henri Verbeet
b03965d955 build: Build .xz archives by default. 2016-10-19 09:41:19 +02:00
Józef Kucia
d7e9ceff28 build: Always quote macro arguments.
For consistency.
2016-10-10 11:22:50 +02:00
Józef Kucia
c107bebb77 build: Use "no" instead of "false" as value of MinGW configuration variables.
Mostly for consistency with AC_CHECK_PROG() call.
2016-10-10 11:22:50 +02:00
Józef Kucia
b614ec843b build: Print info about cross compilers. 2016-10-10 11:22:50 +02:00
Józef Kucia
10bfe2d675 build: Mark CROSSCC32 and CROSSCC64 as precious variables. 2016-10-10 11:22:50 +02:00
Józef Kucia
6523844af8 build: Check for cross compilers when checking for other programs. 2016-10-10 11:22:50 +02:00
Józef Kucia
da02d21e8e build: Check for pthreads. 2016-10-05 15:56:27 +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
a42d85ea21 build: Prefer AS_IF macro rather than shell if statement. 2016-09-28 15:24:03 +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
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
6bebee9a09 build: Add "crosstest" target for tests cross-compilation. 2016-09-21 12:57:24 +02:00
Józef Kucia
db41f92040 libs/vkd3d: Add vkd3d_common.h. 2016-09-21 12:57:24 +02:00
Józef Kucia
449b2010b0 include: Add minimal windows.h replacement. 2016-09-21 12:57:24 +02:00
Józef Kucia
489e667057 build: Fix VKD3D_CFLAGS typo. 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