[Piglit] [PATCH 3/8] util: Add a libutil_vulkan library

Neil Roberts nroberts at igalia.com
Wed Apr 4 22:56:50 UTC 2018


This is currently no different from libutil but it is added anyway to
match the other APIs.
---
 tests/util/CMakeLists.vulkan.txt | 15 +++++++++++++++
 tests/util/piglit-util-vulkan.c  |  1 +
 2 files changed, 16 insertions(+)
 create mode 100644 tests/util/CMakeLists.vulkan.txt
 create mode 100644 tests/util/piglit-util-vulkan.c

diff --git a/tests/util/CMakeLists.vulkan.txt b/tests/util/CMakeLists.vulkan.txt
new file mode 100644
index 000000000..05db785e4
--- /dev/null
+++ b/tests/util/CMakeLists.vulkan.txt
@@ -0,0 +1,15 @@
+include_directories(
+	${UTIL_INCLUDES}
+	${VULKAN_INCLUDE_PATH}
+	)
+
+link_libraries(
+	piglitutil
+	${link_opts}
+	)
+
+piglit_add_library (piglitutil_${piglit_target_api}
+	piglit-util-vulkan.c
+)
+
+# vim: ft=cmake:
diff --git a/tests/util/piglit-util-vulkan.c b/tests/util/piglit-util-vulkan.c
new file mode 100644
index 000000000..9e4274691
--- /dev/null
+++ b/tests/util/piglit-util-vulkan.c
@@ -0,0 +1 @@
+/* STUB */
-- 
2.14.3



More information about the Piglit mailing list