Skip to content

Commit a6b9cc1

Browse files
mikes-lunargspencer-lunarg
authored andcommitted
build: Update to header 1.4.330
1 parent 9e7ffe2 commit a6b9cc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+16649
-14800
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.329 LANGUAGES CXX)
22+
project(VVL VERSION 1.4.330 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.329",
8+
"api_version": "1.4.330",
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: 91 additions & 73 deletions
Large diffs are not rendered by default.

layers/vulkan/generated/best_practices_device_methods.h

Lines changed: 55 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,6 @@ void PostCallRecordCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo*
6565
const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore,
6666
const RecordObject& record_obj) override;
6767

68-
void PostCallRecordCreateEvent(VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator,
69-
VkEvent* pEvent, const RecordObject& record_obj) override;
70-
71-
void PostCallRecordGetEventStatus(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
72-
73-
void PostCallRecordSetEvent(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
74-
75-
void PostCallRecordResetEvent(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
76-
7768
void PostCallRecordCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo,
7869
const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool,
7970
const RecordObject& record_obj) override;
@@ -85,17 +76,44 @@ void PostCallRecordGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, u
8576
void PostCallRecordCreateBuffer(VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator,
8677
VkBuffer* pBuffer, const RecordObject& record_obj) override;
8778

88-
void PostCallRecordCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo,
89-
const VkAllocationCallbacks* pAllocator, VkBufferView* pView,
90-
const RecordObject& record_obj) override;
91-
9279
void PostCallRecordCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator,
9380
VkImage* pImage, const RecordObject& record_obj) override;
9481

9582
void PostCallRecordCreateImageView(VkDevice device, const VkImageViewCreateInfo* pCreateInfo,
9683
const VkAllocationCallbacks* pAllocator, VkImageView* pView,
9784
const RecordObject& record_obj) override;
9885

86+
void PostCallRecordCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo,
87+
const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool,
88+
const RecordObject& record_obj) override;
89+
90+
void PostCallRecordResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags,
91+
const RecordObject& record_obj) override;
92+
93+
void PostCallRecordAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo,
94+
VkCommandBuffer* pCommandBuffers, const RecordObject& record_obj) override;
95+
96+
void PostCallRecordBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo,
97+
const RecordObject& record_obj) override;
98+
99+
void PostCallRecordEndCommandBuffer(VkCommandBuffer commandBuffer, const RecordObject& record_obj) override;
100+
101+
void PostCallRecordResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags,
102+
const RecordObject& record_obj) override;
103+
104+
void PostCallRecordCreateEvent(VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator,
105+
VkEvent* pEvent, const RecordObject& record_obj) override;
106+
107+
void PostCallRecordGetEventStatus(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
108+
109+
void PostCallRecordSetEvent(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
110+
111+
void PostCallRecordResetEvent(VkDevice device, VkEvent event, const RecordObject& record_obj) override;
112+
113+
void PostCallRecordCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo,
114+
const VkAllocationCallbacks* pAllocator, VkBufferView* pView,
115+
const RecordObject& record_obj) override;
116+
99117
void PostCallRecordCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo,
100118
const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule,
101119
const RecordObject& record_obj, chassis::CreateShaderModule& chassis_state) override;
@@ -110,12 +128,6 @@ void PostCallRecordGetPipelineCacheData(VkDevice device, VkPipelineCache pipelin
110128
void PostCallRecordMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount,
111129
const VkPipelineCache* pSrcCaches, const RecordObject& record_obj) override;
112130

113-
void PostCallRecordCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount,
114-
const VkGraphicsPipelineCreateInfo* pCreateInfos,
115-
const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines,
116-
const RecordObject& record_obj, PipelineStates& pipeline_states,
117-
chassis::CreateGraphicsPipelines& chassis_state) override;
118-
119131
void PostCallRecordCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount,
120132
const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator,
121133
VkPipeline* pPipelines, const RecordObject& record_obj, PipelineStates& pipeline_states,
@@ -146,6 +158,12 @@ void PostCallRecordAllocateDescriptorSets(VkDevice device, const VkDescriptorSet
146158
void PostCallRecordFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount,
147159
const VkDescriptorSet* pDescriptorSets, const RecordObject& record_obj) override;
148160

