Skip to content

Commit 8506dcd

Browse files
headerbot[bot]spencer-lunarg
authored andcommitted
build: Update to header v1.4.349
1 parent 394c855 commit 8506dcd

37 files changed

+690
-69
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 3.22.1)
1919
# The VERSION field is generated with the "--generated-version" flag in the generate_source.py script
2020
#
2121
# If working with unreleased extensions, make sure the header and validation version are all on the same header version
22-
project(VVL VERSION 1.4.348 LANGUAGES CXX)
22+
project(VVL VERSION 1.4.349 LANGUAGES CXX)
2323

2424
# This variable enables downstream users to customize the target API
2525
# variant (e.g. Vulkan SC)

layers/VkLayer_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.4.348",
8+
"api_version": "1.4.349",
99
"implementation_version": "1",
1010
"description": "Khronos Validation Layer",
1111
"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.",

layers/vulkan/generated/best_practices.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,14 @@ void BestPractices::PostCallRecordGetShaderInstrumentationValuesARM(VkDevice dev
19991999
bp_state::LogResult(*this, device, record_obj);
20002000
}
20012001

2002+
void bp_state::Instance::PostCallRecordGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
2003+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
2004+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
2005+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
2006+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties, const RecordObject& record_obj) {
2007+
bp_state::LogResult(*this, physicalDevice, record_obj);
2008+
}
2009+
20022010
#ifdef VK_USE_PLATFORM_UBM_SEC
20032011
void bp_state::Instance::PostCallRecordCreateUbmSurfaceSEC(VkInstance instance, const VkUbmSurfaceCreateInfoSEC* pCreateInfo,
20042012
const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface,

layers/vulkan/generated/best_practices_instance_methods.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,12 @@ void PostCallRecordEnumeratePhysicalDeviceShaderInstrumentationMetricsARM(
359359
VkPhysicalDevice physicalDevice, uint32_t* pDescriptionCount, VkShaderInstrumentationMetricDescriptionARM* pDescriptions,
360360
const RecordObject& record_obj) override;
361361

362+
void PostCallRecordGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
363+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
364+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
365+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
366+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties, const RecordObject& record_obj) override;
367+
362368
#ifdef VK_USE_PLATFORM_UBM_SEC
363369
void PostCallRecordCreateUbmSurfaceSEC(VkInstance instance, const VkUbmSurfaceCreateInfoSEC* pCreateInfo,
364370
const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface,

layers/vulkan/generated/chassis.cpp

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36083,6 +36083,63 @@ VKAPI_ATTR void VKAPI_CALL CmdBeginCustomResolveEXT(VkCommandBuffer commandBuffe
3608336083
}
3608436084
}
3608536085

