Skip to content

Commit

Permalink
build: Update to header 1.3.299
Browse files Browse the repository at this point in the history
  • Loading branch information
mikes-lunarg authored and spencer-lunarg committed Oct 18, 2024
1 parent 9c7663b commit 07a9665
Show file tree
Hide file tree
Showing 25 changed files with 494 additions and 515 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.3.298",
"api_version": "1.3.299",
"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 Valiation Layer can be enabled to assist development by enabling developers to verify their applications correctly use the Vulkan API.",
Expand Down
2 changes: 2 additions & 0 deletions layers/vulkan/generated/best_practices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ std::string GetSpecialUse(vvl::Extension extension_name) {
{vvl::Extension::_VK_EXT_depth_bias_control, "d3demulation"},
{vvl::Extension::_VK_EXT_device_memory_report, "devtools"},
{vvl::Extension::_VK_EXT_custom_border_color, "glemulation, d3demulation"},
{vvl::Extension::_VK_EXT_attachment_feedback_loop_layout, "glemulation, d3demulation"},
{vvl::Extension::_VK_VALVE_mutable_descriptor_type, "d3demulation"},
{vvl::Extension::_VK_EXT_device_address_binding_report, "debugging, devtools"},
{vvl::Extension::_VK_EXT_depth_clip_control, "glemulation"},
Expand All @@ -184,6 +185,7 @@ std::string GetSpecialUse(vvl::Extension extension_name) {
{vvl::Extension::_VK_ANDROID_external_format_resolve, "glemulation"},
{vvl::Extension::_VK_EXT_mutable_descriptor_type, "d3demulation"},
{vvl::Extension::_VK_EXT_legacy_vertex_attributes, "glemulation"},
{vvl::Extension::_VK_EXT_attachment_feedback_loop_dynamic_state, "glemulation, d3demulation"},
{vvl::Extension::_VK_MESA_image_alignment_control, "d3demulation"},
};

Expand Down
154 changes: 77 additions & 77 deletions layers/vulkan/generated/chassis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14261,81 +14261,6 @@ VKAPI_ATTR VkResult VKAPI_CALL QueueSubmit2KHR(VkQueue queue, uint32_t submitCou
return result;
}

VKAPI_ATTR void VKAPI_CALL CmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer,
VkDeviceSize dstOffset, uint32_t marker) {
VVL_ZoneScoped;

auto layer_data = GetLayerDataPtr(GetDispatchKey(commandBuffer), layer_data_map);
bool skip = false;
ErrorObject error_obj(vvl::Func::vkCmdWriteBufferMarker2AMD, VulkanTypedHandle(commandBuffer, kVulkanObjectTypeCommandBuffer));
{
VVL_ZoneScopedN("PreCallValidate");
for (const ValidationObject* intercept :
layer_data->intercept_vectors[InterceptIdPreCallValidateCmdWriteBufferMarker2AMD]) {
auto lock = intercept->ReadLock();
skip |=
intercept->PreCallValidateCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, error_obj);
if (skip) return;
}
}
RecordObject record_obj(vvl::Func::vkCmdWriteBufferMarker2AMD);
{
VVL_ZoneScopedN("PreCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPreCallRecordCmdWriteBufferMarker2AMD]) {
auto lock = intercept->WriteLock();
intercept->PreCallRecordCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, record_obj);
}
}
{
VVL_ZoneScopedN("Dispatch");
DispatchCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker);
}
{
VVL_ZoneScopedN("PostCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPostCallRecordCmdWriteBufferMarker2AMD]) {
auto lock = intercept->WriteLock();
intercept->PostCallRecordCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, record_obj);
}
}
}

