Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@

# Release Notes

## [Vulkan Profiles Tools 1.4.XXX](https://github.com/KhronosGroup/Vulkan-Profiles/tree/sdk-1.4.XXX.0) - February 2026
## [Vulkan Profiles Tools 1.4.XXX](https://github.com/KhronosGroup/Vulkan-Profiles/tree/main) - May 2026

### Features:
- Add Vulkan 1.4 minimum requirements profile

### Bugfixes:
- Fix Vulkan Profiles library crash when checking capabilities of unsupported extensions

## [Vulkan Profiles Tools 1.4.341](https://github.com/KhronosGroup/Vulkan-Profiles/tree/sdk-1.4.341.0) - February 2026

### Features:
- Add VP_ANDROID_17_requirements and VP_ANDROID_vulkan_profile_2025 profiles
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ~~~
# Copyright (c) 2020-2025 LunarG, Inc.
# Copyright (c) 2020-2026 LunarG, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion layer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ~~~
# Copyright (c) 2021-2025 LunarG, Inc.
# Copyright (c) 2021-2026 LunarG, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2015-2025 Valve Corporation
* Copyright (C) 2015-2025 LunarG, Inc.
* Copyright (C) 2015-2026 Valve Corporation
* Copyright (C) 2015-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_interface.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_interface.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_json.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_json.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_settings.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_settings.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
* Copyright (c) 2024 RasterGrid Kft.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_util.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_util.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2022-2025 Valve Corporation
* Copyright (C) 2022-2025 LunarG, Inc.
* Copyright (C) 2022-2026 Valve Corporation
* Copyright (C) 2022-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion layer/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ~~~
# Copyright (c) 2021-2024 Valve Corporation
# Copyright (c) 2021-2025 LunarG, Inc.
# Copyright (c) 2021-2026 LunarG, Inc.
# Copyright (c) 2024 RasterGrid Kft.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/profiles_test_helper.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021-2025 Valve Corporation
* Copyright (c) 2021-2025 LunarG, Inc.
* Copyright (c) 2021-2026 Valve Corporation
* Copyright (c) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_combine_intersection.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
* Copyright (c) 2024 RasterGrid Kft.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_combine_union.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
* Copyright (c) 2024 RasterGrid Kft.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_mechanism.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_mechanism_api_version.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_mechanism_check_values.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_mechanism_format.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_mechanism_video_profiles.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
* Copyright (c) 2024 RasterGrid Kft.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/tests_promoted.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021-2025 Valve Corporation
* Copyright (C) 2021-2025 LunarG, Inc.
* Copyright (C) 2021-2026 Valve Corporation
* Copyright (C) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/tests/vktestframework.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2015-2025 The Khronos Group Inc.
* Copyright (c) 2015-2025 Valve Corporation
* Copyright (c) 2015-2025 LunarG, Inc.
* Copyright (c) 2015-2026 Valve Corporation
* Copyright (c) 2015-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions layer/vk_layer_table.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2015-2025 The Khronos Group Inc.
* Copyright (c) 2015-2025 Valve Corporation
* Copyright (c) 2015-2025 LunarG, Inc.
* Copyright (c) 2015-2026 Valve Corporation
* Copyright (c) 2015-2026 LunarG, Inc.
* Copyright (c) 2015-2025 Google, Inc.
* Copyright (c) 2023-2023 RasterGrid Kft.
*
Expand Down
4 changes: 2 additions & 2 deletions layer/vk_layer_table.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2015-2025 The Khronos Group Inc.
* Copyright (c) 2015-2025 Valve Corporation
* Copyright (c) 2015-2025 LunarG, Inc.
* Copyright (c) 2015-2026 Valve Corporation
* Copyright (c) 2015-2026 LunarG, Inc.
* Copyright (c) 2023-2023 RasterGrid Kft.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion library/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ~~~
# Copyright (c) 2021-2025 LunarG, Inc.
# Copyright (c) 2021-2026 LunarG, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
16 changes: 11 additions & 5 deletions library/test/test_api_create_device.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021-2025 Valve Corporation
* Copyright (c) 2021-2025 LunarG, Inc.
* Copyright (c) 2021-2026 Valve Corporation
* Copyright (c) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -92,6 +92,14 @@ TEST(api_create_device_profile, check_support_vulkan_1_3) {
EXPECT_TRUE(supported == VK_TRUE);
}

