vkmark: add recipe for Vulkan graphics benchmark

Add an initial recipe for vkmark to enable Vulkan performance testing.
This tool allows for benchmarking various Vulkan rendering scenes and
can be used to validate graphics drivers on target hardware.

Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ashwin Prabhakar 2026-06-13 06:43:08 +02:00 committed by Khem Raj
parent 66334be9e2
commit e8ce5adaf1
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,31 @@
SUMMARY = "Vulkan benchmark"
DESCRIPTION = "vkmark is an extensible Vulkan benchmarking suite with targeted, configurable scenes."
HOMEPAGE = "https://github.com/vkmark/vkmark"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING-LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/vkmark/vkmark.git;protocol=https;branch=master"
SRCREV = "83a128d65b1adddfacb4fa2e555a7e90817a7266"
PV = "2025.01+git${SRCPV}"
inherit meson pkgconfig
DEPENDS = " \
assimp \
glm \
vulkan-loader \
"
PACKAGECONFIG ??= "xcb wayland kms"
PACKAGECONFIG[xcb] = "-Dxcb=true,-Dxcb=false,libxcb xcb-util-wm"
PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland wayland-native wayland-protocols"
PACKAGECONFIG[kms] = "-Dkms=true,-Dkms=false,libdrm virtual/libgbm"
FILES:${PN} += " \
${libdir}/vkmark/*.so \
${datadir}/vkmark \
${mandir}/man1/vkmark.1* \
"