61 Commits

Author SHA1 Message Date
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