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