[Mesa-dev] [PATCH] anv: Fix make check build error.
Vinson Lee
vlee at freedesktop.org
Fri Apr 29 23:28:18 UTC 2016
CC block_pool_no_free.o
In file included from ../../../../src/intel/vulkan/anv_private.h:60:0,
from block_pool_no_free.c:26:
../../../../src/intel/vulkan/anv_entrypoints.h:162:69: error: unknown type name ‘VkXcbSurfaceCreateInfoKHR’
VkResult (*CreateXcbSurfaceKHR)(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
^
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95088
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/intel/vulkan/tests/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/intel/vulkan/tests/Makefile.am b/src/intel/vulkan/tests/Makefile.am
index ddff73c..ce2ae8f 100644
--- a/src/intel/vulkan/tests/Makefile.am
+++ b/src/intel/vulkan/tests/Makefile.am
@@ -18,10 +18,16 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+VULKAN_ENTRYPOINT_CPPFLAGS = -DVK_USE_PLATFORM_XCB_KHR
+if HAVE_EGL_PLATFORM_WAYLAND
+VULKAN_ENTRYPOINT_CPPFLAGS += -DVK_USE_PLATFORM_WAYLAND_KHR
+endif
+
AM_CPPFLAGS = \
$(INTEL_CFLAGS) \
$(VALGRIND_CFLAGS) \
$(DEFINES) \
+ $(VULKAN_ENTRYPOINT_CPPFLAGS) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/mapi \
--
2.7.4
More information about the mesa-dev
mailing list