build: Use __builtin_popcount() if available.

This commit is contained in:
Józef Kucia
2017-09-08 15:04:30 +02:00
parent d9bc635d1a
commit 09658e3b9b
3 changed files with 15 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ AS_IF([test "x$with_spirv_tools" = "xyes"],
PKG_CHECK_MODULES([XCB], [xcb xcb-keysyms])
dnl Check for functions
VKD3D_CHECK_BUILTIN_POPCOUNT
VKD3D_CHECK_SYNC_ADD_AND_FETCH_FUNC
VKD3D_CHECK_SYNC_SUB_AND_FETCH_FUNC