On 04.10.2016 03:48, Dave Airlie wrote:
From: Dave Airlie <airl...@redhat.com>
This moves some of the llvm checks around to allow them
to be used for non-gallium drivers as well.
radv requires llvm 3.9.0 as vulkan requires compute shaders.
Authors: Bas Nieuwenhuizen and Dave Airlie
Signed-off-by: Dave Airlie <airl...@redhat.com>
---
configure.ac | 33 ++++++++++++++++++++++++++-------
src/Makefile.am | 7 ++++++-
2 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1bfac3b..634f3c3 100644
--- a/configure.ac
+++ b/configure.ac
[snip]
diff --git a/src/Makefile.am b/src/Makefile.am
index 551f431..6a35f19 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,7 +50,7 @@ SUBDIRS = . gtest util mapi/glapi/gen mapi
# include only conditionally ?
SUBDIRS += compiler
-if HAVE_GALLIUM_RADEON_COMMON
+if HAVE_AMD_DRIVERS
SUBDIRS += amd
endif
@@ -96,6 +96,11 @@ if HAVE_INTEL_VULKAN
SUBDIRS += intel/vulkan
endif
+if HAVE_RADEON_VULKAN
+SUBDIRS += amd/common
You may already want to move this under HAVE_AMD_DRIVERS for future code
sharing. Either way, this patch is
Reviewed-by: Nicolai Hähnle <nicolai.haeh...@amd.com>
+SUBDIRS += amd/vulkan
+endif
+
if HAVE_GALLIUM
SUBDIRS += gallium
endif
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev