Skip to content

Commit

Permalink
build: Update to header 1.4.307
Browse files Browse the repository at this point in the history
  • Loading branch information
mikes-lunarg authored and spencer-lunarg committed Jan 31, 2025
1 parent cc3e5e3 commit c3dc948
Show file tree
Hide file tree
Showing 48 changed files with 2,649 additions and 70 deletions.
2 changes: 1 addition & 1 deletion layers/VkLayer_khronos_validation.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "@JSON_LAYER_NAME@",
"type": "GLOBAL",
"library_path": "@JSON_LIBRARY_PATH@",
"api_version": "1.4.306",
"api_version": "1.4.307",
"implementation_version": "1",
"description": "Khronos Validation Layer",
"introduction": "The main, comprehensive Khronos validation layer.\n\nVulkan is an Explicit API, enabling direct control over how GPUs actually work. By design, minimal error checking is done inside a Vulkan driver. Applications have full control and responsibility for correct operation. Any errors in how Vulkan 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 API.",
Expand Down
3 changes: 3 additions & 0 deletions layers/core_checks/cc_descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2194,6 +2194,9 @@ bool CoreChecks::VerifyWriteUpdateContents(const vvl::DescriptorSet &dst_set, co
}

} break;
case VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV:
// TODO
break;
// KHR acceleration structures don't require memory to be bound manually to them.
case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR:
case VK_DESCRIPTOR_TYPE_MUTABLE_EXT:
Expand Down
3 changes: 3 additions & 0 deletions layers/object_tracker/object_tracker_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ bool Device::ValidateDescriptorWrite(VkWriteDescriptorSet const *desc, bool isPu
// handled in core check because need to know if using immutable samplers or not
case VK_DESCRIPTOR_TYPE_SAMPLER:

// VkWriteDescriptorSetPartitionedAccelerationStructureNV contains no VkObjects to validate
case VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV:

// TODO - These need to be checked as well
case VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK:
case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV:
Expand Down
4 changes: 4 additions & 0 deletions layers/state_tracker/descriptor_sets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "state_tracker/descriptor_sets.h"
#include <vulkan/vk_enum_string_helper.h>
#include <vulkan/vulkan_core.h>
#include "state_tracker/image_state.h"
#include "state_tracker/buffer_state.h"
#include "state_tracker/cmd_buffer_state.h"
Expand Down Expand Up @@ -166,6 +167,9 @@ vvl::DescriptorClass vvl::DescriptorTypeToClass(VkDescriptorType type) {
return DescriptorClass::AccelerationStructure;
case VK_DESCRIPTOR_TYPE_MUTABLE_EXT:
return DescriptorClass::Mutable;
case VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV:
// TODO
break;
case VK_DESCRIPTOR_TYPE_MAX_ENUM:
break;
}
Expand Down
16 changes: 16 additions & 0 deletions layers/vulkan/generated/best_practices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,22 @@ void BestPractices::PostCallRecordGetFramebufferTilePropertiesQCOM(VkDevice devi
bp_state::LogResult(*this, device, record_obj);
}

void bp_state::Instance::PostCallRecordGetPhysicalDeviceCooperativeVectorPropertiesNV(VkPhysicalDevice physicalDevice,
uint32_t* pPropertyCount,
VkCooperativeVectorPropertiesNV* pProperties,
const RecordObject& record_obj) {
BaseClass::PostCallRecordGetPhysicalDeviceCooperativeVectorPropertiesNV(physicalDevice, pPropertyCount, pProperties,
record_obj);
bp_state::LogResult(*this, physicalDevice, record_obj);
}

void BestPractices::PostCallRecordConvertCooperativeVectorMatrixNV(VkDevice device,
const VkConvertCooperativeVectorMatrixInfoNV* pInfo,
const RecordObject& record_obj) {
BaseClass::PostCallRecordConvertCooperativeVectorMatrixNV(device, pInfo, record_obj);
bp_state::LogResult(*this, device, record_obj);
}

void BestPractices::PostCallRecordSetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain,
const VkLatencySleepModeInfoNV* pSleepModeInfo,
const RecordObject& record_obj) {
Expand Down
3 changes: 3 additions & 0 deletions layers/vulkan/generated/best_practices_device_methods.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,9 @@ void PostCallRecordGetShaderBinaryDataEXT(VkDevice device, VkShaderEXT shader, s
void PostCallRecordGetFramebufferTilePropertiesQCOM(VkDevice device, VkFramebuffer framebuffer, uint32_t* pPropertiesCount,
VkTilePropertiesQCOM* pProperties, const RecordObject& record_obj) override;

void PostCallRecordConvertCooperativeVectorMatrixNV(VkDevice device, const VkConvertCooperativeVectorMatrixInfoNV* pInfo,
const RecordObject& record_obj) override;

void PostCallRecordSetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain, const VkLatencySleepModeInfoNV* pSleepModeInfo,
const RecordObject& record_obj) override;

Expand Down
4 changes: 4 additions & 0 deletions layers/vulkan/generated/best_practices_instance_methods.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ void PostCallRecordGetPhysicalDeviceOpticalFlowImageFormatsNV(VkPhysicalDevice p
VkOpticalFlowImageFormatPropertiesNV* pImageFormatProperties,
const RecordObject& record_obj) override;

void PostCallRecordGetPhysicalDeviceCooperativeVectorPropertiesNV(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount,
VkCooperativeVectorPropertiesNV* pProperties,
const RecordObject& record_obj) override;

void PostCallRecordGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(
VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixFlexibleDimensionsPropertiesNV* pProperties,
const RecordObject& record_obj) override;
Expand Down
Loading

0 comments on commit c3dc948

Please sign in to comment.