161+
void PostCallRecordCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount,
162+
const VkGraphicsPipelineCreateInfo* pCreateInfos,
163+
const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines,
164+
const RecordObject& record_obj, PipelineStates& pipeline_states,
165+
chassis::CreateGraphicsPipelines& chassis_state) override;
166+
149167
void PostCallRecordCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo,
150168
const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer,
151169
const RecordObject& record_obj) override;
@@ -154,42 +172,20 @@ void PostCallRecordCreateRenderPass(VkDevice device, const VkRenderPassCreateInf
154172
const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass,
155173
const RecordObject& record_obj) override;
156174

157-
void PostCallRecordCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo,
158-
const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool,
159-
const RecordObject& record_obj) override;
160-
161-
void PostCallRecordResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags,
162-
const RecordObject& record_obj) override;
163-
164-
void PostCallRecordAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo,
165-
VkCommandBuffer* pCommandBuffers, const RecordObject& record_obj) override;
166-
167-
void PostCallRecordBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo,
168-
const RecordObject& record_obj) override;
169-
170-
void PostCallRecordEndCommandBuffer(VkCommandBuffer commandBuffer, const RecordObject& record_obj) override;
171-
172-
void PostCallRecordResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags,
173-
const RecordObject& record_obj) override;
174-
175175
void PostCallRecordBindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos,
176176
const RecordObject& record_obj) override;
177177

178178
void PostCallRecordBindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos,
179179
const RecordObject& record_obj) override;
180180

181-
void PostCallRecordCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo,
182-
const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion,
183-
const RecordObject& record_obj) override;
184-
185181
void PostCallRecordCreateDescriptorUpdateTemplate(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo,
186182
const VkAllocationCallbacks* pAllocator,
187183
VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate,
188184
const RecordObject& record_obj) override;
189185

190-
void PostCallRecordCreateRenderPass2(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo,
191-
const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass,
192-
const RecordObject& record_obj) override;
186+
void PostCallRecordCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo,
187+
const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion,
188+
const RecordObject& record_obj) override;
193189

194190
void PostCallRecordGetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t* pValue,
195191
const RecordObject& record_obj) override;
@@ -200,6 +196,10 @@ void PostCallRecordWaitSemaphores(VkDevice device, const VkSemaphoreWaitInfo* pW
200196
void PostCallRecordSignalSemaphore(VkDevice device, const VkSemaphoreSignalInfo* pSignalInfo,
201197
const RecordObject& record_obj) override;
202198

199+
void PostCallRecordCreateRenderPass2(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo,
200+
const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass,
201+
const RecordObject& record_obj) override;
202+
203203
void PostCallRecordCreatePrivateDataSlot(VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo,
204204
const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot,
205205
const RecordObject& record_obj) override;
@@ -798,6 +798,17 @@ void PostCallRecordCreateIndirectExecutionSetEXT(VkDevice device, const VkIndire
798798
VkIndirectExecutionSetEXT* pIndirectExecutionSet,
799799
const RecordObject& record_obj) override;
800800

801+
#ifdef VK_USE_PLATFORM_OHOS
802+
void PostCallRecordGetSwapchainGrallocUsageOHOS(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage,
803+
uint64_t* grallocUsage, const RecordObject& record_obj) override;
804+
805+
void PostCallRecordAcquireImageOHOS(VkDevice device, VkImage image, int32_t nativeFenceFd, VkSemaphore semaphore, VkFence fence,
806+
const RecordObject& record_obj) override;
807+
808+
void PostCallRecordQueueSignalReleaseImageOHOS(VkQueue queue, uint32_t waitSemaphoreCount, const VkSemaphore* pWaitSemaphores,
809+
VkImage image, int32_t* pNativeFenceFd, const RecordObject& record_obj) override;
810+
811+
#endif // VK_USE_PLATFORM_OHOS
801812
#ifdef VK_USE_PLATFORM_METAL_EXT
802813
void PostCallRecordGetMemoryMetalHandleEXT(VkDevice device, const VkMemoryGetMetalHandleInfoEXT* pGetMetalHandleInfo,
803814
void** pHandle, const RecordObject& record_obj) override;

0 commit comments

Comments
 (0)