Skip to content

Commit

Permalink
build: Update to header 1.3.259
Browse files Browse the repository at this point in the history
- Update known-good
- Generate source
  • Loading branch information
mikes-lunarg committed Jul 24, 2023
1 parent 4854d84 commit 84b0aee
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# ~~~
cmake_minimum_required(VERSION 3.17.2)

project(VULKAN_LOADER VERSION 1.3.258)
project(VULKAN_LOADER VERSION 1.3.259)

add_subdirectory(scripts)

Expand Down
2 changes: 1 addition & 1 deletion loader/generated/vk_layer_dispatch_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ typedef struct VkLayerDispatchTable_ {

// ---- VK_NV_device_generated_commands_compute extension commands
PFN_vkGetPipelineIndirectMemoryRequirementsNV GetPipelineIndirectMemoryRequirementsNV;
PFN_vkCmdUpdatePipelineIndirectBuffer CmdUpdatePipelineIndirectBuffer;
PFN_vkCmdUpdatePipelineIndirectBufferNV CmdUpdatePipelineIndirectBufferNV;
PFN_vkGetPipelineIndirectDeviceAddressNV GetPipelineIndirectDeviceAddressNV;

// ---- VK_EXT_extended_dynamic_state3 extension commands
Expand Down
16 changes: 8 additions & 8 deletions loader/generated/vk_loader_extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ VKAPI_ATTR void VKAPI_CALL loader_init_device_extension_dispatch_table(struct lo

// ---- VK_NV_device_generated_commands_compute extension commands
table->GetPipelineIndirectMemoryRequirementsNV = (PFN_vkGetPipelineIndirectMemoryRequirementsNV)gdpa(dev, "vkGetPipelineIndirectMemoryRequirementsNV");
table->CmdUpdatePipelineIndirectBuffer = (PFN_vkCmdUpdatePipelineIndirectBuffer)gdpa(dev, "vkCmdUpdatePipelineIndirectBuffer");
table->CmdUpdatePipelineIndirectBufferNV = (PFN_vkCmdUpdatePipelineIndirectBufferNV)gdpa(dev, "vkCmdUpdatePipelineIndirectBufferNV");
table->GetPipelineIndirectDeviceAddressNV = (PFN_vkGetPipelineIndirectDeviceAddressNV)gdpa(dev, "vkGetPipelineIndirectDeviceAddressNV");

// ---- VK_EXT_extended_dynamic_state3 extension commands
Expand Down Expand Up @@ -2173,7 +2173,7 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_device_dispatch_table(const VkLayerDis

// ---- VK_NV_device_generated_commands_compute extension commands
if (!strcmp(name, "GetPipelineIndirectMemoryRequirementsNV")) return (void *)table->GetPipelineIndirectMemoryRequirementsNV;
if (!strcmp(name, "CmdUpdatePipelineIndirectBuffer")) return (void *)table->CmdUpdatePipelineIndirectBuffer;
if (!strcmp(name, "CmdUpdatePipelineIndirectBufferNV")) return (void *)table->CmdUpdatePipelineIndirectBufferNV;
if (!strcmp(name, "GetPipelineIndirectDeviceAddressNV")) return (void *)table->GetPipelineIndirectDeviceAddressNV;

// ---- VK_EXT_extended_dynamic_state3 extension commands
Expand Down Expand Up @@ -7477,18 +7477,18 @@ VKAPI_ATTR void VKAPI_CALL GetPipelineIndirectMemoryRequirementsNV(
disp->GetPipelineIndirectMemoryRequirementsNV(device, pCreateInfo, pMemoryRequirements);
}

VKAPI_ATTR void VKAPI_CALL CmdUpdatePipelineIndirectBuffer(
VKAPI_ATTR void VKAPI_CALL CmdUpdatePipelineIndirectBufferNV(
VkCommandBuffer commandBuffer,
VkPipelineBindPoint pipelineBindPoint,
VkPipeline pipeline) {
const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
if (NULL == disp) {
loader_log(NULL, VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
"vkCmdUpdatePipelineIndirectBuffer: Invalid commandBuffer "
"[VUID-vkCmdUpdatePipelineIndirectBuffer-commandBuffer-parameter]");
"vkCmdUpdatePipelineIndirectBufferNV: Invalid commandBuffer "
"[VUID-vkCmdUpdatePipelineIndirectBufferNV-commandBuffer-parameter]");
abort(); /* Intentionally fail so user can correct issue. */
}
disp->CmdUpdatePipelineIndirectBuffer(commandBuffer, pipelineBindPoint, pipeline);
disp->CmdUpdatePipelineIndirectBufferNV(commandBuffer, pipelineBindPoint, pipeline);
}

VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetPipelineIndirectDeviceAddressNV(
Expand Down Expand Up @@ -10122,8 +10122,8 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
*addr = (void *)GetPipelineIndirectMemoryRequirementsNV;
return true;
}
if (!strcmp("vkCmdUpdatePipelineIndirectBuffer", name)) {
*addr = (void *)CmdUpdatePipelineIndirectBuffer;
if (!strcmp("vkCmdUpdatePipelineIndirectBufferNV", name)) {
*addr = (void *)CmdUpdatePipelineIndirectBufferNV;
return true;
}
if (!strcmp("vkGetPipelineIndirectDeviceAddressNV", name)) {
Expand Down
4 changes: 2 additions & 2 deletions loader/loader.rc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include "winres.h"

// All set through CMake
#define VER_FILE_VERSION 1, 3, 258, 0
#define VER_FILE_DESCRIPTION_STR "1.3.258.Dev Build"
#define VER_FILE_VERSION 1, 3, 259, 0
#define VER_FILE_DESCRIPTION_STR "1.3.259.Dev Build"
#define VER_FILE_VERSION_STR "Vulkan Loader - Dev Build"
#define VER_COPYRIGHT_STR "Copyright (C) 2015-2023"

Expand Down
2 changes: 1 addition & 1 deletion scripts/known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sub_dir": "Vulkan-Headers",
"build_dir": "Vulkan-Headers/build",
"install_dir": "Vulkan-Headers/build/install",
"commit": "v1.3.258"
"commit": "v1.3.259"
},
{
"name": "googletest",
Expand Down

0 comments on commit 84b0aee

Please sign in to comment.