VKAPI_ATTR void VKAPI_CALL GetQueueCheckpointData2NV(VkQueue queue, uint32_t* pCheckpointDataCount,
VkCheckpointData2NV* pCheckpointData) {
VVL_ZoneScoped;

auto layer_data = GetLayerDataPtr(GetDispatchKey(queue), layer_data_map);
bool skip = false;
ErrorObject error_obj(vvl::Func::vkGetQueueCheckpointData2NV, VulkanTypedHandle(queue, kVulkanObjectTypeQueue));
{
VVL_ZoneScopedN("PreCallValidate");
for (const ValidationObject* intercept :
layer_data->intercept_vectors[InterceptIdPreCallValidateGetQueueCheckpointData2NV]) {
auto lock = intercept->ReadLock();
skip |= intercept->PreCallValidateGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, error_obj);
if (skip) return;
}
}
RecordObject record_obj(vvl::Func::vkGetQueueCheckpointData2NV);
{
VVL_ZoneScopedN("PreCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPreCallRecordGetQueueCheckpointData2NV]) {
auto lock = intercept->WriteLock();
intercept->PreCallRecordGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, record_obj);
}
}
{
VVL_ZoneScopedN("Dispatch");
DispatchGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData);
}
{
VVL_ZoneScopedN("PostCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPostCallRecordGetQueueCheckpointData2NV]) {
auto lock = intercept->WriteLock();
intercept->PostCallRecordGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, record_obj);
}
}
}

VKAPI_ATTR void VKAPI_CALL CmdCopyBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2* pCopyBufferInfo) {
VVL_ZoneScoped;

Expand Down Expand Up @@ -18985,6 +18910,44 @@ VKAPI_ATTR void VKAPI_CALL CmdWriteBufferMarkerAMD(VkCommandBuffer commandBuffer
}
}

VKAPI_ATTR void VKAPI_CALL CmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer,
VkDeviceSize dstOffset, uint32_t marker) {
VVL_ZoneScoped;

auto layer_data = GetLayerDataPtr(GetDispatchKey(commandBuffer), layer_data_map);
bool skip = false;
ErrorObject error_obj(vvl::Func::vkCmdWriteBufferMarker2AMD, VulkanTypedHandle(commandBuffer, kVulkanObjectTypeCommandBuffer));
{
VVL_ZoneScopedN("PreCallValidate");
for (const ValidationObject* intercept :
layer_data->intercept_vectors[InterceptIdPreCallValidateCmdWriteBufferMarker2AMD]) {
auto lock = intercept->ReadLock();
skip |=
intercept->PreCallValidateCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, error_obj);
if (skip) return;
}
}
RecordObject record_obj(vvl::Func::vkCmdWriteBufferMarker2AMD);
{
VVL_ZoneScopedN("PreCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPreCallRecordCmdWriteBufferMarker2AMD]) {
auto lock = intercept->WriteLock();
intercept->PreCallRecordCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, record_obj);
}
}
{
VVL_ZoneScopedN("Dispatch");
DispatchCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker);
}
{
VVL_ZoneScopedN("PostCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPostCallRecordCmdWriteBufferMarker2AMD]) {
auto lock = intercept->WriteLock();
intercept->PostCallRecordCmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker, record_obj);
}
}
}

VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCalibrateableTimeDomainsEXT(VkPhysicalDevice physicalDevice,
uint32_t* pTimeDomainCount,
VkTimeDomainKHR* pTimeDomains) {
Expand Down Expand Up @@ -19346,6 +19309,43 @@ VKAPI_ATTR void VKAPI_CALL GetQueueCheckpointDataNV(VkQueue queue, uint32_t* pCh
}
}

VKAPI_ATTR void VKAPI_CALL GetQueueCheckpointData2NV(VkQueue queue, uint32_t* pCheckpointDataCount,
VkCheckpointData2NV* pCheckpointData) {
VVL_ZoneScoped;

auto layer_data = GetLayerDataPtr(GetDispatchKey(queue), layer_data_map);
bool skip = false;
ErrorObject error_obj(vvl::Func::vkGetQueueCheckpointData2NV, VulkanTypedHandle(queue, kVulkanObjectTypeQueue));
{
VVL_ZoneScopedN("PreCallValidate");
for (const ValidationObject* intercept :
layer_data->intercept_vectors[InterceptIdPreCallValidateGetQueueCheckpointData2NV]) {
auto lock = intercept->ReadLock();
skip |= intercept->PreCallValidateGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, error_obj);
if (skip) return;
}
}
RecordObject record_obj(vvl::Func::vkGetQueueCheckpointData2NV);
{
VVL_ZoneScopedN("PreCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPreCallRecordGetQueueCheckpointData2NV]) {
auto lock = intercept->WriteLock();
intercept->PreCallRecordGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, record_obj);
}
}
{
VVL_ZoneScopedN("Dispatch");
DispatchGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData);
}
{
VVL_ZoneScopedN("PostCallRecord");
for (ValidationObject* intercept : layer_data->intercept_vectors[InterceptIdPostCallRecordGetQueueCheckpointData2NV]) {
auto lock = intercept->WriteLock();
intercept->PostCallRecordGetQueueCheckpointData2NV(queue, pCheckpointDataCount, pCheckpointData, record_obj);
}
}
}

