Skip to content

Commit 174e949

Browse files
committed
build: Prepare for release 1.0.20
1 parent 8657448 commit 174e949

File tree

10 files changed

+264
-207
lines changed

10 files changed

+264
-207
lines changed

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@
1717
# ~~~
1818
cmake_minimum_required(VERSION 3.22.1)
1919

20+
option(VULKANSC "Build Vulkan SC validation layers" ON)
21+
2022
# The VERSION field is generated with the "--generated-version" flag in the generate_source.py script
2123
#
2224
# If working with unreleased extensions, make sure the header and validation version are all on the same header version
23-
project(VVL VERSION 1.4.330 LANGUAGES CXX)
25+
if(VULKANSC)
26+
project(VVL VERSION 1.0.20 LANGUAGES CXX) # vulkansc
27+
else()
28+
project(VVL VERSION 1.4.330 LANGUAGES CXX) # vulkan
29+
endif()
2430

25-
option(VULKANSC "Build Vulkan SC validation layers" ON)
2631
option(BUILD_WSI_SCREEN_QNX_SUPPORT "Build QNX screen support" OFF)
2732
option(BUILD_WSI_SCI_SUPPORT "Build SCI WSI support" OFF)
2833

layers/VkSCLayer_khronos_validation.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"prefix": "vvl",
66
"type": "GLOBAL",
77
"library_path": "@JSON_LIBRARY_PATH@",
8-
"api_version": "1.0.19",
8+
"api_version": "1.0.20",
99
"implementation_version": "1",
1010
"description": "Khronos Validation Layer",
1111
"introduction": "The main, comprehensive Khronos validation layer.\n\nVulkan SC is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal error checking is done inside a Vulkan SC driver. Applications have full control and responsibility for correct operation. Any errors in how Vulkan SC is used can result in a crash. \n\nThe Khronos Validation Layer can be enabled to assist development by enabling developers to verify their applications correctly use the Vulkan SC API.",

layers/vulkansc/generated/enum_flag_bits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <array>
2525
#include "vulkan/vulkan.h"
2626
// clang-format off
27-
const uint32_t GeneratedVulkanHeaderVersion = 19;
27+
const uint32_t GeneratedVulkanHeaderVersion = 20;
2828
const VkAccessFlags AllVkAccessFlagBits = VK_ACCESS_INDIRECT_COMMAND_READ_BIT|VK_ACCESS_INDEX_READ_BIT|VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT|VK_ACCESS_UNIFORM_READ_BIT|VK_ACCESS_INPUT_ATTACHMENT_READ_BIT|VK_ACCESS_SHADER_READ_BIT|VK_ACCESS_SHADER_WRITE_BIT|VK_ACCESS_COLOR_ATTACHMENT_READ_BIT|VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT|VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT|VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT|VK_ACCESS_TRANSFER_READ_BIT|VK_ACCESS_TRANSFER_WRITE_BIT|VK_ACCESS_HOST_READ_BIT|VK_ACCESS_HOST_WRITE_BIT|VK_ACCESS_MEMORY_READ_BIT|VK_ACCESS_MEMORY_WRITE_BIT|VK_ACCESS_NONE|VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT|VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR;
2929
const VkImageAspectFlags AllVkImageAspectFlagBits = VK_IMAGE_ASPECT_COLOR_BIT|VK_IMAGE_ASPECT_DEPTH_BIT|VK_IMAGE_ASPECT_STENCIL_BIT|VK_IMAGE_ASPECT_METADATA_BIT|VK_IMAGE_ASPECT_PLANE_0_BIT|VK_IMAGE_ASPECT_PLANE_1_BIT|VK_IMAGE_ASPECT_PLANE_2_BIT|VK_IMAGE_ASPECT_NONE|VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT|VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT;
3030
const VkDeviceQueueCreateFlags AllVkDeviceQueueCreateFlagBits = VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT;

layers/vulkansc/generated/vk_validation_error_messages.h

Lines changed: 246 additions & 194 deletions
Large diffs are not rendered by default.

scripts/generate_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def main(argv):
568568
with open(repo_relative('CMakeLists.txt'), "r+") as f:
569569
data = f.read()
570570
f.seek(0)
571-
f.write(re.sub("project.*VERSION.*", f"project(VVL VERSION {args.generated_version} LANGUAGES CXX)", data))
571+
f.write(re.sub(f"project.*VERSION.*# {args.api}", f"project(VVL VERSION {args.generated_version} LANGUAGES CXX) # {args.api}", data))
572572
f.truncate()
573573

574574
return 0

scripts/known_good.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"cmake_options": [
2020
"-DGEN_VULKANSC_COMBINED=ON"
2121
],
22-
"commit": "bf0610365d145d59daad3027ffef1a254e6169f9"
22+
"commit": "vksc1.0.20"
2323
},
2424
{
2525
"name": "Vulkan-Utility-Libraries",
@@ -43,7 +43,7 @@
4343
"sub_dir": "Vulkan-Utility-Libraries",
4444
"build_dir": "Vulkan-Utility-Libraries/build",
4545
"install_dir": "Vulkan-Utility-Libraries/build/install",
46-
"commit": "2113791e647967a1034b2f39f1c0d829c38e3aaa",
46+
"commit": "vksc1.0.20",
4747
"deps": [
4848
{
4949
"var_name": "VULKAN_HEADERS_INSTALL_DIR",
@@ -140,7 +140,7 @@
140140
"sub_dir": "Vulkan-Loader",
141141
"build_dir": "Vulkan-Loader/build",
142142
"install_dir": "Vulkan-Loader/build/install",
143-
"commit": "68ba57b3ccfc32d8c04f15ed36a197ec569e0433",
143+
"commit": "vksc1.0.20",
144144
"build_step": "skip",
145145
"optional": [
146146
"tests"
@@ -166,7 +166,7 @@
166166
"sub_dir": "Vulkan-Tools",
167167
"build_dir": "Vulkan-Tools/build",
168168
"install_dir": "Vulkan-Tools/build/install",
169-
"commit": "e5e0130918b9a0361b8473872e43236253703ce8",
169+
"commit": "vksc1.0.20",
170170
"build_step": "skip",
171171
"optional": [
172172
"tests"

tests/icd/VVL_Test_ICD_vksc.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"file_format_version": "1.0.1",
33
"ICD": {
44
"library_path": "@JSON_LIBRARY_PATH@",
5-
"api_version": "1.0.19"
5+
"api_version": "1.0.20"
66
}
77
}

tests/vulkansc/device_profiles/max_core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"profiles": {
44
"MAX_CORE": {
55
"version": 1,
6-
"api-version": "1.0.19",
6+
"api-version": "1.0.20",
77
"label": "Max Vulkan SC Core",
88
"description": "Max Vulkan SC Core profile",
99
"contributors": {},

tests/vulkansc/device_profiles/max_profile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"profiles": {
44
"MAX_PROFILE": {
55
"version": 1,
6-
"api-version": "1.0.19",
6+
"api-version": "1.0.20",
77
"label": "Max Vulkan SC Profile",
88
"description": "Profile that supports everything possible",
99
"contributors": {},

tests/vulkansc/device_profiles/min_core.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"profiles": {
44
"MIN_CORE": {
55
"version": 1,
6-
"api-version": "1.0.19",
6+
"api-version": "1.0.20",
77
"label": "Min Vulkan SC Core",
88
"description": "Min Vulkan SC Core profile",
99
"contributors": {},

0 commit comments

Comments
 (0)