blob: 41215764fb36cb7ff7ba6abc663abef58175cb28 [file] [log] [blame]
Mike Schuchardt440d4642019-06-20 17:14:57 -07001/* *** THIS FILE IS GENERATED - DO NOT EDIT! ***
2 * See parameter_validation_generator.py for modifications
3 *
Mike Schuchardt840b5042019-07-11 08:11:47 -07004 * Copyright (c) 2015-2019 The Khronos Group Inc.
5 * Copyright (c) 2015-2019 LunarG, Inc.
6 * Copyright (C) 2015-2019 Google Inc.
Mike Schuchardt440d4642019-06-20 17:14:57 -07007 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * Copyright (c) 2015-2017 Valve Corporation
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 *
21 * Author: Mark Lobodzinski <mark@LunarG.com>
22 * Author: Dave Houlton <daveh@LunarG.com>
23 */
24
25
26bool PreCallValidateCreateInstance(
27 const VkInstanceCreateInfo* pCreateInfo,
28 const VkAllocationCallbacks* pAllocator,
29 VkInstance* pInstance);
30bool PreCallValidateDestroyInstance(
31 VkInstance instance,
32 const VkAllocationCallbacks* pAllocator);
33bool PreCallValidateEnumeratePhysicalDevices(
34 VkInstance instance,
35 uint32_t* pPhysicalDeviceCount,
36 VkPhysicalDevice* pPhysicalDevices);
37bool PreCallValidateGetPhysicalDeviceFeatures(
38 VkPhysicalDevice physicalDevice,
39 VkPhysicalDeviceFeatures* pFeatures);
40bool PreCallValidateGetPhysicalDeviceFormatProperties(
41 VkPhysicalDevice physicalDevice,
42 VkFormat format,
43 VkFormatProperties* pFormatProperties);
44bool PreCallValidateGetPhysicalDeviceImageFormatProperties(
45 VkPhysicalDevice physicalDevice,
46 VkFormat format,
47 VkImageType type,
48 VkImageTiling tiling,
49 VkImageUsageFlags usage,
50 VkImageCreateFlags flags,
51 VkImageFormatProperties* pImageFormatProperties);
52bool PreCallValidateGetPhysicalDeviceProperties(
53 VkPhysicalDevice physicalDevice,
54 VkPhysicalDeviceProperties* pProperties);
55bool PreCallValidateGetPhysicalDeviceQueueFamilyProperties(
56 VkPhysicalDevice physicalDevice,
57 uint32_t* pQueueFamilyPropertyCount,
58 VkQueueFamilyProperties* pQueueFamilyProperties);
59bool PreCallValidateGetPhysicalDeviceMemoryProperties(
60 VkPhysicalDevice physicalDevice,
61 VkPhysicalDeviceMemoryProperties* pMemoryProperties);
62bool PreCallValidateCreateDevice(
63 VkPhysicalDevice physicalDevice,
64 const VkDeviceCreateInfo* pCreateInfo,
65 const VkAllocationCallbacks* pAllocator,
66 VkDevice* pDevice);
67bool PreCallValidateDestroyDevice(
68 VkDevice device,
69 const VkAllocationCallbacks* pAllocator);
70bool PreCallValidateGetDeviceQueue(
71 VkDevice device,
72 uint32_t queueFamilyIndex,
73 uint32_t queueIndex,
74 VkQueue* pQueue);
75bool PreCallValidateQueueSubmit(
76 VkQueue queue,
77 uint32_t submitCount,
78 const VkSubmitInfo* pSubmits,
79 VkFence fence);
80bool PreCallValidateQueueWaitIdle(
81 VkQueue queue);
82bool PreCallValidateDeviceWaitIdle(
83 VkDevice device);
84bool PreCallValidateAllocateMemory(
85 VkDevice device,
86 const VkMemoryAllocateInfo* pAllocateInfo,
87 const VkAllocationCallbacks* pAllocator,
88 VkDeviceMemory* pMemory);
89bool PreCallValidateFreeMemory(
90 VkDevice device,
91 VkDeviceMemory memory,
92 const VkAllocationCallbacks* pAllocator);
93bool PreCallValidateMapMemory(
94 VkDevice device,
95 VkDeviceMemory memory,
96 VkDeviceSize offset,
97 VkDeviceSize size,
98 VkMemoryMapFlags flags,
99 void** ppData);
100bool PreCallValidateUnmapMemory(
101 VkDevice device,
102 VkDeviceMemory memory);
103bool PreCallValidateFlushMappedMemoryRanges(
104 VkDevice device,
105 uint32_t memoryRangeCount,
106 const VkMappedMemoryRange* pMemoryRanges);
107bool PreCallValidateInvalidateMappedMemoryRanges(
108 VkDevice device,
109 uint32_t memoryRangeCount,
110 const VkMappedMemoryRange* pMemoryRanges);
111bool PreCallValidateGetDeviceMemoryCommitment(
112 VkDevice device,
113 VkDeviceMemory memory,
114 VkDeviceSize* pCommittedMemoryInBytes);
115bool PreCallValidateBindBufferMemory(
116 VkDevice device,
117 VkBuffer buffer,
118 VkDeviceMemory memory,
119 VkDeviceSize memoryOffset);
120bool PreCallValidateBindImageMemory(
121 VkDevice device,
122 VkImage image,
123 VkDeviceMemory memory,
124 VkDeviceSize memoryOffset);
125bool PreCallValidateGetBufferMemoryRequirements(
126 VkDevice device,
127 VkBuffer buffer,
128 VkMemoryRequirements* pMemoryRequirements);
129bool PreCallValidateGetImageMemoryRequirements(
130 VkDevice device,
131 VkImage image,
132 VkMemoryRequirements* pMemoryRequirements);
133bool PreCallValidateGetImageSparseMemoryRequirements(
134 VkDevice device,
135 VkImage image,
136 uint32_t* pSparseMemoryRequirementCount,
137 VkSparseImageMemoryRequirements* pSparseMemoryRequirements);
138bool PreCallValidateGetPhysicalDeviceSparseImageFormatProperties(
139 VkPhysicalDevice physicalDevice,
140 VkFormat format,
141 VkImageType type,
142 VkSampleCountFlagBits samples,
143 VkImageUsageFlags usage,
144 VkImageTiling tiling,
145 uint32_t* pPropertyCount,
146 VkSparseImageFormatProperties* pProperties);
147bool PreCallValidateQueueBindSparse(
148 VkQueue queue,
149 uint32_t bindInfoCount,
150 const VkBindSparseInfo* pBindInfo,
151 VkFence fence);
152bool PreCallValidateCreateFence(
153 VkDevice device,
154 const VkFenceCreateInfo* pCreateInfo,
155 const VkAllocationCallbacks* pAllocator,
156 VkFence* pFence);
157bool PreCallValidateDestroyFence(
158 VkDevice device,
159 VkFence fence,
160 const VkAllocationCallbacks* pAllocator);
161bool PreCallValidateResetFences(
162 VkDevice device,
163 uint32_t fenceCount,
164 const VkFence* pFences);
165bool PreCallValidateGetFenceStatus(
166 VkDevice device,
167 VkFence fence);
168bool PreCallValidateWaitForFences(
169 VkDevice device,
170 uint32_t fenceCount,
171 const VkFence* pFences,
172 VkBool32 waitAll,
173 uint64_t timeout);
174bool PreCallValidateCreateSemaphore(
175 VkDevice device,
176 const VkSemaphoreCreateInfo* pCreateInfo,
177 const VkAllocationCallbacks* pAllocator,
178 VkSemaphore* pSemaphore);
179bool PreCallValidateDestroySemaphore(
180 VkDevice device,
181 VkSemaphore semaphore,
182 const VkAllocationCallbacks* pAllocator);
183bool PreCallValidateCreateEvent(
184 VkDevice device,
185 const VkEventCreateInfo* pCreateInfo,
186 const VkAllocationCallbacks* pAllocator,
187 VkEvent* pEvent);
188bool PreCallValidateDestroyEvent(
189 VkDevice device,
190 VkEvent event,
191 const VkAllocationCallbacks* pAllocator);
192bool PreCallValidateGetEventStatus(
193 VkDevice device,
194 VkEvent event);
195bool PreCallValidateSetEvent(
196 VkDevice device,
197 VkEvent event);
198bool PreCallValidateResetEvent(
199 VkDevice device,
200 VkEvent event);
201bool PreCallValidateCreateQueryPool(
202 VkDevice device,
203 const VkQueryPoolCreateInfo* pCreateInfo,
204 const VkAllocationCallbacks* pAllocator,
205 VkQueryPool* pQueryPool);
206bool PreCallValidateDestroyQueryPool(
207 VkDevice device,
208 VkQueryPool queryPool,
209 const VkAllocationCallbacks* pAllocator);
210bool PreCallValidateGetQueryPoolResults(
211 VkDevice device,
212 VkQueryPool queryPool,
213 uint32_t firstQuery,
214 uint32_t queryCount,
215 size_t dataSize,
216 void* pData,
217 VkDeviceSize stride,
218 VkQueryResultFlags flags);
219bool PreCallValidateCreateBuffer(
220 VkDevice device,
221 const VkBufferCreateInfo* pCreateInfo,
222 const VkAllocationCallbacks* pAllocator,
223 VkBuffer* pBuffer);
224bool PreCallValidateDestroyBuffer(
225 VkDevice device,
226 VkBuffer buffer,
227 const VkAllocationCallbacks* pAllocator);
228bool PreCallValidateCreateBufferView(
229 VkDevice device,
230 const VkBufferViewCreateInfo* pCreateInfo,
231 const VkAllocationCallbacks* pAllocator,
232 VkBufferView* pView);
233bool PreCallValidateDestroyBufferView(
234 VkDevice device,
235 VkBufferView bufferView,
236 const VkAllocationCallbacks* pAllocator);
237bool PreCallValidateCreateImage(
238 VkDevice device,
239 const VkImageCreateInfo* pCreateInfo,
240 const VkAllocationCallbacks* pAllocator,
241 VkImage* pImage);
242bool PreCallValidateDestroyImage(
243 VkDevice device,
244 VkImage image,
245 const VkAllocationCallbacks* pAllocator);
246bool PreCallValidateGetImageSubresourceLayout(
247 VkDevice device,
248 VkImage image,
249 const VkImageSubresource* pSubresource,
250 VkSubresourceLayout* pLayout);
251bool PreCallValidateCreateImageView(
252 VkDevice device,
253 const VkImageViewCreateInfo* pCreateInfo,
254 const VkAllocationCallbacks* pAllocator,
255 VkImageView* pView);
256bool PreCallValidateDestroyImageView(
257 VkDevice device,
258 VkImageView imageView,
259 const VkAllocationCallbacks* pAllocator);
260bool PreCallValidateCreateShaderModule(
261 VkDevice device,
262 const VkShaderModuleCreateInfo* pCreateInfo,
263 const VkAllocationCallbacks* pAllocator,
264 VkShaderModule* pShaderModule);
265bool PreCallValidateDestroyShaderModule(
266 VkDevice device,
267 VkShaderModule shaderModule,
268 const VkAllocationCallbacks* pAllocator);
269bool PreCallValidateCreatePipelineCache(
270 VkDevice device,
271 const VkPipelineCacheCreateInfo* pCreateInfo,
272 const VkAllocationCallbacks* pAllocator,
273 VkPipelineCache* pPipelineCache);
274bool PreCallValidateDestroyPipelineCache(
275 VkDevice device,
276 VkPipelineCache pipelineCache,
277 const VkAllocationCallbacks* pAllocator);
278bool PreCallValidateGetPipelineCacheData(
279 VkDevice device,
280 VkPipelineCache pipelineCache,
281 size_t* pDataSize,
282 void* pData);
283bool PreCallValidateMergePipelineCaches(
284 VkDevice device,
285 VkPipelineCache dstCache,
286 uint32_t srcCacheCount,
287 const VkPipelineCache* pSrcCaches);
288bool PreCallValidateCreateGraphicsPipelines(
289 VkDevice device,
290 VkPipelineCache pipelineCache,
291 uint32_t createInfoCount,
292 const VkGraphicsPipelineCreateInfo* pCreateInfos,
293 const VkAllocationCallbacks* pAllocator,
294 VkPipeline* pPipelines);
295bool PreCallValidateCreateComputePipelines(
296 VkDevice device,
297 VkPipelineCache pipelineCache,
298 uint32_t createInfoCount,
299 const VkComputePipelineCreateInfo* pCreateInfos,
300 const VkAllocationCallbacks* pAllocator,
301 VkPipeline* pPipelines);
302bool PreCallValidateDestroyPipeline(
303 VkDevice device,
304 VkPipeline pipeline,
305 const VkAllocationCallbacks* pAllocator);
306bool PreCallValidateCreatePipelineLayout(
307 VkDevice device,
308 const VkPipelineLayoutCreateInfo* pCreateInfo,
309 const VkAllocationCallbacks* pAllocator,
310 VkPipelineLayout* pPipelineLayout);
311bool PreCallValidateDestroyPipelineLayout(
312 VkDevice device,
313 VkPipelineLayout pipelineLayout,
314 const VkAllocationCallbacks* pAllocator);
315bool PreCallValidateCreateSampler(
316 VkDevice device,
317 const VkSamplerCreateInfo* pCreateInfo,
318 const VkAllocationCallbacks* pAllocator,
319 VkSampler* pSampler);
320bool PreCallValidateDestroySampler(
321 VkDevice device,
322 VkSampler sampler,
323 const VkAllocationCallbacks* pAllocator);
324bool PreCallValidateCreateDescriptorSetLayout(
325 VkDevice device,
326 const VkDescriptorSetLayoutCreateInfo* pCreateInfo,
327 const VkAllocationCallbacks* pAllocator,
328 VkDescriptorSetLayout* pSetLayout);
329bool PreCallValidateDestroyDescriptorSetLayout(
330 VkDevice device,
331 VkDescriptorSetLayout descriptorSetLayout,
332 const VkAllocationCallbacks* pAllocator);
333bool PreCallValidateCreateDescriptorPool(
334 VkDevice device,
335 const VkDescriptorPoolCreateInfo* pCreateInfo,
336 const VkAllocationCallbacks* pAllocator,
337 VkDescriptorPool* pDescriptorPool);
338bool PreCallValidateDestroyDescriptorPool(
339 VkDevice device,
340 VkDescriptorPool descriptorPool,
341 const VkAllocationCallbacks* pAllocator);
342bool PreCallValidateResetDescriptorPool(
343 VkDevice device,
344 VkDescriptorPool descriptorPool,
345 VkDescriptorPoolResetFlags flags);
346bool PreCallValidateAllocateDescriptorSets(
347 VkDevice device,
348 const VkDescriptorSetAllocateInfo* pAllocateInfo,
349 VkDescriptorSet* pDescriptorSets);
350bool PreCallValidateFreeDescriptorSets(
351 VkDevice device,
352 VkDescriptorPool descriptorPool,
353 uint32_t descriptorSetCount,
354 const VkDescriptorSet* pDescriptorSets);
355bool PreCallValidateUpdateDescriptorSets(
356 VkDevice device,
357 uint32_t descriptorWriteCount,
358 const VkWriteDescriptorSet* pDescriptorWrites,
359 uint32_t descriptorCopyCount,
360 const VkCopyDescriptorSet* pDescriptorCopies);
361bool PreCallValidateCreateFramebuffer(
362 VkDevice device,
363 const VkFramebufferCreateInfo* pCreateInfo,
364 const VkAllocationCallbacks* pAllocator,
365 VkFramebuffer* pFramebuffer);
366bool PreCallValidateDestroyFramebuffer(
367 VkDevice device,
368 VkFramebuffer framebuffer,
369 const VkAllocationCallbacks* pAllocator);
370bool PreCallValidateCreateRenderPass(
371 VkDevice device,
372 const VkRenderPassCreateInfo* pCreateInfo,
373 const VkAllocationCallbacks* pAllocator,
374 VkRenderPass* pRenderPass);
375bool PreCallValidateDestroyRenderPass(
376 VkDevice device,
377 VkRenderPass renderPass,
378 const VkAllocationCallbacks* pAllocator);
379bool PreCallValidateGetRenderAreaGranularity(
380 VkDevice device,
381 VkRenderPass renderPass,
382 VkExtent2D* pGranularity);
383bool PreCallValidateCreateCommandPool(
384 VkDevice device,
385 const VkCommandPoolCreateInfo* pCreateInfo,
386 const VkAllocationCallbacks* pAllocator,
387 VkCommandPool* pCommandPool);
388bool PreCallValidateDestroyCommandPool(
389 VkDevice device,
390 VkCommandPool commandPool,
391 const VkAllocationCallbacks* pAllocator);
392bool PreCallValidateResetCommandPool(
393 VkDevice device,
394 VkCommandPool commandPool,
395 VkCommandPoolResetFlags flags);
396bool PreCallValidateAllocateCommandBuffers(
397 VkDevice device,
398 const VkCommandBufferAllocateInfo* pAllocateInfo,
399 VkCommandBuffer* pCommandBuffers);
400bool PreCallValidateFreeCommandBuffers(
401 VkDevice device,
402 VkCommandPool commandPool,
403 uint32_t commandBufferCount,
404 const VkCommandBuffer* pCommandBuffers);
405bool PreCallValidateBeginCommandBuffer(
406 VkCommandBuffer commandBuffer,
407 const VkCommandBufferBeginInfo* pBeginInfo);
408bool PreCallValidateEndCommandBuffer(
409 VkCommandBuffer commandBuffer);
410bool PreCallValidateResetCommandBuffer(
411 VkCommandBuffer commandBuffer,
412 VkCommandBufferResetFlags flags);
413bool PreCallValidateCmdBindPipeline(
414 VkCommandBuffer commandBuffer,
415 VkPipelineBindPoint pipelineBindPoint,
416 VkPipeline pipeline);
417bool PreCallValidateCmdSetViewport(
418 VkCommandBuffer commandBuffer,
419 uint32_t firstViewport,
420 uint32_t viewportCount,
421 const VkViewport* pViewports);
422bool PreCallValidateCmdSetScissor(
423 VkCommandBuffer commandBuffer,
424 uint32_t firstScissor,
425 uint32_t scissorCount,
426 const VkRect2D* pScissors);
427bool PreCallValidateCmdSetLineWidth(
428 VkCommandBuffer commandBuffer,
429 float lineWidth);
430bool PreCallValidateCmdSetDepthBias(
431 VkCommandBuffer commandBuffer,
432 float depthBiasConstantFactor,
433 float depthBiasClamp,
434 float depthBiasSlopeFactor);
435bool PreCallValidateCmdSetBlendConstants(
436 VkCommandBuffer commandBuffer,
437 const float blendConstants[4]);
438bool PreCallValidateCmdSetDepthBounds(
439 VkCommandBuffer commandBuffer,
440 float minDepthBounds,
441 float maxDepthBounds);
442bool PreCallValidateCmdSetStencilCompareMask(
443 VkCommandBuffer commandBuffer,
444 VkStencilFaceFlags faceMask,
445 uint32_t compareMask);
446bool PreCallValidateCmdSetStencilWriteMask(
447 VkCommandBuffer commandBuffer,
448 VkStencilFaceFlags faceMask,
449 uint32_t writeMask);
450bool PreCallValidateCmdSetStencilReference(
451 VkCommandBuffer commandBuffer,
452 VkStencilFaceFlags faceMask,
453 uint32_t reference);
454bool PreCallValidateCmdBindDescriptorSets(
455 VkCommandBuffer commandBuffer,
456 VkPipelineBindPoint pipelineBindPoint,
457 VkPipelineLayout layout,
458 uint32_t firstSet,
459 uint32_t descriptorSetCount,
460 const VkDescriptorSet* pDescriptorSets,
461 uint32_t dynamicOffsetCount,
462 const uint32_t* pDynamicOffsets);
463bool PreCallValidateCmdBindIndexBuffer(
464 VkCommandBuffer commandBuffer,
465 VkBuffer buffer,
466 VkDeviceSize offset,
467 VkIndexType indexType);
468bool PreCallValidateCmdBindVertexBuffers(
469 VkCommandBuffer commandBuffer,
470 uint32_t firstBinding,
471 uint32_t bindingCount,
472 const VkBuffer* pBuffers,
473 const VkDeviceSize* pOffsets);
474bool PreCallValidateCmdDraw(
475 VkCommandBuffer commandBuffer,
476 uint32_t vertexCount,
477 uint32_t instanceCount,
478 uint32_t firstVertex,
479 uint32_t firstInstance);
480bool PreCallValidateCmdDrawIndexed(
481 VkCommandBuffer commandBuffer,
482 uint32_t indexCount,
483 uint32_t instanceCount,
484 uint32_t firstIndex,
485 int32_t vertexOffset,
486 uint32_t firstInstance);
487bool PreCallValidateCmdDrawIndirect(
488 VkCommandBuffer commandBuffer,
489 VkBuffer buffer,
490 VkDeviceSize offset,
491 uint32_t drawCount,
492 uint32_t stride);
493bool PreCallValidateCmdDrawIndexedIndirect(
494 VkCommandBuffer commandBuffer,
495 VkBuffer buffer,
496 VkDeviceSize offset,
497 uint32_t drawCount,
498 uint32_t stride);
499bool PreCallValidateCmdDispatch(
500 VkCommandBuffer commandBuffer,
501 uint32_t groupCountX,
502 uint32_t groupCountY,
503 uint32_t groupCountZ);
504bool PreCallValidateCmdDispatchIndirect(
505 VkCommandBuffer commandBuffer,
506 VkBuffer buffer,
507 VkDeviceSize offset);
508bool PreCallValidateCmdCopyBuffer(
509 VkCommandBuffer commandBuffer,
510 VkBuffer srcBuffer,
511 VkBuffer dstBuffer,
512 uint32_t regionCount,
513 const VkBufferCopy* pRegions);
514bool PreCallValidateCmdCopyImage(
515 VkCommandBuffer commandBuffer,
516 VkImage srcImage,
517 VkImageLayout srcImageLayout,
518 VkImage dstImage,
519 VkImageLayout dstImageLayout,
520 uint32_t regionCount,
521 const VkImageCopy* pRegions);
522bool PreCallValidateCmdBlitImage(
523 VkCommandBuffer commandBuffer,
524 VkImage srcImage,
525 VkImageLayout srcImageLayout,
526 VkImage dstImage,
527 VkImageLayout dstImageLayout,
528 uint32_t regionCount,
529 const VkImageBlit* pRegions,
530 VkFilter filter);
531bool PreCallValidateCmdCopyBufferToImage(
532 VkCommandBuffer commandBuffer,
533 VkBuffer srcBuffer,
534 VkImage dstImage,
535 VkImageLayout dstImageLayout,
536 uint32_t regionCount,
537 const VkBufferImageCopy* pRegions);
538bool PreCallValidateCmdCopyImageToBuffer(
539 VkCommandBuffer commandBuffer,
540 VkImage srcImage,
541 VkImageLayout srcImageLayout,
542 VkBuffer dstBuffer,
543 uint32_t regionCount,
544 const VkBufferImageCopy* pRegions);
545bool PreCallValidateCmdUpdateBuffer(
546 VkCommandBuffer commandBuffer,
547 VkBuffer dstBuffer,
548 VkDeviceSize dstOffset,
549 VkDeviceSize dataSize,
550 const void* pData);
551bool PreCallValidateCmdFillBuffer(
552 VkCommandBuffer commandBuffer,
553 VkBuffer dstBuffer,
554 VkDeviceSize dstOffset,
555 VkDeviceSize size,
556 uint32_t data);
557bool PreCallValidateCmdClearColorImage(
558 VkCommandBuffer commandBuffer,
559 VkImage image,
560 VkImageLayout imageLayout,
561 const VkClearColorValue* pColor,
562 uint32_t rangeCount,
563 const VkImageSubresourceRange* pRanges);
564bool PreCallValidateCmdClearDepthStencilImage(
565 VkCommandBuffer commandBuffer,
566 VkImage image,
567 VkImageLayout imageLayout,
568 const VkClearDepthStencilValue* pDepthStencil,
569 uint32_t rangeCount,
570 const VkImageSubresourceRange* pRanges);
571bool PreCallValidateCmdClearAttachments(
572 VkCommandBuffer commandBuffer,
573 uint32_t attachmentCount,
574 const VkClearAttachment* pAttachments,
575 uint32_t rectCount,
576 const VkClearRect* pRects);
577bool PreCallValidateCmdResolveImage(
578 VkCommandBuffer commandBuffer,
579 VkImage srcImage,
580 VkImageLayout srcImageLayout,
581 VkImage dstImage,
582 VkImageLayout dstImageLayout,
583 uint32_t regionCount,
584 const VkImageResolve* pRegions);
585bool PreCallValidateCmdSetEvent(
586 VkCommandBuffer commandBuffer,
587 VkEvent event,
588 VkPipelineStageFlags stageMask);
589bool PreCallValidateCmdResetEvent(
590 VkCommandBuffer commandBuffer,
591 VkEvent event,
592 VkPipelineStageFlags stageMask);
593bool PreCallValidateCmdWaitEvents(
594 VkCommandBuffer commandBuffer,
595 uint32_t eventCount,
596 const VkEvent* pEvents,
597 VkPipelineStageFlags srcStageMask,
598 VkPipelineStageFlags dstStageMask,
599 uint32_t memoryBarrierCount,
600 const VkMemoryBarrier* pMemoryBarriers,
601 uint32_t bufferMemoryBarrierCount,
602 const VkBufferMemoryBarrier* pBufferMemoryBarriers,
603 uint32_t imageMemoryBarrierCount,
604 const VkImageMemoryBarrier* pImageMemoryBarriers);
605bool PreCallValidateCmdPipelineBarrier(
606 VkCommandBuffer commandBuffer,
607 VkPipelineStageFlags srcStageMask,
608 VkPipelineStageFlags dstStageMask,
609 VkDependencyFlags dependencyFlags,
610 uint32_t memoryBarrierCount,
611 const VkMemoryBarrier* pMemoryBarriers,
612 uint32_t bufferMemoryBarrierCount,
613 const VkBufferMemoryBarrier* pBufferMemoryBarriers,
614 uint32_t imageMemoryBarrierCount,
615 const VkImageMemoryBarrier* pImageMemoryBarriers);
616bool PreCallValidateCmdBeginQuery(
617 VkCommandBuffer commandBuffer,
618 VkQueryPool queryPool,
619 uint32_t query,
620 VkQueryControlFlags flags);
621bool PreCallValidateCmdEndQuery(
622 VkCommandBuffer commandBuffer,
623 VkQueryPool queryPool,
624 uint32_t query);
625bool PreCallValidateCmdResetQueryPool(
626 VkCommandBuffer commandBuffer,
627 VkQueryPool queryPool,
628 uint32_t firstQuery,
629 uint32_t queryCount);
630bool PreCallValidateCmdWriteTimestamp(
631 VkCommandBuffer commandBuffer,
632 VkPipelineStageFlagBits pipelineStage,
633 VkQueryPool queryPool,
634 uint32_t query);
635bool PreCallValidateCmdCopyQueryPoolResults(
636 VkCommandBuffer commandBuffer,
637 VkQueryPool queryPool,
638 uint32_t firstQuery,
639 uint32_t queryCount,
640 VkBuffer dstBuffer,
641 VkDeviceSize dstOffset,
642 VkDeviceSize stride,
643 VkQueryResultFlags flags);
644bool PreCallValidateCmdPushConstants(
645 VkCommandBuffer commandBuffer,
646 VkPipelineLayout layout,
647 VkShaderStageFlags stageFlags,
648 uint32_t offset,
649 uint32_t size,
650 const void* pValues);
651bool PreCallValidateCmdBeginRenderPass(
652 VkCommandBuffer commandBuffer,
653 const VkRenderPassBeginInfo* pRenderPassBegin,
654 VkSubpassContents contents);
655bool PreCallValidateCmdNextSubpass(
656 VkCommandBuffer commandBuffer,
657 VkSubpassContents contents);
658bool PreCallValidateCmdEndRenderPass(
659 VkCommandBuffer commandBuffer);
660bool PreCallValidateCmdExecuteCommands(
661 VkCommandBuffer commandBuffer,
662 uint32_t commandBufferCount,
663 const VkCommandBuffer* pCommandBuffers);
664bool PreCallValidateBindBufferMemory2(
665 VkDevice device,
666 uint32_t bindInfoCount,
667 const VkBindBufferMemoryInfo* pBindInfos);
668bool PreCallValidateBindImageMemory2(
669 VkDevice device,
670 uint32_t bindInfoCount,
671 const VkBindImageMemoryInfo* pBindInfos);
672bool PreCallValidateGetDeviceGroupPeerMemoryFeatures(
673 VkDevice device,
674 uint32_t heapIndex,
675 uint32_t localDeviceIndex,
676 uint32_t remoteDeviceIndex,
677 VkPeerMemoryFeatureFlags* pPeerMemoryFeatures);
678bool PreCallValidateCmdSetDeviceMask(
679 VkCommandBuffer commandBuffer,
680 uint32_t deviceMask);
681bool PreCallValidateCmdDispatchBase(
682 VkCommandBuffer commandBuffer,
683 uint32_t baseGroupX,
684 uint32_t baseGroupY,
685 uint32_t baseGroupZ,
686 uint32_t groupCountX,
687 uint32_t groupCountY,
688 uint32_t groupCountZ);
689bool PreCallValidateEnumeratePhysicalDeviceGroups(
690 VkInstance instance,
691 uint32_t* pPhysicalDeviceGroupCount,
692 VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties);
693bool PreCallValidateGetImageMemoryRequirements2(
694 VkDevice device,
695 const VkImageMemoryRequirementsInfo2* pInfo,
696 VkMemoryRequirements2* pMemoryRequirements);
697bool PreCallValidateGetBufferMemoryRequirements2(
698 VkDevice device,
699 const VkBufferMemoryRequirementsInfo2* pInfo,
700 VkMemoryRequirements2* pMemoryRequirements);
701bool PreCallValidateGetImageSparseMemoryRequirements2(
702 VkDevice device,
703 const VkImageSparseMemoryRequirementsInfo2* pInfo,
704 uint32_t* pSparseMemoryRequirementCount,
705 VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);
706bool PreCallValidateGetPhysicalDeviceFeatures2(
707 VkPhysicalDevice physicalDevice,
708 VkPhysicalDeviceFeatures2* pFeatures);
709bool PreCallValidateGetPhysicalDeviceProperties2(
710 VkPhysicalDevice physicalDevice,
711 VkPhysicalDeviceProperties2* pProperties);
712bool PreCallValidateGetPhysicalDeviceFormatProperties2(
713 VkPhysicalDevice physicalDevice,
714 VkFormat format,
715 VkFormatProperties2* pFormatProperties);
716bool PreCallValidateGetPhysicalDeviceImageFormatProperties2(
717 VkPhysicalDevice physicalDevice,
718 const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo,
719 VkImageFormatProperties2* pImageFormatProperties);
720bool PreCallValidateGetPhysicalDeviceQueueFamilyProperties2(
721 VkPhysicalDevice physicalDevice,
722 uint32_t* pQueueFamilyPropertyCount,
723 VkQueueFamilyProperties2* pQueueFamilyProperties);
724bool PreCallValidateGetPhysicalDeviceMemoryProperties2(
725 VkPhysicalDevice physicalDevice,
726 VkPhysicalDeviceMemoryProperties2* pMemoryProperties);
727bool PreCallValidateGetPhysicalDeviceSparseImageFormatProperties2(
728 VkPhysicalDevice physicalDevice,
729 const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo,
730 uint32_t* pPropertyCount,
731 VkSparseImageFormatProperties2* pProperties);
732bool PreCallValidateTrimCommandPool(
733 VkDevice device,
734 VkCommandPool commandPool,
735 VkCommandPoolTrimFlags flags);
736bool PreCallValidateGetDeviceQueue2(
737 VkDevice device,
738 const VkDeviceQueueInfo2* pQueueInfo,
739 VkQueue* pQueue);
740bool PreCallValidateCreateSamplerYcbcrConversion(
741 VkDevice device,
742 const VkSamplerYcbcrConversionCreateInfo* pCreateInfo,
743 const VkAllocationCallbacks* pAllocator,
744 VkSamplerYcbcrConversion* pYcbcrConversion);
745bool PreCallValidateDestroySamplerYcbcrConversion(
746 VkDevice device,
747 VkSamplerYcbcrConversion ycbcrConversion,
748 const VkAllocationCallbacks* pAllocator);
749bool PreCallValidateCreateDescriptorUpdateTemplate(
750 VkDevice device,
751 const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo,
752 const VkAllocationCallbacks* pAllocator,
753 VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate);
754bool PreCallValidateDestroyDescriptorUpdateTemplate(
755 VkDevice device,
756 VkDescriptorUpdateTemplate descriptorUpdateTemplate,
757 const VkAllocationCallbacks* pAllocator);
758bool PreCallValidateUpdateDescriptorSetWithTemplate(
759 VkDevice device,
760 VkDescriptorSet descriptorSet,
761 VkDescriptorUpdateTemplate descriptorUpdateTemplate,
762 const void* pData);
763bool PreCallValidateGetPhysicalDeviceExternalBufferProperties(
764 VkPhysicalDevice physicalDevice,
765 const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo,
766 VkExternalBufferProperties* pExternalBufferProperties);
767bool PreCallValidateGetPhysicalDeviceExternalFenceProperties(
768 VkPhysicalDevice physicalDevice,
769 const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo,
770 VkExternalFenceProperties* pExternalFenceProperties);
771bool PreCallValidateGetPhysicalDeviceExternalSemaphoreProperties(
772 VkPhysicalDevice physicalDevice,
773 const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo,
774 VkExternalSemaphoreProperties* pExternalSemaphoreProperties);
775bool PreCallValidateGetDescriptorSetLayoutSupport(
776 VkDevice device,
777 const VkDescriptorSetLayoutCreateInfo* pCreateInfo,
778 VkDescriptorSetLayoutSupport* pSupport);
779bool PreCallValidateDestroySurfaceKHR(
780 VkInstance instance,
781 VkSurfaceKHR surface,
782 const VkAllocationCallbacks* pAllocator);
783bool PreCallValidateGetPhysicalDeviceSurfaceSupportKHR(
784 VkPhysicalDevice physicalDevice,
785 uint32_t queueFamilyIndex,
786 VkSurfaceKHR surface,
787 VkBool32* pSupported);
788bool PreCallValidateGetPhysicalDeviceSurfaceCapabilitiesKHR(
789 VkPhysicalDevice physicalDevice,
790 VkSurfaceKHR surface,
791 VkSurfaceCapabilitiesKHR* pSurfaceCapabilities);
792bool PreCallValidateGetPhysicalDeviceSurfaceFormatsKHR(
793 VkPhysicalDevice physicalDevice,
794 VkSurfaceKHR surface,
795 uint32_t* pSurfaceFormatCount,
796 VkSurfaceFormatKHR* pSurfaceFormats);
797bool PreCallValidateGetPhysicalDeviceSurfacePresentModesKHR(
798 VkPhysicalDevice physicalDevice,
799 VkSurfaceKHR surface,
800 uint32_t* pPresentModeCount,
801 VkPresentModeKHR* pPresentModes);
802bool PreCallValidateCreateSwapchainKHR(
803 VkDevice device,
804 const VkSwapchainCreateInfoKHR* pCreateInfo,
805 const VkAllocationCallbacks* pAllocator,
806 VkSwapchainKHR* pSwapchain);
807bool PreCallValidateDestroySwapchainKHR(
808 VkDevice device,
809 VkSwapchainKHR swapchain,
810 const VkAllocationCallbacks* pAllocator);
811bool PreCallValidateGetSwapchainImagesKHR(
812 VkDevice device,
813 VkSwapchainKHR swapchain,
814 uint32_t* pSwapchainImageCount,
815 VkImage* pSwapchainImages);
816bool PreCallValidateAcquireNextImageKHR(
817 VkDevice device,
818 VkSwapchainKHR swapchain,
819 uint64_t timeout,
820 VkSemaphore semaphore,
821 VkFence fence,
822 uint32_t* pImageIndex);
823bool PreCallValidateQueuePresentKHR(
824 VkQueue queue,
825 const VkPresentInfoKHR* pPresentInfo);
826bool PreCallValidateGetDeviceGroupPresentCapabilitiesKHR(
827 VkDevice device,
828 VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities);
829bool PreCallValidateGetDeviceGroupSurfacePresentModesKHR(
830 VkDevice device,
831 VkSurfaceKHR surface,
832 VkDeviceGroupPresentModeFlagsKHR* pModes);
833bool PreCallValidateGetPhysicalDevicePresentRectanglesKHR(
834 VkPhysicalDevice physicalDevice,
835 VkSurfaceKHR surface,
836 uint32_t* pRectCount,
837 VkRect2D* pRects);
838bool PreCallValidateAcquireNextImage2KHR(
839 VkDevice device,
840 const VkAcquireNextImageInfoKHR* pAcquireInfo,
841 uint32_t* pImageIndex);
842bool PreCallValidateGetPhysicalDeviceDisplayPropertiesKHR(
843 VkPhysicalDevice physicalDevice,
844 uint32_t* pPropertyCount,
845 VkDisplayPropertiesKHR* pProperties);
846bool PreCallValidateGetPhysicalDeviceDisplayPlanePropertiesKHR(
847 VkPhysicalDevice physicalDevice,
848 uint32_t* pPropertyCount,
849 VkDisplayPlanePropertiesKHR* pProperties);
850bool PreCallValidateGetDisplayPlaneSupportedDisplaysKHR(
851 VkPhysicalDevice physicalDevice,
852 uint32_t planeIndex,
853 uint32_t* pDisplayCount,
854 VkDisplayKHR* pDisplays);
855bool PreCallValidateGetDisplayModePropertiesKHR(
856 VkPhysicalDevice physicalDevice,
857 VkDisplayKHR display,
858 uint32_t* pPropertyCount,
859 VkDisplayModePropertiesKHR* pProperties);
860bool PreCallValidateCreateDisplayModeKHR(
861 VkPhysicalDevice physicalDevice,
862 VkDisplayKHR display,
863 const VkDisplayModeCreateInfoKHR* pCreateInfo,
864 const VkAllocationCallbacks* pAllocator,
865 VkDisplayModeKHR* pMode);
866bool PreCallValidateGetDisplayPlaneCapabilitiesKHR(
867 VkPhysicalDevice physicalDevice,
868 VkDisplayModeKHR mode,
869 uint32_t planeIndex,
870 VkDisplayPlaneCapabilitiesKHR* pCapabilities);
871bool PreCallValidateCreateDisplayPlaneSurfaceKHR(
872 VkInstance instance,
873 const VkDisplaySurfaceCreateInfoKHR* pCreateInfo,
874 const VkAllocationCallbacks* pAllocator,
875 VkSurfaceKHR* pSurface);
876bool PreCallValidateCreateSharedSwapchainsKHR(
877 VkDevice device,
878 uint32_t swapchainCount,
879 const VkSwapchainCreateInfoKHR* pCreateInfos,
880 const VkAllocationCallbacks* pAllocator,
881 VkSwapchainKHR* pSwapchains);
882#ifdef VK_USE_PLATFORM_XLIB_KHR
883bool PreCallValidateCreateXlibSurfaceKHR(
884 VkInstance instance,
885 const VkXlibSurfaceCreateInfoKHR* pCreateInfo,
886 const VkAllocationCallbacks* pAllocator,
887 VkSurfaceKHR* pSurface);
888#endif
889#ifdef VK_USE_PLATFORM_XLIB_KHR
890bool PreCallValidateGetPhysicalDeviceXlibPresentationSupportKHR(
891 VkPhysicalDevice physicalDevice,
892 uint32_t queueFamilyIndex,
893 Display* dpy,
894 VisualID visualID);
895#endif
896#ifdef VK_USE_PLATFORM_XCB_KHR
897bool PreCallValidateCreateXcbSurfaceKHR(
898 VkInstance instance,
899 const VkXcbSurfaceCreateInfoKHR* pCreateInfo,
900 const VkAllocationCallbacks* pAllocator,
901 VkSurfaceKHR* pSurface);
902#endif
903#ifdef VK_USE_PLATFORM_XCB_KHR
904bool PreCallValidateGetPhysicalDeviceXcbPresentationSupportKHR(
905 VkPhysicalDevice physicalDevice,
906 uint32_t queueFamilyIndex,
907 xcb_connection_t* connection,
908 xcb_visualid_t visual_id);
909#endif
910#ifdef VK_USE_PLATFORM_WAYLAND_KHR
911bool PreCallValidateCreateWaylandSurfaceKHR(
912 VkInstance instance,
913 const VkWaylandSurfaceCreateInfoKHR* pCreateInfo,
914 const VkAllocationCallbacks* pAllocator,
915 VkSurfaceKHR* pSurface);
916#endif
917#ifdef VK_USE_PLATFORM_WAYLAND_KHR
918bool PreCallValidateGetPhysicalDeviceWaylandPresentationSupportKHR(
919 VkPhysicalDevice physicalDevice,
920 uint32_t queueFamilyIndex,
921 struct wl_display* display);
922#endif
923#ifdef VK_USE_PLATFORM_ANDROID_KHR
924bool PreCallValidateCreateAndroidSurfaceKHR(
925 VkInstance instance,
926 const VkAndroidSurfaceCreateInfoKHR* pCreateInfo,
927 const VkAllocationCallbacks* pAllocator,
928 VkSurfaceKHR* pSurface);
929#endif
930#ifdef VK_USE_PLATFORM_WIN32_KHR
931bool PreCallValidateCreateWin32SurfaceKHR(
932 VkInstance instance,
933 const VkWin32SurfaceCreateInfoKHR* pCreateInfo,
934 const VkAllocationCallbacks* pAllocator,
935 VkSurfaceKHR* pSurface);
936#endif
937#ifdef VK_USE_PLATFORM_WIN32_KHR
938bool PreCallValidateGetPhysicalDeviceWin32PresentationSupportKHR(
939 VkPhysicalDevice physicalDevice,
940 uint32_t queueFamilyIndex);
941#endif
942bool PreCallValidateGetPhysicalDeviceFeatures2KHR(
943 VkPhysicalDevice physicalDevice,
944 VkPhysicalDeviceFeatures2* pFeatures);
945bool PreCallValidateGetPhysicalDeviceProperties2KHR(
946 VkPhysicalDevice physicalDevice,
947 VkPhysicalDeviceProperties2* pProperties);
948bool PreCallValidateGetPhysicalDeviceFormatProperties2KHR(
949 VkPhysicalDevice physicalDevice,
950 VkFormat format,
951 VkFormatProperties2* pFormatProperties);
952bool PreCallValidateGetPhysicalDeviceImageFormatProperties2KHR(
953 VkPhysicalDevice physicalDevice,
954 const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo,
955 VkImageFormatProperties2* pImageFormatProperties);
956bool PreCallValidateGetPhysicalDeviceQueueFamilyProperties2KHR(
957 VkPhysicalDevice physicalDevice,
958 uint32_t* pQueueFamilyPropertyCount,
959 VkQueueFamilyProperties2* pQueueFamilyProperties);
960bool PreCallValidateGetPhysicalDeviceMemoryProperties2KHR(
961 VkPhysicalDevice physicalDevice,
962 VkPhysicalDeviceMemoryProperties2* pMemoryProperties);
963bool PreCallValidateGetPhysicalDeviceSparseImageFormatProperties2KHR(
964 VkPhysicalDevice physicalDevice,
965 const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo,
966 uint32_t* pPropertyCount,
967 VkSparseImageFormatProperties2* pProperties);
968bool PreCallValidateGetDeviceGroupPeerMemoryFeaturesKHR(
969 VkDevice device,
970 uint32_t heapIndex,
971 uint32_t localDeviceIndex,
972 uint32_t remoteDeviceIndex,
973 VkPeerMemoryFeatureFlags* pPeerMemoryFeatures);
974bool PreCallValidateCmdSetDeviceMaskKHR(
975 VkCommandBuffer commandBuffer,
976 uint32_t deviceMask);
977bool PreCallValidateCmdDispatchBaseKHR(
978 VkCommandBuffer commandBuffer,
979 uint32_t baseGroupX,
980 uint32_t baseGroupY,
981 uint32_t baseGroupZ,
982 uint32_t groupCountX,
983 uint32_t groupCountY,
984 uint32_t groupCountZ);
985bool PreCallValidateTrimCommandPoolKHR(
986 VkDevice device,
987 VkCommandPool commandPool,
988 VkCommandPoolTrimFlags flags);
989bool PreCallValidateEnumeratePhysicalDeviceGroupsKHR(
990 VkInstance instance,
991 uint32_t* pPhysicalDeviceGroupCount,
992 VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties);
993bool PreCallValidateGetPhysicalDeviceExternalBufferPropertiesKHR(
994 VkPhysicalDevice physicalDevice,
995 const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo,
996 VkExternalBufferProperties* pExternalBufferProperties);
997#ifdef VK_USE_PLATFORM_WIN32_KHR
998bool PreCallValidateGetMemoryWin32HandleKHR(
999 VkDevice device,
1000 const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo,
1001 HANDLE* pHandle);
1002#endif
1003#ifdef VK_USE_PLATFORM_WIN32_KHR
1004bool PreCallValidateGetMemoryWin32HandlePropertiesKHR(
1005 VkDevice device,
1006 VkExternalMemoryHandleTypeFlagBits handleType,
1007 HANDLE handle,
1008 VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties);
1009#endif
1010bool PreCallValidateGetMemoryFdKHR(
1011 VkDevice device,
1012 const VkMemoryGetFdInfoKHR* pGetFdInfo,
1013 int* pFd);
1014bool PreCallValidateGetMemoryFdPropertiesKHR(
1015 VkDevice device,
1016 VkExternalMemoryHandleTypeFlagBits handleType,
1017 int fd,
1018 VkMemoryFdPropertiesKHR* pMemoryFdProperties);
1019bool PreCallValidateGetPhysicalDeviceExternalSemaphorePropertiesKHR(
1020 VkPhysicalDevice physicalDevice,
1021 const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo,
1022 VkExternalSemaphoreProperties* pExternalSemaphoreProperties);
1023#ifdef VK_USE_PLATFORM_WIN32_KHR
1024bool PreCallValidateImportSemaphoreWin32HandleKHR(
1025 VkDevice device,
1026 const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo);
1027#endif
1028#ifdef VK_USE_PLATFORM_WIN32_KHR
1029bool PreCallValidateGetSemaphoreWin32HandleKHR(
1030 VkDevice device,
1031 const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo,
1032 HANDLE* pHandle);
1033#endif
1034bool PreCallValidateImportSemaphoreFdKHR(
1035 VkDevice device,
1036 const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo);
1037bool PreCallValidateGetSemaphoreFdKHR(
1038 VkDevice device,
1039 const VkSemaphoreGetFdInfoKHR* pGetFdInfo,
1040 int* pFd);
1041bool PreCallValidateCmdPushDescriptorSetKHR(
1042 VkCommandBuffer commandBuffer,
1043 VkPipelineBindPoint pipelineBindPoint,
1044 VkPipelineLayout layout,
1045 uint32_t set,
1046 uint32_t descriptorWriteCount,
1047 const VkWriteDescriptorSet* pDescriptorWrites);
1048bool PreCallValidateCmdPushDescriptorSetWithTemplateKHR(
1049 VkCommandBuffer commandBuffer,
1050 VkDescriptorUpdateTemplate descriptorUpdateTemplate,
1051 VkPipelineLayout layout,
1052 uint32_t set,
1053 const void* pData);
1054bool PreCallValidateCreateDescriptorUpdateTemplateKHR(
1055 VkDevice device,
1056 const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo,
1057 const VkAllocationCallbacks* pAllocator,
1058 VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate);
1059bool PreCallValidateDestroyDescriptorUpdateTemplateKHR(
1060 VkDevice device,
1061 VkDescriptorUpdateTemplate descriptorUpdateTemplate,
1062 const VkAllocationCallbacks* pAllocator);
1063bool PreCallValidateUpdateDescriptorSetWithTemplateKHR(
1064 VkDevice device,
1065 VkDescriptorSet descriptorSet,
1066 VkDescriptorUpdateTemplate descriptorUpdateTemplate,
1067 const void* pData);
1068bool PreCallValidateCreateRenderPass2KHR(
1069 VkDevice device,
1070 const VkRenderPassCreateInfo2KHR* pCreateInfo,
1071 const VkAllocationCallbacks* pAllocator,
1072 VkRenderPass* pRenderPass);
1073bool PreCallValidateCmdBeginRenderPass2KHR(
1074 VkCommandBuffer commandBuffer,
1075 const VkRenderPassBeginInfo* pRenderPassBegin,
1076 const VkSubpassBeginInfoKHR* pSubpassBeginInfo);
1077bool PreCallValidateCmdNextSubpass2KHR(
1078 VkCommandBuffer commandBuffer,
1079 const VkSubpassBeginInfoKHR* pSubpassBeginInfo,
1080 const VkSubpassEndInfoKHR* pSubpassEndInfo);
1081bool PreCallValidateCmdEndRenderPass2KHR(
1082 VkCommandBuffer commandBuffer,
1083 const VkSubpassEndInfoKHR* pSubpassEndInfo);
1084bool PreCallValidateGetSwapchainStatusKHR(
1085 VkDevice device,
1086 VkSwapchainKHR swapchain);
1087bool PreCallValidateGetPhysicalDeviceExternalFencePropertiesKHR(
1088 VkPhysicalDevice physicalDevice,
1089 const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo,
1090 VkExternalFenceProperties* pExternalFenceProperties);
1091#ifdef VK_USE_PLATFORM_WIN32_KHR
1092bool PreCallValidateImportFenceWin32HandleKHR(
1093 VkDevice device,
1094 const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo);
1095#endif
1096#ifdef VK_USE_PLATFORM_WIN32_KHR
1097bool PreCallValidateGetFenceWin32HandleKHR(
1098 VkDevice device,
1099 const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo,
1100 HANDLE* pHandle);
1101#endif
1102bool PreCallValidateImportFenceFdKHR(
1103 VkDevice device,
1104 const VkImportFenceFdInfoKHR* pImportFenceFdInfo);
1105bool PreCallValidateGetFenceFdKHR(
1106 VkDevice device,
1107 const VkFenceGetFdInfoKHR* pGetFdInfo,
1108 int* pFd);
1109bool PreCallValidateGetPhysicalDeviceSurfaceCapabilities2KHR(
1110 VkPhysicalDevice physicalDevice,
1111 const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
1112 VkSurfaceCapabilities2KHR* pSurfaceCapabilities);
1113bool PreCallValidateGetPhysicalDeviceSurfaceFormats2KHR(
1114 VkPhysicalDevice physicalDevice,
1115 const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
1116 uint32_t* pSurfaceFormatCount,
1117 VkSurfaceFormat2KHR* pSurfaceFormats);
1118bool PreCallValidateGetPhysicalDeviceDisplayProperties2KHR(
1119 VkPhysicalDevice physicalDevice,
1120 uint32_t* pPropertyCount,
1121 VkDisplayProperties2KHR* pProperties);
1122bool PreCallValidateGetPhysicalDeviceDisplayPlaneProperties2KHR(
1123 VkPhysicalDevice physicalDevice,
1124 uint32_t* pPropertyCount,
1125 VkDisplayPlaneProperties2KHR* pProperties);
1126bool PreCallValidateGetDisplayModeProperties2KHR(
1127 VkPhysicalDevice physicalDevice,
1128 VkDisplayKHR display,
1129 uint32_t* pPropertyCount,
1130 VkDisplayModeProperties2KHR* pProperties);
1131bool PreCallValidateGetDisplayPlaneCapabilities2KHR(
1132 VkPhysicalDevice physicalDevice,
1133 const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo,
1134 VkDisplayPlaneCapabilities2KHR* pCapabilities);
1135bool PreCallValidateGetImageMemoryRequirements2KHR(
1136 VkDevice device,
1137 const VkImageMemoryRequirementsInfo2* pInfo,
1138 VkMemoryRequirements2* pMemoryRequirements);
1139bool PreCallValidateGetBufferMemoryRequirements2KHR(
1140 VkDevice device,
1141 const VkBufferMemoryRequirementsInfo2* pInfo,
1142 VkMemoryRequirements2* pMemoryRequirements);
1143bool PreCallValidateGetImageSparseMemoryRequirements2KHR(
1144 VkDevice device,
1145 const VkImageSparseMemoryRequirementsInfo2* pInfo,
1146 uint32_t* pSparseMemoryRequirementCount,
1147 VkSparseImageMemoryRequirements2* pSparseMemoryRequirements);
1148bool PreCallValidateCreateSamplerYcbcrConversionKHR(
1149 VkDevice device,
1150 const VkSamplerYcbcrConversionCreateInfo* pCreateInfo,
1151 const VkAllocationCallbacks* pAllocator,
1152 VkSamplerYcbcrConversion* pYcbcrConversion);
1153bool PreCallValidateDestroySamplerYcbcrConversionKHR(
1154 VkDevice device,
1155 VkSamplerYcbcrConversion ycbcrConversion,
1156 const VkAllocationCallbacks* pAllocator);
1157bool PreCallValidateBindBufferMemory2KHR(
1158 VkDevice device,
1159 uint32_t bindInfoCount,
1160 const VkBindBufferMemoryInfo* pBindInfos);
1161bool PreCallValidateBindImageMemory2KHR(
1162 VkDevice device,
1163 uint32_t bindInfoCount,
1164 const VkBindImageMemoryInfo* pBindInfos);
1165bool PreCallValidateGetDescriptorSetLayoutSupportKHR(
1166 VkDevice device,
1167 const VkDescriptorSetLayoutCreateInfo* pCreateInfo,
1168 VkDescriptorSetLayoutSupport* pSupport);
1169bool PreCallValidateCmdDrawIndirectCountKHR(
1170 VkCommandBuffer commandBuffer,
1171 VkBuffer buffer,
1172 VkDeviceSize offset,
1173 VkBuffer countBuffer,
1174 VkDeviceSize countBufferOffset,
1175 uint32_t maxDrawCount,
1176 uint32_t stride);
1177bool PreCallValidateCmdDrawIndexedIndirectCountKHR(
1178 VkCommandBuffer commandBuffer,
1179 VkBuffer buffer,
1180 VkDeviceSize offset,
1181 VkBuffer countBuffer,
1182 VkDeviceSize countBufferOffset,
1183 uint32_t maxDrawCount,
1184 uint32_t stride);
1185bool PreCallValidateCreateDebugReportCallbackEXT(
1186 VkInstance instance,
1187 const VkDebugReportCallbackCreateInfoEXT* pCreateInfo,
1188 const VkAllocationCallbacks* pAllocator,
1189 VkDebugReportCallbackEXT* pCallback);
1190bool PreCallValidateDestroyDebugReportCallbackEXT(
1191 VkInstance instance,
1192 VkDebugReportCallbackEXT callback,
1193 const VkAllocationCallbacks* pAllocator);
1194bool PreCallValidateDebugReportMessageEXT(
1195 VkInstance instance,
1196 VkDebugReportFlagsEXT flags,
1197 VkDebugReportObjectTypeEXT objectType,
1198 uint64_t object,
1199 size_t location,
1200 int32_t messageCode,
1201 const char* pLayerPrefix,
1202 const char* pMessage);
1203bool PreCallValidateDebugMarkerSetObjectTagEXT(
1204 VkDevice device,
1205 const VkDebugMarkerObjectTagInfoEXT* pTagInfo);
1206bool PreCallValidateDebugMarkerSetObjectNameEXT(
1207 VkDevice device,
1208 const VkDebugMarkerObjectNameInfoEXT* pNameInfo);
1209bool PreCallValidateCmdDebugMarkerBeginEXT(
1210 VkCommandBuffer commandBuffer,
1211 const VkDebugMarkerMarkerInfoEXT* pMarkerInfo);
1212bool PreCallValidateCmdDebugMarkerEndEXT(
1213 VkCommandBuffer commandBuffer);
1214bool PreCallValidateCmdDebugMarkerInsertEXT(
1215 VkCommandBuffer commandBuffer,
1216 const VkDebugMarkerMarkerInfoEXT* pMarkerInfo);
1217bool PreCallValidateCmdBindTransformFeedbackBuffersEXT(
1218 VkCommandBuffer commandBuffer,
1219 uint32_t firstBinding,
1220 uint32_t bindingCount,
1221 const VkBuffer* pBuffers,
1222 const VkDeviceSize* pOffsets,
1223 const VkDeviceSize* pSizes);
1224bool PreCallValidateCmdBeginTransformFeedbackEXT(
1225 VkCommandBuffer commandBuffer,
1226 uint32_t firstCounterBuffer,
1227 uint32_t counterBufferCount,
1228 const VkBuffer* pCounterBuffers,
1229 const VkDeviceSize* pCounterBufferOffsets);
1230bool PreCallValidateCmdEndTransformFeedbackEXT(
1231 VkCommandBuffer commandBuffer,
1232 uint32_t firstCounterBuffer,
1233 uint32_t counterBufferCount,
1234 const VkBuffer* pCounterBuffers,
1235 const VkDeviceSize* pCounterBufferOffsets);
1236bool PreCallValidateCmdBeginQueryIndexedEXT(
1237 VkCommandBuffer commandBuffer,
1238 VkQueryPool queryPool,
1239 uint32_t query,
1240 VkQueryControlFlags flags,
1241 uint32_t index);
1242bool PreCallValidateCmdEndQueryIndexedEXT(
1243 VkCommandBuffer commandBuffer,
1244 VkQueryPool queryPool,
1245 uint32_t query,
1246 uint32_t index);
1247bool PreCallValidateCmdDrawIndirectByteCountEXT(
1248 VkCommandBuffer commandBuffer,
1249 uint32_t instanceCount,
1250 uint32_t firstInstance,
1251 VkBuffer counterBuffer,
1252 VkDeviceSize counterBufferOffset,
1253 uint32_t counterOffset,
1254 uint32_t vertexStride);
1255bool PreCallValidateGetImageViewHandleNVX(
1256 VkDevice device,
1257 const VkImageViewHandleInfoNVX* pInfo);
1258bool PreCallValidateCmdDrawIndirectCountAMD(
1259 VkCommandBuffer commandBuffer,
1260 VkBuffer buffer,
1261 VkDeviceSize offset,
1262 VkBuffer countBuffer,
1263 VkDeviceSize countBufferOffset,
1264 uint32_t maxDrawCount,
1265 uint32_t stride);
1266bool PreCallValidateCmdDrawIndexedIndirectCountAMD(
1267 VkCommandBuffer commandBuffer,
1268 VkBuffer buffer,
1269 VkDeviceSize offset,
1270 VkBuffer countBuffer,
1271 VkDeviceSize countBufferOffset,
1272 uint32_t maxDrawCount,
1273 uint32_t stride);
1274bool PreCallValidateGetShaderInfoAMD(
1275 VkDevice device,
1276 VkPipeline pipeline,
1277 VkShaderStageFlagBits shaderStage,
1278 VkShaderInfoTypeAMD infoType,
1279 size_t* pInfoSize,
1280 void* pInfo);
1281#ifdef VK_USE_PLATFORM_GGP
1282bool PreCallValidateCreateStreamDescriptorSurfaceGGP(
1283 VkInstance instance,
1284 const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
1285 const VkAllocationCallbacks* pAllocator,
1286 VkSurfaceKHR* pSurface);
1287#endif
1288bool PreCallValidateGetPhysicalDeviceExternalImageFormatPropertiesNV(
1289 VkPhysicalDevice physicalDevice,
1290 VkFormat format,
1291 VkImageType type,
1292 VkImageTiling tiling,
1293 VkImageUsageFlags usage,
1294 VkImageCreateFlags flags,
1295 VkExternalMemoryHandleTypeFlagsNV externalHandleType,
1296 VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties);
1297#ifdef VK_USE_PLATFORM_WIN32_KHR
1298bool PreCallValidateGetMemoryWin32HandleNV(
1299 VkDevice device,
1300 VkDeviceMemory memory,
1301 VkExternalMemoryHandleTypeFlagsNV handleType,
1302 HANDLE* pHandle);
1303#endif
1304#ifdef VK_USE_PLATFORM_VI_NN
1305bool PreCallValidateCreateViSurfaceNN(
1306 VkInstance instance,
1307 const VkViSurfaceCreateInfoNN* pCreateInfo,
1308 const VkAllocationCallbacks* pAllocator,
1309 VkSurfaceKHR* pSurface);
1310#endif
1311bool PreCallValidateCmdBeginConditionalRenderingEXT(
1312 VkCommandBuffer commandBuffer,
1313 const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin);
1314bool PreCallValidateCmdEndConditionalRenderingEXT(
1315 VkCommandBuffer commandBuffer);
1316bool PreCallValidateCmdProcessCommandsNVX(
1317 VkCommandBuffer commandBuffer,
1318 const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo);
1319bool PreCallValidateCmdReserveSpaceForCommandsNVX(
1320 VkCommandBuffer commandBuffer,
1321 const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo);
1322bool PreCallValidateCreateIndirectCommandsLayoutNVX(
1323 VkDevice device,
1324 const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo,
1325 const VkAllocationCallbacks* pAllocator,
1326 VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout);
1327bool PreCallValidateDestroyIndirectCommandsLayoutNVX(
1328 VkDevice device,
1329 VkIndirectCommandsLayoutNVX indirectCommandsLayout,
1330 const VkAllocationCallbacks* pAllocator);
1331bool PreCallValidateCreateObjectTableNVX(
1332 VkDevice device,
1333 const VkObjectTableCreateInfoNVX* pCreateInfo,
1334 const VkAllocationCallbacks* pAllocator,
1335 VkObjectTableNVX* pObjectTable);
1336bool PreCallValidateDestroyObjectTableNVX(
1337 VkDevice device,
1338 VkObjectTableNVX objectTable,
1339 const VkAllocationCallbacks* pAllocator);
1340bool PreCallValidateRegisterObjectsNVX(
1341 VkDevice device,
1342 VkObjectTableNVX objectTable,
1343 uint32_t objectCount,
1344 const VkObjectTableEntryNVX* const* ppObjectTableEntries,
1345 const uint32_t* pObjectIndices);
1346bool PreCallValidateUnregisterObjectsNVX(
1347 VkDevice device,
1348 VkObjectTableNVX objectTable,
1349 uint32_t objectCount,
1350 const VkObjectEntryTypeNVX* pObjectEntryTypes,
1351 const uint32_t* pObjectIndices);
1352bool PreCallValidateGetPhysicalDeviceGeneratedCommandsPropertiesNVX(
1353 VkPhysicalDevice physicalDevice,
1354 VkDeviceGeneratedCommandsFeaturesNVX* pFeatures,
1355 VkDeviceGeneratedCommandsLimitsNVX* pLimits);
1356bool PreCallValidateCmdSetViewportWScalingNV(
1357 VkCommandBuffer commandBuffer,
1358 uint32_t firstViewport,
1359 uint32_t viewportCount,
1360 const VkViewportWScalingNV* pViewportWScalings);
1361bool PreCallValidateReleaseDisplayEXT(
1362 VkPhysicalDevice physicalDevice,
1363 VkDisplayKHR display);
1364#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
1365bool PreCallValidateAcquireXlibDisplayEXT(
1366 VkPhysicalDevice physicalDevice,
1367 Display* dpy,
1368 VkDisplayKHR display);
1369#endif
1370#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
1371bool PreCallValidateGetRandROutputDisplayEXT(
1372 VkPhysicalDevice physicalDevice,
1373 Display* dpy,
1374 RROutput rrOutput,
1375 VkDisplayKHR* pDisplay);
1376#endif
1377bool PreCallValidateGetPhysicalDeviceSurfaceCapabilities2EXT(
1378 VkPhysicalDevice physicalDevice,
1379 VkSurfaceKHR surface,
1380 VkSurfaceCapabilities2EXT* pSurfaceCapabilities);
1381bool PreCallValidateDisplayPowerControlEXT(
1382 VkDevice device,
1383 VkDisplayKHR display,
1384 const VkDisplayPowerInfoEXT* pDisplayPowerInfo);
1385bool PreCallValidateRegisterDeviceEventEXT(
1386 VkDevice device,
1387 const VkDeviceEventInfoEXT* pDeviceEventInfo,
1388 const VkAllocationCallbacks* pAllocator,
1389 VkFence* pFence);
1390bool PreCallValidateRegisterDisplayEventEXT(
1391 VkDevice device,
1392 VkDisplayKHR display,
1393 const VkDisplayEventInfoEXT* pDisplayEventInfo,
1394 const VkAllocationCallbacks* pAllocator,
1395 VkFence* pFence);
1396bool PreCallValidateGetSwapchainCounterEXT(
1397 VkDevice device,
1398 VkSwapchainKHR swapchain,
1399 VkSurfaceCounterFlagBitsEXT counter,
1400 uint64_t* pCounterValue);
1401bool PreCallValidateGetRefreshCycleDurationGOOGLE(
1402 VkDevice device,
1403 VkSwapchainKHR swapchain,
1404 VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties);
1405bool PreCallValidateGetPastPresentationTimingGOOGLE(
1406 VkDevice device,
1407 VkSwapchainKHR swapchain,
1408 uint32_t* pPresentationTimingCount,
1409 VkPastPresentationTimingGOOGLE* pPresentationTimings);
1410bool PreCallValidateCmdSetDiscardRectangleEXT(
1411 VkCommandBuffer commandBuffer,
1412 uint32_t firstDiscardRectangle,
1413 uint32_t discardRectangleCount,
1414 const VkRect2D* pDiscardRectangles);
1415bool PreCallValidateSetHdrMetadataEXT(
1416 VkDevice device,
1417 uint32_t swapchainCount,
1418 const VkSwapchainKHR* pSwapchains,
1419 const VkHdrMetadataEXT* pMetadata);
1420#ifdef VK_USE_PLATFORM_IOS_MVK
1421bool PreCallValidateCreateIOSSurfaceMVK(
1422 VkInstance instance,
1423 const VkIOSSurfaceCreateInfoMVK* pCreateInfo,
1424 const VkAllocationCallbacks* pAllocator,
1425 VkSurfaceKHR* pSurface);
1426#endif
1427#ifdef VK_USE_PLATFORM_MACOS_MVK
1428bool PreCallValidateCreateMacOSSurfaceMVK(
1429 VkInstance instance,
1430 const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
1431 const VkAllocationCallbacks* pAllocator,
1432 VkSurfaceKHR* pSurface);
1433#endif
1434bool PreCallValidateSetDebugUtilsObjectNameEXT(
1435 VkDevice device,
1436 const VkDebugUtilsObjectNameInfoEXT* pNameInfo);
1437bool PreCallValidateSetDebugUtilsObjectTagEXT(
1438 VkDevice device,
1439 const VkDebugUtilsObjectTagInfoEXT* pTagInfo);
1440bool PreCallValidateQueueBeginDebugUtilsLabelEXT(
1441 VkQueue queue,
1442 const VkDebugUtilsLabelEXT* pLabelInfo);
1443bool PreCallValidateQueueEndDebugUtilsLabelEXT(
1444 VkQueue queue);
1445bool PreCallValidateQueueInsertDebugUtilsLabelEXT(
1446 VkQueue queue,
1447 const VkDebugUtilsLabelEXT* pLabelInfo);
1448bool PreCallValidateCmdBeginDebugUtilsLabelEXT(
1449 VkCommandBuffer commandBuffer,
1450 const VkDebugUtilsLabelEXT* pLabelInfo);
1451bool PreCallValidateCmdEndDebugUtilsLabelEXT(
1452 VkCommandBuffer commandBuffer);
1453bool PreCallValidateCmdInsertDebugUtilsLabelEXT(
1454 VkCommandBuffer commandBuffer,
1455 const VkDebugUtilsLabelEXT* pLabelInfo);
1456bool PreCallValidateCreateDebugUtilsMessengerEXT(
1457 VkInstance instance,
1458 const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo,
1459 const VkAllocationCallbacks* pAllocator,
1460 VkDebugUtilsMessengerEXT* pMessenger);
1461bool PreCallValidateDestroyDebugUtilsMessengerEXT(
1462 VkInstance instance,
1463 VkDebugUtilsMessengerEXT messenger,
1464 const VkAllocationCallbacks* pAllocator);
1465bool PreCallValidateSubmitDebugUtilsMessageEXT(
1466 VkInstance instance,
1467 VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
1468 VkDebugUtilsMessageTypeFlagsEXT messageTypes,
1469 const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData);
1470#ifdef VK_USE_PLATFORM_ANDROID_KHR
1471bool PreCallValidateGetAndroidHardwareBufferPropertiesANDROID(
1472 VkDevice device,
1473 const struct AHardwareBuffer* buffer,
1474 VkAndroidHardwareBufferPropertiesANDROID* pProperties);
1475#endif
1476#ifdef VK_USE_PLATFORM_ANDROID_KHR
1477bool PreCallValidateGetMemoryAndroidHardwareBufferANDROID(
1478 VkDevice device,
1479 const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo,
1480 struct AHardwareBuffer** pBuffer);
1481#endif
1482bool PreCallValidateCmdSetSampleLocationsEXT(
1483 VkCommandBuffer commandBuffer,
1484 const VkSampleLocationsInfoEXT* pSampleLocationsInfo);
1485bool PreCallValidateGetPhysicalDeviceMultisamplePropertiesEXT(
1486 VkPhysicalDevice physicalDevice,
1487 VkSampleCountFlagBits samples,
1488 VkMultisamplePropertiesEXT* pMultisampleProperties);
1489bool PreCallValidateGetImageDrmFormatModifierPropertiesEXT(
1490 VkDevice device,
1491 VkImage image,
1492 VkImageDrmFormatModifierPropertiesEXT* pProperties);
1493bool PreCallValidateCreateValidationCacheEXT(
1494 VkDevice device,
1495 const VkValidationCacheCreateInfoEXT* pCreateInfo,
1496 const VkAllocationCallbacks* pAllocator,
1497 VkValidationCacheEXT* pValidationCache);
1498bool PreCallValidateDestroyValidationCacheEXT(
1499 VkDevice device,
1500 VkValidationCacheEXT validationCache,
1501 const VkAllocationCallbacks* pAllocator);
1502bool PreCallValidateMergeValidationCachesEXT(
1503 VkDevice device,
1504 VkValidationCacheEXT dstCache,
1505 uint32_t srcCacheCount,
1506 const VkValidationCacheEXT* pSrcCaches);
1507bool PreCallValidateGetValidationCacheDataEXT(
1508 VkDevice device,
1509 VkValidationCacheEXT validationCache,
1510 size_t* pDataSize,
1511 void* pData);
1512bool PreCallValidateCmdBindShadingRateImageNV(
1513 VkCommandBuffer commandBuffer,
1514 VkImageView imageView,
1515 VkImageLayout imageLayout);
1516bool PreCallValidateCmdSetViewportShadingRatePaletteNV(
1517 VkCommandBuffer commandBuffer,
1518 uint32_t firstViewport,
1519 uint32_t viewportCount,
1520 const VkShadingRatePaletteNV* pShadingRatePalettes);
1521bool PreCallValidateCmdSetCoarseSampleOrderNV(
1522 VkCommandBuffer commandBuffer,
1523 VkCoarseSampleOrderTypeNV sampleOrderType,
1524 uint32_t customSampleOrderCount,
1525 const VkCoarseSampleOrderCustomNV* pCustomSampleOrders);
1526bool PreCallValidateCreateAccelerationStructureNV(
1527 VkDevice device,
1528 const VkAccelerationStructureCreateInfoNV* pCreateInfo,
1529 const VkAllocationCallbacks* pAllocator,
1530 VkAccelerationStructureNV* pAccelerationStructure);
1531bool PreCallValidateDestroyAccelerationStructureNV(
1532 VkDevice device,
1533 VkAccelerationStructureNV accelerationStructure,
1534 const VkAllocationCallbacks* pAllocator);
1535bool PreCallValidateGetAccelerationStructureMemoryRequirementsNV(
1536 VkDevice device,
1537 const VkAccelerationStructureMemoryRequirementsInfoNV* pInfo,
1538 VkMemoryRequirements2KHR* pMemoryRequirements);
1539bool PreCallValidateBindAccelerationStructureMemoryNV(
1540 VkDevice device,
1541 uint32_t bindInfoCount,
1542 const VkBindAccelerationStructureMemoryInfoNV* pBindInfos);
1543bool PreCallValidateCmdBuildAccelerationStructureNV(
1544 VkCommandBuffer commandBuffer,
1545 const VkAccelerationStructureInfoNV* pInfo,
1546 VkBuffer instanceData,
1547 VkDeviceSize instanceOffset,
1548 VkBool32 update,
1549 VkAccelerationStructureNV dst,
1550 VkAccelerationStructureNV src,
1551 VkBuffer scratch,
1552 VkDeviceSize scratchOffset);
1553bool PreCallValidateCmdCopyAccelerationStructureNV(
1554 VkCommandBuffer commandBuffer,
1555 VkAccelerationStructureNV dst,
1556 VkAccelerationStructureNV src,
1557 VkCopyAccelerationStructureModeNV mode);
1558bool PreCallValidateCmdTraceRaysNV(
1559 VkCommandBuffer commandBuffer,
1560 VkBuffer raygenShaderBindingTableBuffer,
1561 VkDeviceSize raygenShaderBindingOffset,
1562 VkBuffer missShaderBindingTableBuffer,
1563 VkDeviceSize missShaderBindingOffset,
1564 VkDeviceSize missShaderBindingStride,
1565 VkBuffer hitShaderBindingTableBuffer,
1566 VkDeviceSize hitShaderBindingOffset,
1567 VkDeviceSize hitShaderBindingStride,
1568 VkBuffer callableShaderBindingTableBuffer,
1569 VkDeviceSize callableShaderBindingOffset,
1570 VkDeviceSize callableShaderBindingStride,
1571 uint32_t width,
1572 uint32_t height,
1573 uint32_t depth);
1574bool PreCallValidateCreateRayTracingPipelinesNV(
1575 VkDevice device,
1576 VkPipelineCache pipelineCache,
1577 uint32_t createInfoCount,
1578 const VkRayTracingPipelineCreateInfoNV* pCreateInfos,
1579 const VkAllocationCallbacks* pAllocator,
1580 VkPipeline* pPipelines);
1581bool PreCallValidateGetRayTracingShaderGroupHandlesNV(
1582 VkDevice device,
1583 VkPipeline pipeline,
1584 uint32_t firstGroup,
1585 uint32_t groupCount,
1586 size_t dataSize,
1587 void* pData);
1588bool PreCallValidateGetAccelerationStructureHandleNV(
1589 VkDevice device,
1590 VkAccelerationStructureNV accelerationStructure,
1591 size_t dataSize,
1592 void* pData);
1593bool PreCallValidateCmdWriteAccelerationStructuresPropertiesNV(
1594 VkCommandBuffer commandBuffer,
1595 uint32_t accelerationStructureCount,
1596 const VkAccelerationStructureNV* pAccelerationStructures,
1597 VkQueryType queryType,
1598 VkQueryPool queryPool,
1599 uint32_t firstQuery);
1600bool PreCallValidateCompileDeferredNV(
1601 VkDevice device,
1602 VkPipeline pipeline,
1603 uint32_t shader);
1604bool PreCallValidateGetMemoryHostPointerPropertiesEXT(
1605 VkDevice device,
1606 VkExternalMemoryHandleTypeFlagBits handleType,
1607 const void* pHostPointer,
1608 VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties);
1609bool PreCallValidateCmdWriteBufferMarkerAMD(
1610 VkCommandBuffer commandBuffer,
1611 VkPipelineStageFlagBits pipelineStage,
1612 VkBuffer dstBuffer,
1613 VkDeviceSize dstOffset,
1614 uint32_t marker);
1615bool PreCallValidateGetPhysicalDeviceCalibrateableTimeDomainsEXT(
1616 VkPhysicalDevice physicalDevice,
1617 uint32_t* pTimeDomainCount,
1618 VkTimeDomainEXT* pTimeDomains);
1619bool PreCallValidateGetCalibratedTimestampsEXT(
1620 VkDevice device,
1621 uint32_t timestampCount,
1622 const VkCalibratedTimestampInfoEXT* pTimestampInfos,
1623 uint64_t* pTimestamps,
1624 uint64_t* pMaxDeviation);
1625bool PreCallValidateCmdDrawMeshTasksNV(
1626 VkCommandBuffer commandBuffer,
1627 uint32_t taskCount,
1628 uint32_t firstTask);
1629bool PreCallValidateCmdDrawMeshTasksIndirectNV(
1630 VkCommandBuffer commandBuffer,
1631 VkBuffer buffer,
1632 VkDeviceSize offset,
1633 uint32_t drawCount,
1634 uint32_t stride);
1635bool PreCallValidateCmdDrawMeshTasksIndirectCountNV(
1636 VkCommandBuffer commandBuffer,
1637 VkBuffer buffer,
1638 VkDeviceSize offset,
1639 VkBuffer countBuffer,
1640 VkDeviceSize countBufferOffset,
1641 uint32_t maxDrawCount,
1642 uint32_t stride);
1643bool PreCallValidateCmdSetExclusiveScissorNV(
1644 VkCommandBuffer commandBuffer,
1645 uint32_t firstExclusiveScissor,
1646 uint32_t exclusiveScissorCount,
1647 const VkRect2D* pExclusiveScissors);
1648bool PreCallValidateCmdSetCheckpointNV(
1649 VkCommandBuffer commandBuffer,
1650 const void* pCheckpointMarker);
1651bool PreCallValidateGetQueueCheckpointDataNV(
1652 VkQueue queue,
1653 uint32_t* pCheckpointDataCount,
1654 VkCheckpointDataNV* pCheckpointData);
1655bool PreCallValidateInitializePerformanceApiINTEL(
1656 VkDevice device,
1657 const VkInitializePerformanceApiInfoINTEL* pInitializeInfo);
1658bool PreCallValidateUninitializePerformanceApiINTEL(
1659 VkDevice device);
1660bool PreCallValidateCmdSetPerformanceMarkerINTEL(
1661 VkCommandBuffer commandBuffer,
1662 const VkPerformanceMarkerInfoINTEL* pMarkerInfo);
1663bool PreCallValidateCmdSetPerformanceStreamMarkerINTEL(
1664 VkCommandBuffer commandBuffer,
1665 const VkPerformanceStreamMarkerInfoINTEL* pMarkerInfo);
1666bool PreCallValidateCmdSetPerformanceOverrideINTEL(
1667 VkCommandBuffer commandBuffer,
1668 const VkPerformanceOverrideInfoINTEL* pOverrideInfo);
1669bool PreCallValidateAcquirePerformanceConfigurationINTEL(
1670 VkDevice device,
1671 const VkPerformanceConfigurationAcquireInfoINTEL* pAcquireInfo,
1672 VkPerformanceConfigurationINTEL* pConfiguration);
1673bool PreCallValidateReleasePerformanceConfigurationINTEL(
1674 VkDevice device,
1675 VkPerformanceConfigurationINTEL configuration);
1676bool PreCallValidateQueueSetPerformanceConfigurationINTEL(
1677 VkQueue queue,
1678 VkPerformanceConfigurationINTEL configuration);
1679bool PreCallValidateGetPerformanceParameterINTEL(
1680 VkDevice device,
1681 VkPerformanceParameterTypeINTEL parameter,
1682 VkPerformanceValueINTEL* pValue);
1683bool PreCallValidateSetLocalDimmingAMD(
1684 VkDevice device,
1685 VkSwapchainKHR swapChain,
1686 VkBool32 localDimmingEnable);
1687#ifdef VK_USE_PLATFORM_FUCHSIA
1688bool PreCallValidateCreateImagePipeSurfaceFUCHSIA(
1689 VkInstance instance,
1690 const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo,
1691 const VkAllocationCallbacks* pAllocator,
1692 VkSurfaceKHR* pSurface);
1693#endif
1694#ifdef VK_USE_PLATFORM_METAL_EXT
1695bool PreCallValidateCreateMetalSurfaceEXT(
1696 VkInstance instance,
1697 const VkMetalSurfaceCreateInfoEXT* pCreateInfo,
1698 const VkAllocationCallbacks* pAllocator,
1699 VkSurfaceKHR* pSurface);
1700#endif
1701bool PreCallValidateGetBufferDeviceAddressEXT(
1702 VkDevice device,
1703 const VkBufferDeviceAddressInfoEXT* pInfo);
1704bool PreCallValidateGetPhysicalDeviceCooperativeMatrixPropertiesNV(
1705 VkPhysicalDevice physicalDevice,
1706 uint32_t* pPropertyCount,
1707 VkCooperativeMatrixPropertiesNV* pProperties);
1708bool PreCallValidateGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(
1709 VkPhysicalDevice physicalDevice,
1710 uint32_t* pCombinationCount,
1711 VkFramebufferMixedSamplesCombinationNV* pCombinations);
1712#ifdef VK_USE_PLATFORM_WIN32_KHR
1713bool PreCallValidateGetPhysicalDeviceSurfacePresentModes2EXT(
1714 VkPhysicalDevice physicalDevice,
1715 const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo,
1716 uint32_t* pPresentModeCount,
1717 VkPresentModeKHR* pPresentModes);
1718#endif
1719#ifdef VK_USE_PLATFORM_WIN32_KHR
1720bool PreCallValidateAcquireFullScreenExclusiveModeEXT(
1721 VkDevice device,
1722 VkSwapchainKHR swapchain);
1723#endif
1724#ifdef VK_USE_PLATFORM_WIN32_KHR
1725bool PreCallValidateReleaseFullScreenExclusiveModeEXT(
1726 VkDevice device,
1727 VkSwapchainKHR swapchain);
1728#endif
1729bool PreCallValidateCreateHeadlessSurfaceEXT(
1730 VkInstance instance,
1731 const VkHeadlessSurfaceCreateInfoEXT* pCreateInfo,
1732 const VkAllocationCallbacks* pAllocator,
1733 VkSurfaceKHR* pSurface);
1734bool PreCallValidateResetQueryPoolEXT(
1735 VkDevice device,
1736 VkQueryPool queryPool,
1737 uint32_t firstQuery,
1738 uint32_t queryCount);