TEST(api_create_device_profile, check_support_vulkan_1_4) {
const VpProfileProperties profile = {VP_LUNARG_MINIMUM_REQUIREMENTS_1_4_NAME, VP_LUNARG_MINIMUM_REQUIREMENTS_1_4_SPEC_VERSION};

VkBool32 supported = VK_FALSE;
VkResult result = vpGetPhysicalDeviceProfileSupport(scaffold->instance, scaffold->physicalDevice, &profile, &supported);
EXPECT_TRUE(result == VK_SUCCESS);
}

#ifdef VKU_FORCE_EXTRA_TESTS
TEST(api_create_device_profile, check_support_desktop_2022) {
const VpProfileProperties profile = {VP_LUNARG_DESKTOP_BASELINE_2022_NAME, VP_LUNARG_DESKTOP_BASELINE_2022_SPEC_VERSION};
Expand Down Expand Up @@ -144,7 +152,6 @@ TEST(api_create_device_profile, check_support_roadmap_2026) {
VkBool32 supported = VK_FALSE;
VkResult result = vpGetPhysicalDeviceProfileSupport(scaffold->instance, scaffold->physicalDevice, &profile, &supported);
EXPECT_TRUE(result == VK_SUCCESS);
EXPECT_TRUE(supported == VK_TRUE);
}

TEST(api_create_device_profile, create_roadmap_2022) {
Expand Down Expand Up @@ -221,8 +228,7 @@ TEST(api_create_device_profile, create_roadmap_2026) {

VkDevice device = VK_NULL_HANDLE;
VkResult res = vpCreateDevice(scaffold->physicalDevice, &profileInfo, nullptr, &device);
EXPECT_TRUE(res == VK_SUCCESS);
EXPECT_TRUE(device != VK_NULL_HANDLE);
EXPECT_TRUE(res == VK_SUCCESS || res == VK_ERROR_EXTENSION_NOT_PRESENT);
}

TEST(api_create_device_profile, overrite_with_profile_only) {
Expand Down
29 changes: 13 additions & 16 deletions library/test/test_api_profile_object.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021-2025 Valve Corporation
* Copyright (c) 2021-2025 LunarG, Inc.
* Copyright (c) 2021-2026 Valve Corporation
* Copyright (c) 2021-2026 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -302,24 +302,23 @@ TEST(api_capabilities_object, get_profile_feature_structure_types) {

const VpProfileProperties profileProperties = {VP_KHR_ROADMAP_2022_NAME, VP_KHR_ROADMAP_2022_SPEC_VERSION};

uint32_t propertyCount = 0;
uint32_t featureCount = 0;
VkResult result0 = vpGetProfileFeatureStructureTypes(
object.handle, &profileProperties, nullptr, &propertyCount, nullptr);
object.handle, &profileProperties, nullptr, &featureCount, nullptr);
EXPECT_EQ(VK_SUCCESS, result0);
EXPECT_EQ(4, propertyCount);

propertyCount = 5;
EXPECT_EQ(5, featureCount);

std::vector<VkStructureType> properties(propertyCount);
std::vector<VkStructureType> features(featureCount);
VkResult result1 = vpGetProfileFeatureStructureTypes(
object.handle, &profileProperties, nullptr, &propertyCount, &properties[0]);
object.handle, &profileProperties, nullptr, &featureCount, &features[0]);
EXPECT_EQ(VK_SUCCESS, result1);
EXPECT_EQ(4, propertyCount);
EXPECT_EQ(5, featureCount);

EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, properties[0]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, properties[1]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES, properties[2]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, properties[3]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, features[0]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, features[1]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES, features[2]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, features[3]);
EXPECT_EQ(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES, features[4]);
}

TEST(api_capabilities_object, get_profile_Property_structure_types) {
Expand All @@ -333,8 +332,6 @@ TEST(api_capabilities_object, get_profile_Property_structure_types) {
EXPECT_EQ(VK_SUCCESS, result0);
EXPECT_EQ(4, propertyCount);

propertyCount = 5;

std::vector<VkStructureType> properties(propertyCount);
VkResult result1 = vpGetProfilePropertyStructureTypes(
object.handle, &profileProperties, nullptr, &propertyCount, &properties[0]);
Expand Down
Loading