36086+
VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
36087+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
36088+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
36089+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
36090+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties) {
36091+
VVL_ZoneScoped;
36092+
36093+
auto instance_dispatch = vvl::GetDispatchInstance(physicalDevice);
36094+
bool skip = false;
36095+
ErrorObject error_obj(vvl::Func::vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM,
36096+
VulkanTypedHandle(physicalDevice, kVulkanObjectTypePhysicalDevice));
36097+
{
36098+
VVL_ZoneScopedN("PreCallValidate_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
36099+
for (const auto& vo : instance_dispatch->object_dispatch) {
36100+
if (!vo) {
36101+
continue;
36102+
}
36103+
skip |= vo->PreCallValidateGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
36104+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
36105+
pImageFormatProperties, error_obj);
36106+
if (skip) return VK_ERROR_VALIDATION_FAILED_EXT;
36107+
}
36108+
}
36109+
RecordObject record_obj(vvl::Func::vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM);
36110+
{
36111+
VVL_ZoneScopedN("PreCallRecord_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
36112+
for (auto& vo : instance_dispatch->object_dispatch) {
36113+
if (!vo) {
36114+
continue;
36115+
}
36116+
vo->PreCallRecordGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
36117+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
36118+
pImageFormatProperties, record_obj);
36119+
}
36120+
}
36121+
VkResult result;
36122+
{
36123+
VVL_ZoneScopedN("Dispatch_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
36124+
result = instance_dispatch->GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
36125+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
36126+
pImageFormatProperties);
36127+
}
36128+
record_obj.result = result;
36129+
{
36130+
VVL_ZoneScopedN("PostCallRecord_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
36131+
for (auto& vo : instance_dispatch->object_dispatch) {
36132+
if (!vo) {
36133+
continue;
36134+
}
36135+
vo->PostCallRecordGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
36136+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
36137+
pImageFormatProperties, record_obj);
36138+
}
36139+
}
36140+
return result;
36141+
}
36142+
3608636143
VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(VkCommandBuffer commandBuffer,
3608736144
const VkComputeOccupancyPriorityParametersNV* pParameters) {
3608836145
VVL_ZoneScoped;
@@ -38346,6 +38403,8 @@ const vvl::unordered_map<std::string, function_data>& GetNameToFuncPtrMap() {
3834638403
{"vkClearShaderInstrumentationMetricsARM", {kFuncTypeDev, (void*)ClearShaderInstrumentationMetricsARM}},
3834738404
{"vkCmdEndRendering2EXT", {kFuncTypeDev, (void*)CmdEndRendering2EXT}},
3834838405
{"vkCmdBeginCustomResolveEXT", {kFuncTypeDev, (void*)CmdBeginCustomResolveEXT}},
38406+
{"vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM",
38407+
{kFuncTypePdev, (void*)GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM}},
3834938408
{"vkCmdSetComputeOccupancyPriorityNV", {kFuncTypeDev, (void*)CmdSetComputeOccupancyPriorityNV}},
3835038409
#ifdef VK_USE_PLATFORM_UBM_SEC
3835138410
{"vkCreateUbmSurfaceSEC", {kFuncTypeInst, (void*)CreateUbmSurfaceSEC}},

layers/vulkan/generated/device_features.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,12 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo* pCreateInfo, DeviceFeatu
19641964
features->dataGraphModel |= enabled->dataGraphModel == VK_TRUE;
19651965
break;
19661966
}
1967+
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_OPTICAL_FLOW_FEATURES_ARM: {
1968+
const VkPhysicalDeviceDataGraphOpticalFlowFeaturesARM* enabled =
1969+
reinterpret_cast<const VkPhysicalDeviceDataGraphOpticalFlowFeaturesARM*>(pNext);
1970+
features->dataGraphOpticalFlow |= enabled->dataGraphOpticalFlow == VK_TRUE;
1971+
break;
1972+
}
19671973
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT: {
19681974
const VkPhysicalDeviceShaderLongVectorFeaturesEXT* enabled =
19691975
reinterpret_cast<const VkPhysicalDeviceShaderLongVectorFeaturesEXT*>(pNext);

layers/vulkan/generated/device_features.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ struct DeviceFeatures {
168168
bool dataGraphUpdateAfterBind;
169169
// VkPhysicalDeviceDataGraphModelFeaturesQCOM
170170
bool dataGraphModel;
171+
// VkPhysicalDeviceDataGraphOpticalFlowFeaturesARM
172+
bool dataGraphOpticalFlow;
171173
// VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
172174
bool dedicatedAllocationImageAliasing;
173175
// VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX

layers/vulkan/generated/dispatch_functions.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4841,6 +4841,17 @@ static inline void DispatchCmdBeginCustomResolveEXT(VkCommandBuffer commandBuffe
48414841
dispatch->CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo);
48424842
}
48434843

4844+
static inline VkResult DispatchGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
4845+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
4846+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
4847+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
4848+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties) {
4849+
auto dispatch = vvl::GetDispatchInstance(physicalDevice);
4850+
return dispatch->GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
4851+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
4852+
pImageFormatProperties);
4853+
}
4854+
48444855
static inline void DispatchCmdSetComputeOccupancyPriorityNV(VkCommandBuffer commandBuffer,
48454856
const VkComputeOccupancyPriorityParametersNV* pParameters) {
48464857
auto dispatch = vvl::GetDispatchDevice(commandBuffer);

layers/vulkan/generated/dispatch_object.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9768,6 +9768,18 @@ void DispatchDevice::CmdBeginCustomResolveEXT(VkCommandBuffer commandBuffer,
97689768
device_dispatch_table.CmdBeginCustomResolveEXT(commandBuffer, pBeginCustomResolveInfo);
97699769
}
97709770

9771+
VkResult DispatchInstance::GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
9772+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
9773+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
9774+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
9775+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties) {
9776+
VkResult result = instance_dispatch_table.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
9777+
physicalDevice, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount,
9778+
pImageFormatProperties);
9779+
9780+
return result;
9781+
}
9782+
97719783
void DispatchDevice::CmdSetComputeOccupancyPriorityNV(VkCommandBuffer commandBuffer,
97729784
const VkComputeOccupancyPriorityParametersNV* pParameters) {
97739785
device_dispatch_table.CmdSetComputeOccupancyPriorityNV(commandBuffer, pParameters);

layers/vulkan/generated/dispatch_object_instance_methods.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ VkResult EnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM(VkPhys
301301
VkPerformanceCounterDescriptionARM* pCounterDescriptions);
302302
VkResult EnumeratePhysicalDeviceShaderInstrumentationMetricsARM(VkPhysicalDevice physicalDevice, uint32_t* pDescriptionCount,
303303
VkShaderInstrumentationMetricDescriptionARM* pDescriptions);
304+
VkResult GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
305+
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex,
306+
const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
307+
const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo, uint32_t* pFormatCount,
308+
VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties);
304309
#ifdef VK_USE_PLATFORM_UBM_SEC
305310
VkResult CreateUbmSurfaceSEC(VkInstance instance, const VkUbmSurfaceCreateInfoSEC* pCreateInfo,
306311
const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);

0 commit comments

Comments
 (0)