mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-27 12:01:38 +01:00
Upgrade Vulkan CTS, adding support for new extensions and fixing some older bugs, e.g. compatibility with ARMv7 (thus dropping the patches, applied upstream) or with Vulkan 1.0. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
801 B
BlitzBasic
26 lines
801 B
BlitzBasic
DESCRIPTION = "Vulkan CTS"
|
|
|
|
require khronos-cts.inc
|
|
|
|
SRCREV_vk-gl-cts = "db74f486c9d0594bc997f8f79521b424708ba8da"
|
|
|
|
require vulkan-cts-sources.inc
|
|
|
|
# Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
|
|
OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "vulkan"
|
|
inherit features_check
|
|
|
|
DEPENDS += " vulkan-loader"
|
|
|
|
EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc""
|
|
|
|
do_install() {
|
|
install -d ${D}/${CTSDIR}/mustpass
|
|
cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/
|
|
cp -r ${S}/external/vulkancts/mustpass/main/ ${D}/${CTSDIR}/mustpass/
|
|
rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
|
|
rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
|
|
}
|