summaryrefslogtreecommitdiffstats
path: root/rules/vulkan-tools.in
blob: 4ef89554190acbdd3d53e51bf52d8c74135179b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## SECTION=multimedia_libs

config VULKAN_TOOLS
	tristate
	prompt "vulkan-tools"
	select HOST_CMAKE
	select HOST_GLSLANG
	select VULKAN_LOADER
	select VOLK			if BUILDTIME
	select LIBXCB			if VULKAN_TOOLS_XCB
	select XORG_LIB_X11		if VULKAN_TOOLS_XCB
	select WAYLAND			if VULKAN_TOOLS_WAYLAND
	select WAYLAND_PROTOCOLS	if VULKAN_TOOLS_WAYLAND
	help
	  Vulkan Utilities and Tools

if VULKAN_TOOLS

config VULKAN_TOOLS_CUBE
	bool
	# build system does not allow cross-compilation of the cube examples
	depends on BROKEN
	prompt "install vkcube"
	help
	  Install vkcube and vkcubepp examples.

config VULKAN_TOOLS_XCB
	bool
	default y if VULKAN_LOADER_XCB

config VULKAN_TOOLS_WAYLAND
	bool
	default y if VULKAN_LOADER_WAYLAND

endif