vulkan-cts: 1.3.7.0 -> 1.3.7.2

Changelog: https://github.com/KhronosGroup/VK-GL-CTS/releases/tag/vulkan-cts-1.3.7.1
Changelog: https://github.com/KhronosGroup/VK-GL-CTS/releases/tag/vulkan-cts-1.3.7.2

Also add an test that runs a simple cts test with lavapipe.
This commit is contained in:
Sebastian Neubauer 2023-11-29 17:37:04 +01:00
parent 8cfef6986a
commit 778c8225ba
2 changed files with 12 additions and 4 deletions

View file

@ -1,6 +1,7 @@
{ lib, stdenv
, fetchFromGitHub
, fetchurl
, runCommand
, cmake
, ffmpeg_4
, libdrm
@ -12,6 +13,7 @@
, libXdmcp
, libxcb
, makeWrapper
, mesa
, ninja
, pkg-config
, python3
@ -37,13 +39,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "vulkan-cts";
version = "1.3.7.0";
version = "1.3.7.2";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "VK-GL-CTS";
rev = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-f7i7gytk3cKeFQD0FR+nrUR2o0FWaJWKG7OpDz9u42E=";
hash = "sha256-TnHFCEGKgn1U00aUDMX7UEWSeTjzysmX7rOQCZTL8FU=";
};
prePatch = ''
@ -104,6 +106,12 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru.updateScript = ./update.sh;
passthru.tests.lavapipe = runCommand "vulkan-cts-tests-lavapipe" { nativeBuildInputs = [ finalAttrs.finalPackage ]; } ''
# Expand the wildcard to pick the existing architecture
export VK_ICD_FILENAMES=$(echo ${mesa.drivers}/share/vulkan/icd.d/lvp_icd.*.json)
deqp-vk -n dEQP-VK.api.smoke.triangle
touch $out
'';
meta = with lib; {
description = "Khronos Vulkan Conformance Tests";

View file

@ -32,8 +32,8 @@ rec {
nvidia-video-samples = fetchFromGitHub {
owner = "Igalia";
repo = "vk_video_samples";
rev = "cts-integration-0.9.9-1";
hash = "sha256-vHUyGAx/n8yTnrFjeefbb8LsHxONxsjH3BG2D/RO99E=";
rev = "cts-integration-0.9.9-2";
hash = "sha256-ftHhb5u3l7WbgEu6hHynBnvNbVOn5TFne915M17jiAQ=";
};
spirv-headers = fetchFromGitHub {