VKAPI_ATTR VkResult VKAPI_CALL InitializePerformanceApiINTEL(VkDevice device,
const VkInitializePerformanceApiInfoINTEL* pInitializeInfo) {
VVL_ZoneScoped;
Expand Down Expand Up @@ -28212,8 +28212,6 @@ const vvl::unordered_map<std::string, function_data> &GetNameToFuncPtrMap() {
{"vkCmdPipelineBarrier2KHR", {kFuncTypeDev, (void*)CmdPipelineBarrier2KHR}},
{"vkCmdWriteTimestamp2KHR", {kFuncTypeDev, (void*)CmdWriteTimestamp2KHR}},
{"vkQueueSubmit2KHR", {kFuncTypeDev, (void*)QueueSubmit2KHR}},
{"vkCmdWriteBufferMarker2AMD", {kFuncTypeDev, (void*)CmdWriteBufferMarker2AMD}},
{"vkGetQueueCheckpointData2NV", {kFuncTypeDev, (void*)GetQueueCheckpointData2NV}},
{"vkCmdCopyBuffer2KHR", {kFuncTypeDev, (void*)CmdCopyBuffer2KHR}},
{"vkCmdCopyImage2KHR", {kFuncTypeDev, (void*)CmdCopyImage2KHR}},
{"vkCmdCopyBufferToImage2KHR", {kFuncTypeDev, (void*)CmdCopyBufferToImage2KHR}},
Expand Down Expand Up @@ -28351,6 +28349,7 @@ const vvl::unordered_map<std::string, function_data> &GetNameToFuncPtrMap() {
{"vkCompileDeferredNV", {kFuncTypeDev, (void*)CompileDeferredNV}},
{"vkGetMemoryHostPointerPropertiesEXT", {kFuncTypeDev, (void*)GetMemoryHostPointerPropertiesEXT}},
{"vkCmdWriteBufferMarkerAMD", {kFuncTypeDev, (void*)CmdWriteBufferMarkerAMD}},
{"vkCmdWriteBufferMarker2AMD", {kFuncTypeDev, (void*)CmdWriteBufferMarker2AMD}},
{"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", {kFuncTypePdev, (void*)GetPhysicalDeviceCalibrateableTimeDomainsEXT}},
{"vkGetCalibratedTimestampsEXT", {kFuncTypeDev, (void*)GetCalibratedTimestampsEXT}},
{"vkCmdDrawMeshTasksNV", {kFuncTypeDev, (void*)CmdDrawMeshTasksNV}},
Expand All @@ -28360,6 +28359,7 @@ const vvl::unordered_map<std::string, function_data> &GetNameToFuncPtrMap() {
{"vkCmdSetExclusiveScissorNV", {kFuncTypeDev, (void*)CmdSetExclusiveScissorNV}},
{"vkCmdSetCheckpointNV", {kFuncTypeDev, (void*)CmdSetCheckpointNV}},
{"vkGetQueueCheckpointDataNV", {kFuncTypeDev, (void*)GetQueueCheckpointDataNV}},
{"vkGetQueueCheckpointData2NV", {kFuncTypeDev, (void*)GetQueueCheckpointData2NV}},
{"vkInitializePerformanceApiINTEL", {kFuncTypeDev, (void*)InitializePerformanceApiINTEL}},
{"vkUninitializePerformanceApiINTEL", {kFuncTypeDev, (void*)UninitializePerformanceApiINTEL}},
{"vkCmdSetPerformanceMarkerINTEL", {kFuncTypeDev, (void*)CmdSetPerformanceMarkerINTEL}},
Expand Down
Loading

0 comments on commit 07a9665

Please sign in to comment.