4379 lines
192 KiB
C
4379 lines
192 KiB
C
/* Automatically generated from Vulkan vk.xml; DO NOT EDIT!
|
|
*
|
|
* This file is generated from Vulkan vk.xml file covered
|
|
* by the following copyright and permission notice:
|
|
*
|
|
* Copyright 2015-2021 The Khronos Group Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include "vulkan_loader.h"
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(vulkan);
|
|
|
|
VkResult WINAPI vkAcquireNextImage2KHR(VkDevice device, const VkAcquireNextImageInfoKHR *pAcquireInfo, uint32_t *pImageIndex)
|
|
{
|
|
struct vkAcquireNextImage2KHR_params params;
|
|
params.device = device;
|
|
params.pAcquireInfo = pAcquireInfo;
|
|
params.pImageIndex = pImageIndex;
|
|
return vk_unix_call(unix_vkAcquireNextImage2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t *pImageIndex)
|
|
{
|
|
struct vkAcquireNextImageKHR_params params;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.timeout = timeout;
|
|
params.semaphore = semaphore;
|
|
params.fence = fence;
|
|
params.pImageIndex = pImageIndex;
|
|
return vk_unix_call(unix_vkAcquireNextImageKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAcquirePerformanceConfigurationINTEL(VkDevice device, const VkPerformanceConfigurationAcquireInfoINTEL *pAcquireInfo, VkPerformanceConfigurationINTEL *pConfiguration)
|
|
{
|
|
struct vkAcquirePerformanceConfigurationINTEL_params params;
|
|
params.device = device;
|
|
params.pAcquireInfo = pAcquireInfo;
|
|
params.pConfiguration = pConfiguration;
|
|
return vk_unix_call(unix_vkAcquirePerformanceConfigurationINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAcquireProfilingLockKHR(VkDevice device, const VkAcquireProfilingLockInfoKHR *pInfo)
|
|
{
|
|
struct vkAcquireProfilingLockKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkAcquireProfilingLockKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, VkCommandBuffer *pCommandBuffers)
|
|
{
|
|
struct vkAllocateCommandBuffers_params params;
|
|
params.device = device;
|
|
params.pAllocateInfo = pAllocateInfo;
|
|
params.pCommandBuffers = pCommandBuffers;
|
|
return vk_unix_call(unix_vkAllocateCommandBuffers, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets)
|
|
{
|
|
struct vkAllocateDescriptorSets_params params;
|
|
params.device = device;
|
|
params.pAllocateInfo = pAllocateInfo;
|
|
params.pDescriptorSets = pDescriptorSets;
|
|
return vk_unix_call(unix_vkAllocateDescriptorSets, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMemory)
|
|
{
|
|
struct vkAllocateMemory_params params;
|
|
params.device = device;
|
|
params.pAllocateInfo = pAllocateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pMemory = pMemory;
|
|
return vk_unix_call(unix_vkAllocateMemory, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo *pBeginInfo)
|
|
{
|
|
struct vkBeginCommandBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBeginInfo = pBeginInfo;
|
|
return vk_unix_call(unix_vkBeginCommandBuffer, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindAccelerationStructureMemoryNV(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoNV *pBindInfos)
|
|
{
|
|
struct vkBindAccelerationStructureMemoryNV_params params;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
return vk_unix_call(unix_vkBindAccelerationStructureMemoryNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset)
|
|
{
|
|
struct vkBindBufferMemory_params params;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.memory = memory;
|
|
params.memoryOffset = memoryOffset;
|
|
return vk_unix_call(unix_vkBindBufferMemory, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindBufferMemory2_params params;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
return vk_unix_call(unix_vkBindBufferMemory2, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindBufferMemory2KHR_params params;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
return vk_unix_call(unix_vkBindBufferMemory2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset)
|
|
{
|
|
struct vkBindImageMemory_params params;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.memory = memory;
|
|
params.memoryOffset = memoryOffset;
|
|
return vk_unix_call(unix_vkBindImageMemory, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindImageMemory2_params params;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
return vk_unix_call(unix_vkBindImageMemory2, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindImageMemory2KHR_params params;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
return vk_unix_call(unix_vkBindImageMemory2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkBuildAccelerationStructuresKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR *pInfos, const VkAccelerationStructureBuildRangeInfoKHR * const*ppBuildRangeInfos)
|
|
{
|
|
struct vkBuildAccelerationStructuresKHR_params params;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
params.ppBuildRangeInfos = ppBuildRangeInfos;
|
|
return vk_unix_call(unix_vkBuildAccelerationStructuresKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginConditionalRenderingEXT(VkCommandBuffer commandBuffer, const VkConditionalRenderingBeginInfoEXT *pConditionalRenderingBegin)
|
|
{
|
|
struct vkCmdBeginConditionalRenderingEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pConditionalRenderingBegin = pConditionalRenderingBegin;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginConditionalRenderingEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkCmdBeginDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLabelInfo = pLabelInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags)
|
|
{
|
|
struct vkCmdBeginQuery_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
params.flags = flags;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginQuery, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index)
|
|
{
|
|
struct vkCmdBeginQueryIndexedEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
params.flags = flags;
|
|
params.index = index;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginQueryIndexedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo *pRenderPassBegin, VkSubpassContents contents)
|
|
{
|
|
struct vkCmdBeginRenderPass_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderPassBegin = pRenderPassBegin;
|
|
params.contents = contents;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginRenderPass, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRenderPass2(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo *pRenderPassBegin, const VkSubpassBeginInfo *pSubpassBeginInfo)
|
|
{
|
|
struct vkCmdBeginRenderPass2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderPassBegin = pRenderPassBegin;
|
|
params.pSubpassBeginInfo = pSubpassBeginInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginRenderPass2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo *pRenderPassBegin, const VkSubpassBeginInfo *pSubpassBeginInfo)
|
|
{
|
|
struct vkCmdBeginRenderPass2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderPassBegin = pRenderPassBegin;
|
|
params.pSubpassBeginInfo = pSubpassBeginInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginRenderPass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRenderingKHR(VkCommandBuffer commandBuffer, const VkRenderingInfoKHR *pRenderingInfo)
|
|
{
|
|
struct vkCmdBeginRenderingKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderingInfo = pRenderingInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginRenderingKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginTransformFeedbackEXT(VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer *pCounterBuffers, const VkDeviceSize *pCounterBufferOffsets)
|
|
{
|
|
struct vkCmdBeginTransformFeedbackEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstCounterBuffer = firstCounterBuffer;
|
|
params.counterBufferCount = counterBufferCount;
|
|
params.pCounterBuffers = pCounterBuffers;
|
|
params.pCounterBufferOffsets = pCounterBufferOffsets;
|
|
unix_funcs->p_vk_call(unix_vkCmdBeginTransformFeedbackEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t *pDynamicOffsets)
|
|
{
|
|
struct vkCmdBindDescriptorSets_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.layout = layout;
|
|
params.firstSet = firstSet;
|
|
params.descriptorSetCount = descriptorSetCount;
|
|
params.pDescriptorSets = pDescriptorSets;
|
|
params.dynamicOffsetCount = dynamicOffsetCount;
|
|
params.pDynamicOffsets = pDynamicOffsets;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindDescriptorSets, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType)
|
|
{
|
|
struct vkCmdBindIndexBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.indexType = indexType;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindIndexBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindInvocationMaskHUAWEI(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout)
|
|
{
|
|
struct vkCmdBindInvocationMaskHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.imageView = imageView;
|
|
params.imageLayout = imageLayout;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindInvocationMaskHUAWEI, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindPipeline(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline)
|
|
{
|
|
struct vkCmdBindPipeline_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.pipeline = pipeline;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindPipeline, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindPipelineShaderGroupNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex)
|
|
{
|
|
struct vkCmdBindPipelineShaderGroupNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.pipeline = pipeline;
|
|
params.groupIndex = groupIndex;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindPipelineShaderGroupNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindShadingRateImageNV(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout)
|
|
{
|
|
struct vkCmdBindShadingRateImageNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.imageView = imageView;
|
|
params.imageLayout = imageLayout;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindShadingRateImageNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindTransformFeedbackBuffersEXT(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer *pBuffers, const VkDeviceSize *pOffsets, const VkDeviceSize *pSizes)
|
|
{
|
|
struct vkCmdBindTransformFeedbackBuffersEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstBinding = firstBinding;
|
|
params.bindingCount = bindingCount;
|
|
params.pBuffers = pBuffers;
|
|
params.pOffsets = pOffsets;
|
|
params.pSizes = pSizes;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindTransformFeedbackBuffersEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer *pBuffers, const VkDeviceSize *pOffsets)
|
|
{
|
|
struct vkCmdBindVertexBuffers_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstBinding = firstBinding;
|
|
params.bindingCount = bindingCount;
|
|
params.pBuffers = pBuffers;
|
|
params.pOffsets = pOffsets;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindVertexBuffers, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindVertexBuffers2EXT(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer *pBuffers, const VkDeviceSize *pOffsets, const VkDeviceSize *pSizes, const VkDeviceSize *pStrides)
|
|
{
|
|
struct vkCmdBindVertexBuffers2EXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstBinding = firstBinding;
|
|
params.bindingCount = bindingCount;
|
|
params.pBuffers = pBuffers;
|
|
params.pOffsets = pOffsets;
|
|
params.pSizes = pSizes;
|
|
params.pStrides = pStrides;
|
|
unix_funcs->p_vk_call(unix_vkCmdBindVertexBuffers2EXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit *pRegions, VkFilter filter)
|
|
{
|
|
struct vkCmdBlitImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcImage = srcImage;
|
|
params.srcImageLayout = srcImageLayout;
|
|
params.dstImage = dstImage;
|
|
params.dstImageLayout = dstImageLayout;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
params.filter = filter;
|
|
unix_funcs->p_vk_call(unix_vkCmdBlitImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBlitImage2KHR(VkCommandBuffer commandBuffer, const VkBlitImageInfo2KHR *pBlitImageInfo)
|
|
{
|
|
struct vkCmdBlitImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBlitImageInfo = pBlitImageInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdBlitImage2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBuildAccelerationStructureNV(VkCommandBuffer commandBuffer, const VkAccelerationStructureInfoNV *pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkBuffer scratch, VkDeviceSize scratchOffset)
|
|
{
|
|
struct vkCmdBuildAccelerationStructureNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
params.instanceData = instanceData;
|
|
params.instanceOffset = instanceOffset;
|
|
params.update = update;
|
|
params.dst = dst;
|
|
params.src = src;
|
|
params.scratch = scratch;
|
|
params.scratchOffset = scratchOffset;
|
|
unix_funcs->p_vk_call(unix_vkCmdBuildAccelerationStructureNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBuildAccelerationStructuresIndirectKHR(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR *pInfos, const VkDeviceAddress *pIndirectDeviceAddresses, const uint32_t *pIndirectStrides, const uint32_t * const*ppMaxPrimitiveCounts)
|
|
{
|
|
struct vkCmdBuildAccelerationStructuresIndirectKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
params.pIndirectDeviceAddresses = pIndirectDeviceAddresses;
|
|
params.pIndirectStrides = pIndirectStrides;
|
|
params.ppMaxPrimitiveCounts = ppMaxPrimitiveCounts;
|
|
unix_funcs->p_vk_call(unix_vkCmdBuildAccelerationStructuresIndirectKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBuildAccelerationStructuresKHR(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR *pInfos, const VkAccelerationStructureBuildRangeInfoKHR * const*ppBuildRangeInfos)
|
|
{
|
|
struct vkCmdBuildAccelerationStructuresKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
params.ppBuildRangeInfos = ppBuildRangeInfos;
|
|
unix_funcs->p_vk_call(unix_vkCmdBuildAccelerationStructuresKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment *pAttachments, uint32_t rectCount, const VkClearRect *pRects)
|
|
{
|
|
struct vkCmdClearAttachments_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pAttachments = pAttachments;
|
|
params.rectCount = rectCount;
|
|
params.pRects = pRects;
|
|
unix_funcs->p_vk_call(unix_vkCmdClearAttachments, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue *pColor, uint32_t rangeCount, const VkImageSubresourceRange *pRanges)
|
|
{
|
|
struct vkCmdClearColorImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.image = image;
|
|
params.imageLayout = imageLayout;
|
|
params.pColor = pColor;
|
|
params.rangeCount = rangeCount;
|
|
params.pRanges = pRanges;
|
|
unix_funcs->p_vk_call(unix_vkCmdClearColorImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue *pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange *pRanges)
|
|
{
|
|
struct vkCmdClearDepthStencilImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.image = image;
|
|
params.imageLayout = imageLayout;
|
|
params.pDepthStencil = pDepthStencil;
|
|
params.rangeCount = rangeCount;
|
|
params.pRanges = pRanges;
|
|
unix_funcs->p_vk_call(unix_vkCmdClearDepthStencilImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyAccelerationStructureKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyAccelerationStructureNV(VkCommandBuffer commandBuffer, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkCopyAccelerationStructureModeKHR mode)
|
|
{
|
|
struct vkCmdCopyAccelerationStructureNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.dst = dst;
|
|
params.src = src;
|
|
params.mode = mode;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyAccelerationStructureNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyAccelerationStructureToMemoryKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureToMemoryInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyAccelerationStructureToMemoryKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyAccelerationStructureToMemoryKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy *pRegions)
|
|
{
|
|
struct vkCmdCopyBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcBuffer = srcBuffer;
|
|
params.dstBuffer = dstBuffer;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2KHR *pCopyBufferInfo)
|
|
{
|
|
struct vkCmdCopyBuffer2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferInfo = pCopyBufferInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyBuffer2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy *pRegions)
|
|
{
|
|
struct vkCmdCopyBufferToImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcBuffer = srcBuffer;
|
|
params.dstImage = dstImage;
|
|
params.dstImageLayout = dstImageLayout;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyBufferToImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBufferToImage2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2KHR *pCopyBufferToImageInfo)
|
|
{
|
|
struct vkCmdCopyBufferToImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferToImageInfo = pCopyBufferToImageInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyBufferToImage2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy *pRegions)
|
|
{
|
|
struct vkCmdCopyImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcImage = srcImage;
|
|
params.srcImageLayout = srcImageLayout;
|
|
params.dstImage = dstImage;
|
|
params.dstImageLayout = dstImageLayout;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImage2KHR(VkCommandBuffer commandBuffer, const VkCopyImageInfo2KHR *pCopyImageInfo)
|
|
{
|
|
struct vkCmdCopyImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageInfo = pCopyImageInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyImage2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy *pRegions)
|
|
{
|
|
struct vkCmdCopyImageToBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcImage = srcImage;
|
|
params.srcImageLayout = srcImageLayout;
|
|
params.dstBuffer = dstBuffer;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyImageToBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImageToBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2KHR *pCopyImageToBufferInfo)
|
|
{
|
|
struct vkCmdCopyImageToBuffer2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageToBufferInfo = pCopyImageToBufferInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyImageToBuffer2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMemoryToAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyMemoryToAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyMemoryToAccelerationStructureKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyMemoryToAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags)
|
|
{
|
|
struct vkCmdCopyQueryPoolResults_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
params.dstBuffer = dstBuffer;
|
|
params.dstOffset = dstOffset;
|
|
params.stride = stride;
|
|
params.flags = flags;
|
|
unix_funcs->p_vk_call(unix_vkCmdCopyQueryPoolResults, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaunchInfoNVX *pLaunchInfo)
|
|
{
|
|
struct vkCmdCuLaunchKernelNVX_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLaunchInfo = pLaunchInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdCuLaunchKernelNVX, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT *pMarkerInfo)
|
|
{
|
|
struct vkCmdDebugMarkerBeginEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdDebugMarkerBeginEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerEndEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdDebugMarkerEndEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdDebugMarkerEndEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT *pMarkerInfo)
|
|
{
|
|
struct vkCmdDebugMarkerInsertEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdDebugMarkerInsertEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDispatch(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ)
|
|
{
|
|
struct vkCmdDispatch_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.groupCountX = groupCountX;
|
|
params.groupCountY = groupCountY;
|
|
params.groupCountZ = groupCountZ;
|
|
unix_funcs->p_vk_call(unix_vkCmdDispatch, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDispatchBase(VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ)
|
|
{
|
|
struct vkCmdDispatchBase_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.baseGroupX = baseGroupX;
|
|
params.baseGroupY = baseGroupY;
|
|
params.baseGroupZ = baseGroupZ;
|
|
params.groupCountX = groupCountX;
|
|
params.groupCountY = groupCountY;
|
|
params.groupCountZ = groupCountZ;
|
|
unix_funcs->p_vk_call(unix_vkCmdDispatchBase, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDispatchBaseKHR(VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ)
|
|
{
|
|
struct vkCmdDispatchBaseKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.baseGroupX = baseGroupX;
|
|
params.baseGroupY = baseGroupY;
|
|
params.baseGroupZ = baseGroupZ;
|
|
params.groupCountX = groupCountX;
|
|
params.groupCountY = groupCountY;
|
|
params.groupCountZ = groupCountZ;
|
|
unix_funcs->p_vk_call(unix_vkCmdDispatchBaseKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset)
|
|
{
|
|
struct vkCmdDispatchIndirect_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
unix_funcs->p_vk_call(unix_vkCmdDispatchIndirect, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDraw(VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance)
|
|
{
|
|
struct vkCmdDraw_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.vertexCount = vertexCount;
|
|
params.instanceCount = instanceCount;
|
|
params.firstVertex = firstVertex;
|
|
params.firstInstance = firstInstance;
|
|
unix_funcs->p_vk_call(unix_vkCmdDraw, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance)
|
|
{
|
|
struct vkCmdDrawIndexed_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.indexCount = indexCount;
|
|
params.instanceCount = instanceCount;
|
|
params.firstIndex = firstIndex;
|
|
params.vertexOffset = vertexOffset;
|
|
params.firstInstance = firstInstance;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndexed, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndexedIndirect_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.drawCount = drawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndexedIndirect, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndexedIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndexedIndirectCount_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndexedIndirectCount, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndexedIndirectCountAMD_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndexedIndirectCountAMD, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndexedIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndexedIndirectCountKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndexedIndirectCountKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndirect_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.drawCount = drawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndirect, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndirectByteCountEXT(VkCommandBuffer commandBuffer, uint32_t instanceCount, uint32_t firstInstance, VkBuffer counterBuffer, VkDeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride)
|
|
{
|
|
struct vkCmdDrawIndirectByteCountEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.instanceCount = instanceCount;
|
|
params.firstInstance = firstInstance;
|
|
params.counterBuffer = counterBuffer;
|
|
params.counterBufferOffset = counterBufferOffset;
|
|
params.counterOffset = counterOffset;
|
|
params.vertexStride = vertexStride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndirectByteCountEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndirectCount_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndirectCount, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndirectCountAMD_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndirectCountAMD, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawIndirectCountKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawIndirectCountKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksIndirectCountNV(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawMeshTasksIndirectCountNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawMeshTasksIndirectCountNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksIndirectNV(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawMeshTasksIndirectNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.drawCount = drawCount;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawMeshTasksIndirectNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksNV(VkCommandBuffer commandBuffer, uint32_t taskCount, uint32_t firstTask)
|
|
{
|
|
struct vkCmdDrawMeshTasksNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.taskCount = taskCount;
|
|
params.firstTask = firstTask;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawMeshTasksNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMultiEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawInfoEXT *pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawMultiEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.drawCount = drawCount;
|
|
params.pVertexInfo = pVertexInfo;
|
|
params.instanceCount = instanceCount;
|
|
params.firstInstance = firstInstance;
|
|
params.stride = stride;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawMultiEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawIndexedInfoEXT *pIndexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, const int32_t *pVertexOffset)
|
|
{
|
|
struct vkCmdDrawMultiIndexedEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.drawCount = drawCount;
|
|
params.pIndexInfo = pIndexInfo;
|
|
params.instanceCount = instanceCount;
|
|
params.firstInstance = firstInstance;
|
|
params.stride = stride;
|
|
params.pVertexOffset = pVertexOffset;
|
|
unix_funcs->p_vk_call(unix_vkCmdDrawMultiIndexedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndConditionalRenderingEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndConditionalRenderingEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndConditionalRenderingEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndDebugUtilsLabelEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query)
|
|
{
|
|
struct vkCmdEndQuery_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndQuery, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index)
|
|
{
|
|
struct vkCmdEndQueryIndexedEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
params.index = index;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndQueryIndexedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndRenderPass_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndRenderPass, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass2(VkCommandBuffer commandBuffer, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdEndRenderPass2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndRenderPass2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdEndRenderPass2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndRenderPass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderingKHR(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndRenderingKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndRenderingKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndTransformFeedbackEXT(VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer *pCounterBuffers, const VkDeviceSize *pCounterBufferOffsets)
|
|
{
|
|
struct vkCmdEndTransformFeedbackEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstCounterBuffer = firstCounterBuffer;
|
|
params.counterBufferCount = counterBufferCount;
|
|
params.pCounterBuffers = pCounterBuffers;
|
|
params.pCounterBufferOffsets = pCounterBufferOffsets;
|
|
unix_funcs->p_vk_call(unix_vkCmdEndTransformFeedbackEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers)
|
|
{
|
|
struct vkCmdExecuteCommands_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.commandBufferCount = commandBufferCount;
|
|
params.pCommandBuffers = pCommandBuffers;
|
|
unix_funcs->p_vk_call(unix_vkCmdExecuteCommands, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdExecuteGeneratedCommandsNV(VkCommandBuffer commandBuffer, VkBool32 isPreprocessed, const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo)
|
|
{
|
|
struct vkCmdExecuteGeneratedCommandsNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.isPreprocessed = isPreprocessed;
|
|
params.pGeneratedCommandsInfo = pGeneratedCommandsInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdExecuteGeneratedCommandsNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data)
|
|
{
|
|
struct vkCmdFillBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.dstBuffer = dstBuffer;
|
|
params.dstOffset = dstOffset;
|
|
params.size = size;
|
|
params.data = data;
|
|
unix_funcs->p_vk_call(unix_vkCmdFillBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdInsertDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkCmdInsertDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLabelInfo = pLabelInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdInsertDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents)
|
|
{
|
|
struct vkCmdNextSubpass_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.contents = contents;
|
|
unix_funcs->p_vk_call(unix_vkCmdNextSubpass, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdNextSubpass2(VkCommandBuffer commandBuffer, const VkSubpassBeginInfo *pSubpassBeginInfo, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdNextSubpass2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassBeginInfo = pSubpassBeginInfo;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdNextSubpass2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdNextSubpass2KHR(VkCommandBuffer commandBuffer, const VkSubpassBeginInfo *pSubpassBeginInfo, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdNextSubpass2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassBeginInfo = pSubpassBeginInfo;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdNextSubpass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier *pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier *pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier *pImageMemoryBarriers)
|
|
{
|
|
struct vkCmdPipelineBarrier_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcStageMask = srcStageMask;
|
|
params.dstStageMask = dstStageMask;
|
|
params.dependencyFlags = dependencyFlags;
|
|
params.memoryBarrierCount = memoryBarrierCount;
|
|
params.pMemoryBarriers = pMemoryBarriers;
|
|
params.bufferMemoryBarrierCount = bufferMemoryBarrierCount;
|
|
params.pBufferMemoryBarriers = pBufferMemoryBarriers;
|
|
params.imageMemoryBarrierCount = imageMemoryBarrierCount;
|
|
params.pImageMemoryBarriers = pImageMemoryBarriers;
|
|
unix_funcs->p_vk_call(unix_vkCmdPipelineBarrier, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPipelineBarrier2KHR(VkCommandBuffer commandBuffer, const VkDependencyInfoKHR *pDependencyInfo)
|
|
{
|
|
struct vkCmdPipelineBarrier2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdPipelineBarrier2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPreprocessGeneratedCommandsNV(VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo)
|
|
{
|
|
struct vkCmdPreprocessGeneratedCommandsNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pGeneratedCommandsInfo = pGeneratedCommandsInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdPreprocessGeneratedCommandsNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void *pValues)
|
|
{
|
|
struct vkCmdPushConstants_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.layout = layout;
|
|
params.stageFlags = stageFlags;
|
|
params.offset = offset;
|
|
params.size = size;
|
|
params.pValues = pValues;
|
|
unix_funcs->p_vk_call(unix_vkCmdPushConstants, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet *pDescriptorWrites)
|
|
{
|
|
struct vkCmdPushDescriptorSetKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.layout = layout;
|
|
params.set = set;
|
|
params.descriptorWriteCount = descriptorWriteCount;
|
|
params.pDescriptorWrites = pDescriptorWrites;
|
|
unix_funcs->p_vk_call(unix_vkCmdPushDescriptorSetKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushDescriptorSetWithTemplateKHR(VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void *pData)
|
|
{
|
|
struct vkCmdPushDescriptorSetWithTemplateKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.layout = layout;
|
|
params.set = set;
|
|
params.pData = pData;
|
|
unix_funcs->p_vk_call(unix_vkCmdPushDescriptorSetWithTemplateKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
|
|
{
|
|
struct vkCmdResetEvent_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdResetEvent, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2KHR stageMask)
|
|
{
|
|
struct vkCmdResetEvent2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdResetEvent2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
|
|
{
|
|
struct vkCmdResetQueryPool_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
unix_funcs->p_vk_call(unix_vkCmdResetQueryPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve *pRegions)
|
|
{
|
|
struct vkCmdResolveImage_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.srcImage = srcImage;
|
|
params.srcImageLayout = srcImageLayout;
|
|
params.dstImage = dstImage;
|
|
params.dstImageLayout = dstImageLayout;
|
|
params.regionCount = regionCount;
|
|
params.pRegions = pRegions;
|
|
unix_funcs->p_vk_call(unix_vkCmdResolveImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResolveImage2KHR(VkCommandBuffer commandBuffer, const VkResolveImageInfo2KHR *pResolveImageInfo)
|
|
{
|
|
struct vkCmdResolveImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pResolveImageInfo = pResolveImageInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdResolveImage2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, const float blendConstants[4])
|
|
{
|
|
struct vkCmdSetBlendConstants_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.blendConstants = blendConstants;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetBlendConstants, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCheckpointNV(VkCommandBuffer commandBuffer, const void *pCheckpointMarker)
|
|
{
|
|
struct vkCmdSetCheckpointNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCheckpointMarker = pCheckpointMarker;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetCheckpointNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoarseSampleOrderNV(VkCommandBuffer commandBuffer, VkCoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const VkCoarseSampleOrderCustomNV *pCustomSampleOrders)
|
|
{
|
|
struct vkCmdSetCoarseSampleOrderNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.sampleOrderType = sampleOrderType;
|
|
params.customSampleOrderCount = customSampleOrderCount;
|
|
params.pCustomSampleOrders = pCustomSampleOrders;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetCoarseSampleOrderNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetColorWriteEnableEXT(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32 *pColorWriteEnables)
|
|
{
|
|
struct vkCmdSetColorWriteEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pColorWriteEnables = pColorWriteEnables;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetColorWriteEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCullModeEXT(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode)
|
|
{
|
|
struct vkCmdSetCullModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.cullMode = cullMode;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetCullModeEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor)
|
|
{
|
|
struct vkCmdSetDepthBias_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBiasConstantFactor = depthBiasConstantFactor;
|
|
params.depthBiasClamp = depthBiasClamp;
|
|
params.depthBiasSlopeFactor = depthBiasSlopeFactor;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthBias, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBiasEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable)
|
|
{
|
|
struct vkCmdSetDepthBiasEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBiasEnable = depthBiasEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthBiasEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBounds(VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds)
|
|
{
|
|
struct vkCmdSetDepthBounds_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.minDepthBounds = minDepthBounds;
|
|
params.maxDepthBounds = maxDepthBounds;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthBounds, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBoundsTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable)
|
|
{
|
|
struct vkCmdSetDepthBoundsTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBoundsTestEnable = depthBoundsTestEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthBoundsTestEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthCompareOpEXT(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp)
|
|
{
|
|
struct vkCmdSetDepthCompareOpEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthCompareOp = depthCompareOp;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthCompareOpEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable)
|
|
{
|
|
struct vkCmdSetDepthTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthTestEnable = depthTestEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthTestEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthWriteEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable)
|
|
{
|
|
struct vkCmdSetDepthWriteEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthWriteEnable = depthWriteEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDepthWriteEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDeviceMask(VkCommandBuffer commandBuffer, uint32_t deviceMask)
|
|
{
|
|
struct vkCmdSetDeviceMask_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.deviceMask = deviceMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDeviceMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDeviceMaskKHR(VkCommandBuffer commandBuffer, uint32_t deviceMask)
|
|
{
|
|
struct vkCmdSetDeviceMaskKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.deviceMask = deviceMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDeviceMaskKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VkRect2D *pDiscardRectangles)
|
|
{
|
|
struct vkCmdSetDiscardRectangleEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstDiscardRectangle = firstDiscardRectangle;
|
|
params.discardRectangleCount = discardRectangleCount;
|
|
params.pDiscardRectangles = pDiscardRectangles;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetDiscardRectangleEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
|
|
{
|
|
struct vkCmdSetEvent_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetEvent, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfoKHR *pDependencyInfo)
|
|
{
|
|
struct vkCmdSetEvent2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetEvent2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetExclusiveScissorNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkRect2D *pExclusiveScissors)
|
|
{
|
|
struct vkCmdSetExclusiveScissorNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstExclusiveScissor = firstExclusiveScissor;
|
|
params.exclusiveScissorCount = exclusiveScissorCount;
|
|
params.pExclusiveScissors = pExclusiveScissors;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetExclusiveScissorNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetFragmentShadingRateEnumNV(VkCommandBuffer commandBuffer, VkFragmentShadingRateNV shadingRate, const VkFragmentShadingRateCombinerOpKHR combinerOps[2])
|
|
{
|
|
struct vkCmdSetFragmentShadingRateEnumNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.shadingRate = shadingRate;
|
|
params.combinerOps = combinerOps;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetFragmentShadingRateEnumNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetFragmentShadingRateKHR(VkCommandBuffer commandBuffer, const VkExtent2D *pFragmentSize, const VkFragmentShadingRateCombinerOpKHR combinerOps[2])
|
|
{
|
|
struct vkCmdSetFragmentShadingRateKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pFragmentSize = pFragmentSize;
|
|
params.combinerOps = combinerOps;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetFragmentShadingRateKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetFrontFaceEXT(VkCommandBuffer commandBuffer, VkFrontFace frontFace)
|
|
{
|
|
struct vkCmdSetFrontFaceEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.frontFace = frontFace;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetFrontFaceEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineStippleEXT(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern)
|
|
{
|
|
struct vkCmdSetLineStippleEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.lineStippleFactor = lineStippleFactor;
|
|
params.lineStipplePattern = lineStipplePattern;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetLineStippleEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth)
|
|
{
|
|
struct vkCmdSetLineWidth_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.lineWidth = lineWidth;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetLineWidth, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLogicOpEXT(VkCommandBuffer commandBuffer, VkLogicOp logicOp)
|
|
{
|
|
struct vkCmdSetLogicOpEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.logicOp = logicOp;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetLogicOpEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPatchControlPointsEXT(VkCommandBuffer commandBuffer, uint32_t patchControlPoints)
|
|
{
|
|
struct vkCmdSetPatchControlPointsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.patchControlPoints = patchControlPoints;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetPatchControlPointsEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceMarkerInfoINTEL *pMarkerInfo)
|
|
{
|
|
struct vkCmdSetPerformanceMarkerINTEL_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
return unix_funcs->p_vk_call(unix_vkCmdSetPerformanceMarkerINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceOverrideINTEL(VkCommandBuffer commandBuffer, const VkPerformanceOverrideInfoINTEL *pOverrideInfo)
|
|
{
|
|
struct vkCmdSetPerformanceOverrideINTEL_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pOverrideInfo = pOverrideInfo;
|
|
return unix_funcs->p_vk_call(unix_vkCmdSetPerformanceOverrideINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceStreamMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceStreamMarkerInfoINTEL *pMarkerInfo)
|
|
{
|
|
struct vkCmdSetPerformanceStreamMarkerINTEL_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
return unix_funcs->p_vk_call(unix_vkCmdSetPerformanceStreamMarkerINTEL, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveRestartEnableEXT(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable)
|
|
{
|
|
struct vkCmdSetPrimitiveRestartEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveRestartEnable = primitiveRestartEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetPrimitiveRestartEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveTopologyEXT(VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology)
|
|
{
|
|
struct vkCmdSetPrimitiveTopologyEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveTopology = primitiveTopology;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetPrimitiveTopologyEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRasterizerDiscardEnableEXT(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable)
|
|
{
|
|
struct vkCmdSetRasterizerDiscardEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.rasterizerDiscardEnable = rasterizerDiscardEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetRasterizerDiscardEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRayTracingPipelineStackSizeKHR(VkCommandBuffer commandBuffer, uint32_t pipelineStackSize)
|
|
{
|
|
struct vkCmdSetRayTracingPipelineStackSizeKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineStackSize = pipelineStackSize;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetRayTracingPipelineStackSizeKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT *pSampleLocationsInfo)
|
|
{
|
|
struct vkCmdSetSampleLocationsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSampleLocationsInfo = pSampleLocationsInfo;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetSampleLocationsEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetScissor(VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D *pScissors)
|
|
{
|
|
struct vkCmdSetScissor_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstScissor = firstScissor;
|
|
params.scissorCount = scissorCount;
|
|
params.pScissors = pScissors;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetScissor, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetScissorWithCountEXT(VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D *pScissors)
|
|
{
|
|
struct vkCmdSetScissorWithCountEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.scissorCount = scissorCount;
|
|
params.pScissors = pScissors;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetScissorWithCountEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilCompareMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask)
|
|
{
|
|
struct vkCmdSetStencilCompareMask_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.faceMask = faceMask;
|
|
params.compareMask = compareMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetStencilCompareMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilOpEXT(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp)
|
|
{
|
|
struct vkCmdSetStencilOpEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.faceMask = faceMask;
|
|
params.failOp = failOp;
|
|
params.passOp = passOp;
|
|
params.depthFailOp = depthFailOp;
|
|
params.compareOp = compareOp;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetStencilOpEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilReference(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference)
|
|
{
|
|
struct vkCmdSetStencilReference_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.faceMask = faceMask;
|
|
params.reference = reference;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetStencilReference, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable)
|
|
{
|
|
struct vkCmdSetStencilTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stencilTestEnable = stencilTestEnable;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetStencilTestEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilWriteMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask)
|
|
{
|
|
struct vkCmdSetStencilWriteMask_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.faceMask = faceMask;
|
|
params.writeMask = writeMask;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetStencilWriteMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetVertexInputEXT(VkCommandBuffer commandBuffer, uint32_t vertexBindingDescriptionCount, const VkVertexInputBindingDescription2EXT *pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, const VkVertexInputAttributeDescription2EXT *pVertexAttributeDescriptions)
|
|
{
|
|
struct vkCmdSetVertexInputEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.vertexBindingDescriptionCount = vertexBindingDescriptionCount;
|
|
params.pVertexBindingDescriptions = pVertexBindingDescriptions;
|
|
params.vertexAttributeDescriptionCount = vertexAttributeDescriptionCount;
|
|
params.pVertexAttributeDescriptions = pVertexAttributeDescriptions;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetVertexInputEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewport(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport *pViewports)
|
|
{
|
|
struct vkCmdSetViewport_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstViewport = firstViewport;
|
|
params.viewportCount = viewportCount;
|
|
params.pViewports = pViewports;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetViewport, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkShadingRatePaletteNV *pShadingRatePalettes)
|
|
{
|
|
struct vkCmdSetViewportShadingRatePaletteNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstViewport = firstViewport;
|
|
params.viewportCount = viewportCount;
|
|
params.pShadingRatePalettes = pShadingRatePalettes;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetViewportShadingRatePaletteNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV *pViewportWScalings)
|
|
{
|
|
struct vkCmdSetViewportWScalingNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstViewport = firstViewport;
|
|
params.viewportCount = viewportCount;
|
|
params.pViewportWScalings = pViewportWScalings;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetViewportWScalingNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport *pViewports)
|
|
{
|
|
struct vkCmdSetViewportWithCountEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.viewportCount = viewportCount;
|
|
params.pViewports = pViewports;
|
|
unix_funcs->p_vk_call(unix_vkCmdSetViewportWithCountEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdSubpassShadingHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
unix_funcs->p_vk_call(unix_vkCmdSubpassShadingHUAWEI, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress)
|
|
{
|
|
struct vkCmdTraceRaysIndirectKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRaygenShaderBindingTable = pRaygenShaderBindingTable;
|
|
params.pMissShaderBindingTable = pMissShaderBindingTable;
|
|
params.pHitShaderBindingTable = pHitShaderBindingTable;
|
|
params.pCallableShaderBindingTable = pCallableShaderBindingTable;
|
|
params.indirectDeviceAddress = indirectDeviceAddress;
|
|
unix_funcs->p_vk_call(unix_vkCmdTraceRaysIndirectKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdTraceRaysKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth)
|
|
{
|
|
struct vkCmdTraceRaysKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRaygenShaderBindingTable = pRaygenShaderBindingTable;
|
|
params.pMissShaderBindingTable = pMissShaderBindingTable;
|
|
params.pHitShaderBindingTable = pHitShaderBindingTable;
|
|
params.pCallableShaderBindingTable = pCallableShaderBindingTable;
|
|
params.width = width;
|
|
params.height = height;
|
|
params.depth = depth;
|
|
unix_funcs->p_vk_call(unix_vkCmdTraceRaysKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdTraceRaysNV(VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset, VkBuffer missShaderBindingTableBuffer, VkDeviceSize missShaderBindingOffset, VkDeviceSize missShaderBindingStride, VkBuffer hitShaderBindingTableBuffer, VkDeviceSize hitShaderBindingOffset, VkDeviceSize hitShaderBindingStride, VkBuffer callableShaderBindingTableBuffer, VkDeviceSize callableShaderBindingOffset, VkDeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth)
|
|
{
|
|
struct vkCmdTraceRaysNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.raygenShaderBindingTableBuffer = raygenShaderBindingTableBuffer;
|
|
params.raygenShaderBindingOffset = raygenShaderBindingOffset;
|
|
params.missShaderBindingTableBuffer = missShaderBindingTableBuffer;
|
|
params.missShaderBindingOffset = missShaderBindingOffset;
|
|
params.missShaderBindingStride = missShaderBindingStride;
|
|
params.hitShaderBindingTableBuffer = hitShaderBindingTableBuffer;
|
|
params.hitShaderBindingOffset = hitShaderBindingOffset;
|
|
params.hitShaderBindingStride = hitShaderBindingStride;
|
|
params.callableShaderBindingTableBuffer = callableShaderBindingTableBuffer;
|
|
params.callableShaderBindingOffset = callableShaderBindingOffset;
|
|
params.callableShaderBindingStride = callableShaderBindingStride;
|
|
params.width = width;
|
|
params.height = height;
|
|
params.depth = depth;
|
|
unix_funcs->p_vk_call(unix_vkCmdTraceRaysNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData)
|
|
{
|
|
struct vkCmdUpdateBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.dstBuffer = dstBuffer;
|
|
params.dstOffset = dstOffset;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
unix_funcs->p_vk_call(unix_vkCmdUpdateBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier *pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier *pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier *pImageMemoryBarriers)
|
|
{
|
|
struct vkCmdWaitEvents_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.eventCount = eventCount;
|
|
params.pEvents = pEvents;
|
|
params.srcStageMask = srcStageMask;
|
|
params.dstStageMask = dstStageMask;
|
|
params.memoryBarrierCount = memoryBarrierCount;
|
|
params.pMemoryBarriers = pMemoryBarriers;
|
|
params.bufferMemoryBarrierCount = bufferMemoryBarrierCount;
|
|
params.pBufferMemoryBarriers = pBufferMemoryBarriers;
|
|
params.imageMemoryBarrierCount = imageMemoryBarrierCount;
|
|
params.pImageMemoryBarriers = pImageMemoryBarriers;
|
|
unix_funcs->p_vk_call(unix_vkCmdWaitEvents, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWaitEvents2KHR(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, const VkDependencyInfoKHR *pDependencyInfos)
|
|
{
|
|
struct vkCmdWaitEvents2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.eventCount = eventCount;
|
|
params.pEvents = pEvents;
|
|
params.pDependencyInfos = pDependencyInfos;
|
|
unix_funcs->p_vk_call(unix_vkCmdWaitEvents2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteAccelerationStructuresPropertiesKHR(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR *pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery)
|
|
{
|
|
struct vkCmdWriteAccelerationStructuresPropertiesKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.accelerationStructureCount = accelerationStructureCount;
|
|
params.pAccelerationStructures = pAccelerationStructures;
|
|
params.queryType = queryType;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteAccelerationStructuresPropertiesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteAccelerationStructuresPropertiesNV(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureNV *pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery)
|
|
{
|
|
struct vkCmdWriteAccelerationStructuresPropertiesNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.accelerationStructureCount = accelerationStructureCount;
|
|
params.pAccelerationStructures = pAccelerationStructures;
|
|
params.queryType = queryType;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteAccelerationStructuresPropertiesNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2KHR stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker)
|
|
{
|
|
struct vkCmdWriteBufferMarker2AMD_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stage = stage;
|
|
params.dstBuffer = dstBuffer;
|
|
params.dstOffset = dstOffset;
|
|
params.marker = marker;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteBufferMarker2AMD, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteBufferMarkerAMD(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker)
|
|
{
|
|
struct vkCmdWriteBufferMarkerAMD_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineStage = pipelineStage;
|
|
params.dstBuffer = dstBuffer;
|
|
params.dstOffset = dstOffset;
|
|
params.marker = marker;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteBufferMarkerAMD, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteTimestamp(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query)
|
|
{
|
|
struct vkCmdWriteTimestamp_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineStage = pipelineStage;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteTimestamp, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteTimestamp2KHR(VkCommandBuffer commandBuffer, VkPipelineStageFlags2KHR stage, VkQueryPool queryPool, uint32_t query)
|
|
{
|
|
struct vkCmdWriteTimestamp2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stage = stage;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
unix_funcs->p_vk_call(unix_vkCmdWriteTimestamp2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCompileDeferredNV(VkDevice device, VkPipeline pipeline, uint32_t shader)
|
|
{
|
|
struct vkCompileDeferredNV_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.shader = shader;
|
|
return vk_unix_call(unix_vkCompileDeferredNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCopyAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyAccelerationStructureKHR_params params;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkCopyAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCopyAccelerationStructureToMemoryKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureToMemoryInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyAccelerationStructureToMemoryKHR_params params;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkCopyAccelerationStructureToMemoryKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMemoryToAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyMemoryToAccelerationStructureKHR_params params;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkCopyMemoryToAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateAccelerationStructureKHR(VkDevice device, const VkAccelerationStructureCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkAccelerationStructureKHR *pAccelerationStructure)
|
|
{
|
|
struct vkCreateAccelerationStructureKHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pAccelerationStructure = pAccelerationStructure;
|
|
return vk_unix_call(unix_vkCreateAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateAccelerationStructureNV(VkDevice device, const VkAccelerationStructureCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkAccelerationStructureNV *pAccelerationStructure)
|
|
{
|
|
struct vkCreateAccelerationStructureNV_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pAccelerationStructure = pAccelerationStructure;
|
|
return vk_unix_call(unix_vkCreateAccelerationStructureNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateBuffer(VkDevice device, const VkBufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBuffer *pBuffer)
|
|
{
|
|
struct vkCreateBuffer_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pBuffer = pBuffer;
|
|
return vk_unix_call(unix_vkCreateBuffer, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBufferView *pView)
|
|
{
|
|
struct vkCreateBufferView_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pView = pView;
|
|
return vk_unix_call(unix_vkCreateBufferView, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCommandPool *pCommandPool)
|
|
{
|
|
struct vkCreateCommandPool_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pCommandPool = pCommandPool;
|
|
return vk_unix_call(unix_vkCreateCommandPool, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateComputePipelines_params params;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
return vk_unix_call(unix_vkCreateComputePipelines, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCuFunctionNVX(VkDevice device, const VkCuFunctionCreateInfoNVX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCuFunctionNVX *pFunction)
|
|
{
|
|
struct vkCreateCuFunctionNVX_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFunction = pFunction;
|
|
return vk_unix_call(unix_vkCreateCuFunctionNVX, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoNVX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCuModuleNVX *pModule)
|
|
{
|
|
struct vkCreateCuModuleNVX_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pModule = pModule;
|
|
return vk_unix_call(unix_vkCreateCuModuleNVX, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback)
|
|
{
|
|
struct vkCreateDebugReportCallbackEXT_params params;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pCallback = pCallback;
|
|
return vk_unix_call(unix_vkCreateDebugReportCallbackEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT *pMessenger)
|
|
{
|
|
struct vkCreateDebugUtilsMessengerEXT_params params;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pMessenger = pMessenger;
|
|
return vk_unix_call(unix_vkCreateDebugUtilsMessengerEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDeferredOperationKHR(VkDevice device, const VkAllocationCallbacks *pAllocator, VkDeferredOperationKHR *pDeferredOperation)
|
|
{
|
|
struct vkCreateDeferredOperationKHR_params params;
|
|
params.device = device;
|
|
params.pAllocator = pAllocator;
|
|
params.pDeferredOperation = pDeferredOperation;
|
|
return vk_unix_call(unix_vkCreateDeferredOperationKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorPool *pDescriptorPool)
|
|
{
|
|
struct vkCreateDescriptorPool_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorPool = pDescriptorPool;
|
|
return vk_unix_call(unix_vkCreateDescriptorPool, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorSetLayout *pSetLayout)
|
|
{
|
|
struct vkCreateDescriptorSetLayout_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSetLayout = pSetLayout;
|
|
return vk_unix_call(unix_vkCreateDescriptorSetLayout, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorUpdateTemplate(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorUpdateTemplate *pDescriptorUpdateTemplate)
|
|
{
|
|
struct vkCreateDescriptorUpdateTemplate_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorUpdateTemplate = pDescriptorUpdateTemplate;
|
|
return vk_unix_call(unix_vkCreateDescriptorUpdateTemplate, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorUpdateTemplateKHR(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorUpdateTemplate *pDescriptorUpdateTemplate)
|
|
{
|
|
struct vkCreateDescriptorUpdateTemplateKHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorUpdateTemplate = pDescriptorUpdateTemplate;
|
|
return vk_unix_call(unix_vkCreateDescriptorUpdateTemplateKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDevice *pDevice)
|
|
{
|
|
struct vkCreateDevice_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDevice = pDevice;
|
|
return unix_funcs->p_vk_call(unix_vkCreateDevice, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateEvent(VkDevice device, const VkEventCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkEvent *pEvent)
|
|
{
|
|
struct vkCreateEvent_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pEvent = pEvent;
|
|
return vk_unix_call(unix_vkCreateEvent, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateFence(VkDevice device, const VkFenceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFence *pFence)
|
|
{
|
|
struct vkCreateFence_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFence = pFence;
|
|
return vk_unix_call(unix_vkCreateFence, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFramebuffer *pFramebuffer)
|
|
{
|
|
struct vkCreateFramebuffer_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFramebuffer = pFramebuffer;
|
|
return vk_unix_call(unix_vkCreateFramebuffer, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateGraphicsPipelines_params params;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
return vk_unix_call(unix_vkCreateGraphicsPipelines, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateImage(VkDevice device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImage *pImage)
|
|
{
|
|
struct vkCreateImage_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pImage = pImage;
|
|
return vk_unix_call(unix_vkCreateImage, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateImageView(VkDevice device, const VkImageViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImageView *pView)
|
|
{
|
|
struct vkCreateImageView_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pView = pView;
|
|
return vk_unix_call(unix_vkCreateImageView, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateIndirectCommandsLayoutNV(VkDevice device, const VkIndirectCommandsLayoutCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkIndirectCommandsLayoutNV *pIndirectCommandsLayout)
|
|
{
|
|
struct vkCreateIndirectCommandsLayoutNV_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pIndirectCommandsLayout = pIndirectCommandsLayout;
|
|
return vk_unix_call(unix_vkCreateIndirectCommandsLayoutNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineCache *pPipelineCache)
|
|
{
|
|
struct vkCreatePipelineCache_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelineCache = pPipelineCache;
|
|
return vk_unix_call(unix_vkCreatePipelineCache, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineLayout *pPipelineLayout)
|
|
{
|
|
struct vkCreatePipelineLayout_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelineLayout = pPipelineLayout;
|
|
return vk_unix_call(unix_vkCreatePipelineLayout, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePrivateDataSlotEXT(VkDevice device, const VkPrivateDataSlotCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPrivateDataSlotEXT *pPrivateDataSlot)
|
|
{
|
|
struct vkCreatePrivateDataSlotEXT_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPrivateDataSlot = pPrivateDataSlot;
|
|
return vk_unix_call(unix_vkCreatePrivateDataSlotEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkQueryPool *pQueryPool)
|
|
{
|
|
struct vkCreateQueryPool_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pQueryPool = pQueryPool;
|
|
return vk_unix_call(unix_vkCreateQueryPool, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRayTracingPipelinesKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoKHR *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateRayTracingPipelinesKHR_params params;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
return vk_unix_call(unix_vkCreateRayTracingPipelinesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRayTracingPipelinesNV(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateRayTracingPipelinesNV_params params;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
return vk_unix_call(unix_vkCreateRayTracingPipelinesNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass(VkDevice device, const VkRenderPassCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
return vk_unix_call(unix_vkCreateRenderPass, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass2(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass2_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
return vk_unix_call(unix_vkCreateRenderPass2, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass2KHR(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass2KHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
return vk_unix_call(unix_vkCreateRenderPass2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSampler(VkDevice device, const VkSamplerCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSampler *pSampler)
|
|
{
|
|
struct vkCreateSampler_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSampler = pSampler;
|
|
return vk_unix_call(unix_vkCreateSampler, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSamplerYcbcrConversion *pYcbcrConversion)
|
|
{
|
|
struct vkCreateSamplerYcbcrConversion_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pYcbcrConversion = pYcbcrConversion;
|
|
return vk_unix_call(unix_vkCreateSamplerYcbcrConversion, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSamplerYcbcrConversionKHR(VkDevice device, const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSamplerYcbcrConversion *pYcbcrConversion)
|
|
{
|
|
struct vkCreateSamplerYcbcrConversionKHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pYcbcrConversion = pYcbcrConversion;
|
|
return vk_unix_call(unix_vkCreateSamplerYcbcrConversionKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore)
|
|
{
|
|
struct vkCreateSemaphore_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSemaphore = pSemaphore;
|
|
return vk_unix_call(unix_vkCreateSemaphore, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkShaderModule *pShaderModule)
|
|
{
|
|
struct vkCreateShaderModule_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pShaderModule = pShaderModule;
|
|
return vk_unix_call(unix_vkCreateShaderModule, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSwapchainKHR *pSwapchain)
|
|
{
|
|
struct vkCreateSwapchainKHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSwapchain = pSwapchain;
|
|
return unix_funcs->p_vk_call(unix_vkCreateSwapchainKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateValidationCacheEXT(VkDevice device, const VkValidationCacheCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkValidationCacheEXT *pValidationCache)
|
|
{
|
|
struct vkCreateValidationCacheEXT_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pValidationCache = pValidationCache;
|
|
return vk_unix_call(unix_vkCreateValidationCacheEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
|
|
{
|
|
struct vkCreateWin32SurfaceKHR_params params;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSurface = pSurface;
|
|
return unix_funcs->p_vk_call(unix_vkCreateWin32SurfaceKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkDebugMarkerSetObjectNameEXT(VkDevice device, const VkDebugMarkerObjectNameInfoEXT *pNameInfo)
|
|
{
|
|
struct vkDebugMarkerSetObjectNameEXT_params params;
|
|
params.device = device;
|
|
params.pNameInfo = pNameInfo;
|
|
return vk_unix_call(unix_vkDebugMarkerSetObjectNameEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkDebugMarkerSetObjectTagEXT(VkDevice device, const VkDebugMarkerObjectTagInfoEXT *pTagInfo)
|
|
{
|
|
struct vkDebugMarkerSetObjectTagEXT_params params;
|
|
params.device = device;
|
|
params.pTagInfo = pTagInfo;
|
|
return vk_unix_call(unix_vkDebugMarkerSetObjectTagEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char *pLayerPrefix, const char *pMessage)
|
|
{
|
|
struct vkDebugReportMessageEXT_params params;
|
|
params.instance = instance;
|
|
params.flags = flags;
|
|
params.objectType = objectType;
|
|
params.object = object;
|
|
params.location = location;
|
|
params.messageCode = messageCode;
|
|
params.pLayerPrefix = pLayerPrefix;
|
|
params.pMessage = pMessage;
|
|
vk_unix_call(unix_vkDebugReportMessageEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkDeferredOperationJoinKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkDeferredOperationJoinKHR_params params;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
return vk_unix_call(unix_vkDeferredOperationJoinKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyAccelerationStructureKHR(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyAccelerationStructureKHR_params params;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyAccelerationStructureNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyAccelerationStructureNV_params params;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyAccelerationStructureNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyBuffer_params params;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyBufferView_params params;
|
|
params.device = device;
|
|
params.bufferView = bufferView;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyBufferView, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCommandPool_params params;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyCommandPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyCuFunctionNVX(VkDevice device, VkCuFunctionNVX function, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCuFunctionNVX_params params;
|
|
params.device = device;
|
|
params.function = function;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyCuFunctionNVX, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCuModuleNVX_params params;
|
|
params.device = device;
|
|
params.module = module;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyCuModuleNVX, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDebugReportCallbackEXT_params params;
|
|
params.instance = instance;
|
|
params.callback = callback;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDebugReportCallbackEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDebugUtilsMessengerEXT_params params;
|
|
params.instance = instance;
|
|
params.messenger = messenger;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDebugUtilsMessengerEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDeferredOperationKHR(VkDevice device, VkDeferredOperationKHR operation, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDeferredOperationKHR_params params;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDeferredOperationKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorPool_params params;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDescriptorPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorSetLayout_params params;
|
|
params.device = device;
|
|
params.descriptorSetLayout = descriptorSetLayout;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDescriptorSetLayout, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorUpdateTemplate(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorUpdateTemplate_params params;
|
|
params.device = device;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDescriptorUpdateTemplate, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorUpdateTemplateKHR_params params;
|
|
params.device = device;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDescriptorUpdateTemplateKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDevice_params params;
|
|
params.device = device;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyDevice, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyEvent_params params;
|
|
params.device = device;
|
|
params.event = event;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyEvent, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyFence_params params;
|
|
params.device = device;
|
|
params.fence = fence;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyFence, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyFramebuffer_params params;
|
|
params.device = device;
|
|
params.framebuffer = framebuffer;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyFramebuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyImage_params params;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyImageView_params params;
|
|
params.device = device;
|
|
params.imageView = imageView;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyImageView, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyIndirectCommandsLayoutNV(VkDevice device, VkIndirectCommandsLayoutNV indirectCommandsLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyIndirectCommandsLayoutNV_params params;
|
|
params.device = device;
|
|
params.indirectCommandsLayout = indirectCommandsLayout;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyIndirectCommandsLayoutNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyInstance_params params;
|
|
params.instance = instance;
|
|
params.pAllocator = pAllocator;
|
|
unix_funcs->p_vk_call(unix_vkDestroyInstance, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipeline_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyPipeline, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipelineCache_params params;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyPipelineCache, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipelineLayout_params params;
|
|
params.device = device;
|
|
params.pipelineLayout = pipelineLayout;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyPipelineLayout, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyPrivateDataSlotEXT(VkDevice device, VkPrivateDataSlotEXT privateDataSlot, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPrivateDataSlotEXT_params params;
|
|
params.device = device;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyPrivateDataSlotEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyQueryPool_params params;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyQueryPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyRenderPass_params params;
|
|
params.device = device;
|
|
params.renderPass = renderPass;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyRenderPass, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySampler_params params;
|
|
params.device = device;
|
|
params.sampler = sampler;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroySampler, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySamplerYcbcrConversion_params params;
|
|
params.device = device;
|
|
params.ycbcrConversion = ycbcrConversion;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroySamplerYcbcrConversion, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySamplerYcbcrConversionKHR_params params;
|
|
params.device = device;
|
|
params.ycbcrConversion = ycbcrConversion;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroySamplerYcbcrConversionKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySemaphore_params params;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroySemaphore, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyShaderModule_params params;
|
|
params.device = device;
|
|
params.shaderModule = shaderModule;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyShaderModule, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySurfaceKHR_params params;
|
|
params.instance = instance;
|
|
params.surface = surface;
|
|
params.pAllocator = pAllocator;
|
|
unix_funcs->p_vk_call(unix_vkDestroySurfaceKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySwapchainKHR_params params;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pAllocator = pAllocator;
|
|
unix_funcs->p_vk_call(unix_vkDestroySwapchainKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyValidationCacheEXT_params params;
|
|
params.device = device;
|
|
params.validationCache = validationCache;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkDestroyValidationCacheEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkDeviceWaitIdle(VkDevice device)
|
|
{
|
|
struct vkDeviceWaitIdle_params params;
|
|
params.device = device;
|
|
return vk_unix_call(unix_vkDeviceWaitIdle, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEndCommandBuffer(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkEndCommandBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
return vk_unix_call(unix_vkEndCommandBuffer, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
|
|
{
|
|
struct vkEnumerateDeviceExtensionProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pLayerName = pLayerName;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
return vk_unix_call(unix_vkEnumerateDeviceExtensionProperties, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkLayerProperties *pProperties)
|
|
{
|
|
struct vkEnumerateDeviceLayerProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
return vk_unix_call(unix_vkEnumerateDeviceLayerProperties, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceGroups_params params;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceGroupCount = pPhysicalDeviceGroupCount;
|
|
params.pPhysicalDeviceGroupProperties = pPhysicalDeviceGroupProperties;
|
|
return vk_unix_call(unix_vkEnumeratePhysicalDeviceGroups, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceGroupsKHR(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceGroupsKHR_params params;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceGroupCount = pPhysicalDeviceGroupCount;
|
|
params.pPhysicalDeviceGroupProperties = pPhysicalDeviceGroupProperties;
|
|
return vk_unix_call(unix_vkEnumeratePhysicalDeviceGroupsKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t *pCounterCount, VkPerformanceCounterKHR *pCounters, VkPerformanceCounterDescriptionKHR *pCounterDescriptions)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.pCounterCount = pCounterCount;
|
|
params.pCounters = pCounters;
|
|
params.pCounterDescriptions = pCounterDescriptions;
|
|
return vk_unix_call(unix_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices)
|
|
{
|
|
struct vkEnumeratePhysicalDevices_params params;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceCount = pPhysicalDeviceCount;
|
|
params.pPhysicalDevices = pPhysicalDevices;
|
|
return vk_unix_call(unix_vkEnumeratePhysicalDevices, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkFlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
|
|
{
|
|
struct vkFlushMappedMemoryRanges_params params;
|
|
params.device = device;
|
|
params.memoryRangeCount = memoryRangeCount;
|
|
params.pMemoryRanges = pMemoryRanges;
|
|
return vk_unix_call(unix_vkFlushMappedMemoryRanges, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers)
|
|
{
|
|
struct vkFreeCommandBuffers_params params;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.commandBufferCount = commandBufferCount;
|
|
params.pCommandBuffers = pCommandBuffers;
|
|
vk_unix_call(unix_vkFreeCommandBuffers, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets)
|
|
{
|
|
struct vkFreeDescriptorSets_params params;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.descriptorSetCount = descriptorSetCount;
|
|
params.pDescriptorSets = pDescriptorSets;
|
|
return vk_unix_call(unix_vkFreeDescriptorSets, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkFreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkFreeMemory_params params;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.pAllocator = pAllocator;
|
|
vk_unix_call(unix_vkFreeMemory, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetAccelerationStructureBuildSizesKHR(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkAccelerationStructureBuildGeometryInfoKHR *pBuildInfo, const uint32_t *pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR *pSizeInfo)
|
|
{
|
|
struct vkGetAccelerationStructureBuildSizesKHR_params params;
|
|
params.device = device;
|
|
params.buildType = buildType;
|
|
params.pBuildInfo = pBuildInfo;
|
|
params.pMaxPrimitiveCounts = pMaxPrimitiveCounts;
|
|
params.pSizeInfo = pSizeInfo;
|
|
vk_unix_call(unix_vkGetAccelerationStructureBuildSizesKHR, ¶ms);
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetAccelerationStructureDeviceAddressKHR(VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR *pInfo)
|
|
{
|
|
struct vkGetAccelerationStructureDeviceAddressKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetAccelerationStructureDeviceAddressKHR, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetAccelerationStructureHandleNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetAccelerationStructureHandleNV_params params;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetAccelerationStructureHandleNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetAccelerationStructureMemoryRequirementsNV(VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2KHR *pMemoryRequirements)
|
|
{
|
|
struct vkGetAccelerationStructureMemoryRequirementsNV_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetAccelerationStructureMemoryRequirementsNV, ¶ms);
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddress_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetBufferDeviceAddress, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddressEXT(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddressEXT_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetBufferDeviceAddressEXT, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddressKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetBufferDeviceAddressKHR, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements_params params;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetBufferMemoryRequirements, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements2(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements2_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetBufferMemoryRequirements2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements2KHR(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements2KHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetBufferMemoryRequirements2KHR, ¶ms);
|
|
}
|
|
|
|
uint64_t WINAPI vkGetBufferOpaqueCaptureAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferOpaqueCaptureAddress_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetBufferOpaqueCaptureAddress, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
uint64_t WINAPI vkGetBufferOpaqueCaptureAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferOpaqueCaptureAddressKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetBufferOpaqueCaptureAddressKHR, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestampCount, const VkCalibratedTimestampInfoEXT *pTimestampInfos, uint64_t *pTimestamps, uint64_t *pMaxDeviation)
|
|
{
|
|
struct vkGetCalibratedTimestampsEXT_params params;
|
|
params.device = device;
|
|
params.timestampCount = timestampCount;
|
|
params.pTimestampInfos = pTimestampInfos;
|
|
params.pTimestamps = pTimestamps;
|
|
params.pMaxDeviation = pMaxDeviation;
|
|
return vk_unix_call(unix_vkGetCalibratedTimestampsEXT, ¶ms);
|
|
}
|
|
|
|
uint32_t WINAPI vkGetDeferredOperationMaxConcurrencyKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkGetDeferredOperationMaxConcurrencyKHR_params params;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
return vk_unix_call(unix_vkGetDeferredOperationMaxConcurrencyKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeferredOperationResultKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkGetDeferredOperationResultKHR_params params;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
return vk_unix_call(unix_vkGetDeferredOperationResultKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutSupport(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport)
|
|
{
|
|
struct vkGetDescriptorSetLayoutSupport_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pSupport = pSupport;
|
|
vk_unix_call(unix_vkGetDescriptorSetLayoutSupport, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutSupportKHR(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport)
|
|
{
|
|
struct vkGetDescriptorSetLayoutSupportKHR_params params;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pSupport = pSupport;
|
|
vk_unix_call(unix_vkGetDescriptorSetLayoutSupportKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice device, const VkAccelerationStructureVersionInfoKHR *pVersionInfo, VkAccelerationStructureCompatibilityKHR *pCompatibility)
|
|
{
|
|
struct vkGetDeviceAccelerationStructureCompatibilityKHR_params params;
|
|
params.device = device;
|
|
params.pVersionInfo = pVersionInfo;
|
|
params.pCompatibility = pCompatibility;
|
|
vk_unix_call(unix_vkGetDeviceAccelerationStructureCompatibilityKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceBufferMemoryRequirementsKHR(VkDevice device, const VkDeviceBufferMemoryRequirementsKHR *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceBufferMemoryRequirementsKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetDeviceBufferMemoryRequirementsKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures)
|
|
{
|
|
struct vkGetDeviceGroupPeerMemoryFeatures_params params;
|
|
params.device = device;
|
|
params.heapIndex = heapIndex;
|
|
params.localDeviceIndex = localDeviceIndex;
|
|
params.remoteDeviceIndex = remoteDeviceIndex;
|
|
params.pPeerMemoryFeatures = pPeerMemoryFeatures;
|
|
vk_unix_call(unix_vkGetDeviceGroupPeerMemoryFeatures, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures)
|
|
{
|
|
struct vkGetDeviceGroupPeerMemoryFeaturesKHR_params params;
|
|
params.device = device;
|
|
params.heapIndex = heapIndex;
|
|
params.localDeviceIndex = localDeviceIndex;
|
|
params.remoteDeviceIndex = remoteDeviceIndex;
|
|
params.pPeerMemoryFeatures = pPeerMemoryFeatures;
|
|
vk_unix_call(unix_vkGetDeviceGroupPeerMemoryFeaturesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkDeviceGroupPresentCapabilitiesKHR *pDeviceGroupPresentCapabilities)
|
|
{
|
|
struct vkGetDeviceGroupPresentCapabilitiesKHR_params params;
|
|
params.device = device;
|
|
params.pDeviceGroupPresentCapabilities = pDeviceGroupPresentCapabilities;
|
|
return vk_unix_call(unix_vkGetDeviceGroupPresentCapabilitiesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR *pModes)
|
|
{
|
|
struct vkGetDeviceGroupSurfacePresentModesKHR_params params;
|
|
params.device = device;
|
|
params.surface = surface;
|
|
params.pModes = pModes;
|
|
return unix_funcs->p_vk_call(unix_vkGetDeviceGroupSurfacePresentModesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirementsKHR *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageMemoryRequirementsKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetDeviceImageMemoryRequirementsKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageSparseMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirementsKHR *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageSparseMemoryRequirementsKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
vk_unix_call(unix_vkGetDeviceImageSparseMemoryRequirementsKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes)
|
|
{
|
|
struct vkGetDeviceMemoryCommitment_params params;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.pCommittedMemoryInBytes = pCommittedMemoryInBytes;
|
|
vk_unix_call(unix_vkGetDeviceMemoryCommitment, ¶ms);
|
|
}
|
|
|
|
uint64_t WINAPI vkGetDeviceMemoryOpaqueCaptureAddress(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo)
|
|
{
|
|
struct vkGetDeviceMemoryOpaqueCaptureAddress_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetDeviceMemoryOpaqueCaptureAddress, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
uint64_t WINAPI vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo)
|
|
{
|
|
struct vkGetDeviceMemoryOpaqueCaptureAddressKHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
vk_unix_call(unix_vkGetDeviceMemoryOpaqueCaptureAddressKHR, ¶ms);
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue)
|
|
{
|
|
struct vkGetDeviceQueue_params params;
|
|
params.device = device;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.queueIndex = queueIndex;
|
|
params.pQueue = pQueue;
|
|
vk_unix_call(unix_vkGetDeviceQueue, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueInfo, VkQueue *pQueue)
|
|
{
|
|
struct vkGetDeviceQueue2_params params;
|
|
params.device = device;
|
|
params.pQueueInfo = pQueueInfo;
|
|
params.pQueue = pQueue;
|
|
vk_unix_call(unix_vkGetDeviceQueue2, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D *pMaxWorkgroupSize)
|
|
{
|
|
struct vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI_params params;
|
|
params.device = device;
|
|
params.renderpass = renderpass;
|
|
params.pMaxWorkgroupSize = pMaxWorkgroupSize;
|
|
return vk_unix_call(unix_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetEventStatus(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkGetEventStatus_params params;
|
|
params.device = device;
|
|
params.event = event;
|
|
return vk_unix_call(unix_vkGetEventStatus, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetFenceStatus(VkDevice device, VkFence fence)
|
|
{
|
|
struct vkGetFenceStatus_params params;
|
|
params.device = device;
|
|
params.fence = fence;
|
|
return vk_unix_call(unix_vkGetFenceStatus, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetGeneratedCommandsMemoryRequirementsNV(VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetGeneratedCommandsMemoryRequirementsNV_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetGeneratedCommandsMemoryRequirementsNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements_params params;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageMemoryRequirements, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements2(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements2_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageMemoryRequirements2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements2KHR(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements2KHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageMemoryRequirements2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements_params params;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageSparseMemoryRequirements, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements2(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements2_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageSparseMemoryRequirements2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements2KHR(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements2KHR_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
vk_unix_call(unix_vkGetImageSparseMemoryRequirements2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource *pSubresource, VkSubresourceLayout *pLayout)
|
|
{
|
|
struct vkGetImageSubresourceLayout_params params;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSubresource = pSubresource;
|
|
params.pLayout = pLayout;
|
|
vk_unix_call(unix_vkGetImageSubresourceLayout, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetImageViewAddressNVX(VkDevice device, VkImageView imageView, VkImageViewAddressPropertiesNVX *pProperties)
|
|
{
|
|
struct vkGetImageViewAddressNVX_params params;
|
|
params.device = device;
|
|
params.imageView = imageView;
|
|
params.pProperties = pProperties;
|
|
return vk_unix_call(unix_vkGetImageViewAddressNVX, ¶ms);
|
|
}
|
|
|
|
uint32_t WINAPI vkGetImageViewHandleNVX(VkDevice device, const VkImageViewHandleInfoNVX *pInfo)
|
|
{
|
|
struct vkGetImageViewHandleNVX_params params;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkGetImageViewHandleNVX, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetMemoryHostPointerPropertiesEXT(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void *pHostPointer, VkMemoryHostPointerPropertiesEXT *pMemoryHostPointerProperties)
|
|
{
|
|
struct vkGetMemoryHostPointerPropertiesEXT_params params;
|
|
params.device = device;
|
|
params.handleType = handleType;
|
|
params.pHostPointer = pHostPointer;
|
|
params.pMemoryHostPointerProperties = pMemoryHostPointerProperties;
|
|
return vk_unix_call(unix_vkGetMemoryHostPointerPropertiesEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPerformanceParameterINTEL(VkDevice device, VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL *pValue)
|
|
{
|
|
struct vkGetPerformanceParameterINTEL_params params;
|
|
params.device = device;
|
|
params.parameter = parameter;
|
|
params.pValue = pValue;
|
|
return vk_unix_call(unix_vkGetPerformanceParameterINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(VkPhysicalDevice physicalDevice, uint32_t *pTimeDomainCount, VkTimeDomainEXT *pTimeDomains)
|
|
{
|
|
struct vkGetPhysicalDeviceCalibrateableTimeDomainsEXT_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pTimeDomainCount = pTimeDomainCount;
|
|
params.pTimeDomains = pTimeDomains;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkCooperativeMatrixPropertiesNV *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceCooperativeMatrixPropertiesNV_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalBufferProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalBufferProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalBufferInfo = pExternalBufferInfo;
|
|
params.pExternalBufferProperties = pExternalBufferProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalBufferProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalBufferPropertiesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalBufferInfo = pExternalBufferInfo;
|
|
params.pExternalBufferProperties = pExternalBufferProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalBufferPropertiesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalFenceProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalFenceProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalFenceInfo = pExternalFenceInfo;
|
|
params.pExternalFenceProperties = pExternalFenceProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalFenceProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalFencePropertiesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalFenceInfo = pExternalFenceInfo;
|
|
params.pExternalFenceProperties = pExternalFenceProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalFencePropertiesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalSemaphoreProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalSemaphoreProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalSemaphoreInfo = pExternalSemaphoreInfo;
|
|
params.pExternalSemaphoreProperties = pExternalSemaphoreProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalSemaphoreProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalSemaphorePropertiesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalSemaphoreInfo = pExternalSemaphoreInfo;
|
|
params.pExternalSemaphoreProperties = pExternalSemaphoreProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFeatures, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFeatures2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFeatures2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFormatProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2 *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFormatProperties2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2 *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceFormatProperties2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceFragmentShadingRatesKHR(VkPhysicalDevice physicalDevice, uint32_t *pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR *pFragmentShadingRates)
|
|
{
|
|
struct vkGetPhysicalDeviceFragmentShadingRatesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFragmentShadingRateCount = pFragmentShadingRateCount;
|
|
params.pFragmentShadingRates = pFragmentShadingRates;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceFragmentShadingRatesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.type = type;
|
|
params.tiling = tiling;
|
|
params.usage = usage;
|
|
params.flags = flags;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceImageFormatProperties, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pImageFormatInfo = pImageFormatInfo;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceImageFormatProperties2, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pImageFormatInfo = pImageFormatInfo;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceImageFormatProperties2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceMemoryProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceMemoryProperties2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceMemoryProperties2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT *pMultisampleProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMultisamplePropertiesEXT_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.samples = samples;
|
|
params.pMultisampleProperties = pMultisampleProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceMultisamplePropertiesEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pRectCount, VkRect2D *pRects)
|
|
{
|
|
struct vkGetPhysicalDevicePresentRectanglesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pRectCount = pRectCount;
|
|
params.pRects = pRects;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDevicePresentRectanglesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pProperties = pProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *pPerformanceQueryCreateInfo, uint32_t *pNumPasses)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPerformanceQueryCreateInfo = pPerformanceQueryCreateInfo;
|
|
params.pNumPasses = pNumPasses;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceQueueFamilyProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties2(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties2 *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceQueueFamilyProperties2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties2 *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceQueueFamilyProperties2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t *pPropertyCount, VkSparseImageFormatProperties *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.type = type;
|
|
params.samples = samples;
|
|
params.usage = usage;
|
|
params.tiling = tiling;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceSparseImageFormatProperties, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, uint32_t *pPropertyCount, VkSparseImageFormatProperties2 *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties2_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFormatInfo = pFormatInfo;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceSparseImageFormatProperties2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, uint32_t *pPropertyCount, VkSparseImageFormatProperties2 *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFormatInfo = pFormatInfo;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
vk_unix_call(unix_vkGetPhysicalDeviceSparseImageFormatProperties2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(VkPhysicalDevice physicalDevice, uint32_t *pCombinationCount, VkFramebufferMixedSamplesCombinationNV *pCombinations)
|
|
{
|
|
struct vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pCombinationCount = pCombinationCount;
|
|
params.pCombinations = pCombinations;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR *pSurfaceInfo, VkSurfaceCapabilities2KHR *pSurfaceCapabilities)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceCapabilities2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pSurfaceInfo = pSurfaceInfo;
|
|
params.pSurfaceCapabilities = pSurfaceCapabilities;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfaceCapabilities2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR *pSurfaceCapabilities)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceCapabilitiesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pSurfaceCapabilities = pSurfaceCapabilities;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfaceCapabilitiesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR *pSurfaceInfo, uint32_t *pSurfaceFormatCount, VkSurfaceFormat2KHR *pSurfaceFormats)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceFormats2KHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pSurfaceInfo = pSurfaceInfo;
|
|
params.pSurfaceFormatCount = pSurfaceFormatCount;
|
|
params.pSurfaceFormats = pSurfaceFormats;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfaceFormats2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceFormatsKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pSurfaceFormatCount = pSurfaceFormatCount;
|
|
params.pSurfaceFormats = pSurfaceFormats;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfaceFormatsKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pPresentModeCount, VkPresentModeKHR *pPresentModes)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfacePresentModesKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pPresentModeCount = pPresentModeCount;
|
|
params.pPresentModes = pPresentModes;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfacePresentModesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32 *pSupported)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceSupportKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.surface = surface;
|
|
params.pSupported = pSupported;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceSurfaceSupportKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t *pToolCount, VkPhysicalDeviceToolPropertiesEXT *pToolProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceToolPropertiesEXT_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pToolCount = pToolCount;
|
|
params.pToolProperties = pToolProperties;
|
|
return vk_unix_call(unix_vkGetPhysicalDeviceToolPropertiesEXT, ¶ms);
|
|
}
|
|
|
|
VkBool32 WINAPI vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
|
|
{
|
|
struct vkGetPhysicalDeviceWin32PresentationSupportKHR_params params;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
return unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceWin32PresentationSupportKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t *pDataSize, void *pData)
|
|
{
|
|
struct vkGetPipelineCacheData_params params;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.pDataSize = pDataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetPipelineCacheData, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutableInternalRepresentationsKHR(VkDevice device, const VkPipelineExecutableInfoKHR *pExecutableInfo, uint32_t *pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR *pInternalRepresentations)
|
|
{
|
|
struct vkGetPipelineExecutableInternalRepresentationsKHR_params params;
|
|
params.device = device;
|
|
params.pExecutableInfo = pExecutableInfo;
|
|
params.pInternalRepresentationCount = pInternalRepresentationCount;
|
|
params.pInternalRepresentations = pInternalRepresentations;
|
|
return vk_unix_call(unix_vkGetPipelineExecutableInternalRepresentationsKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutablePropertiesKHR(VkDevice device, const VkPipelineInfoKHR *pPipelineInfo, uint32_t *pExecutableCount, VkPipelineExecutablePropertiesKHR *pProperties)
|
|
{
|
|
struct vkGetPipelineExecutablePropertiesKHR_params params;
|
|
params.device = device;
|
|
params.pPipelineInfo = pPipelineInfo;
|
|
params.pExecutableCount = pExecutableCount;
|
|
params.pProperties = pProperties;
|
|
return vk_unix_call(unix_vkGetPipelineExecutablePropertiesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutableStatisticsKHR(VkDevice device, const VkPipelineExecutableInfoKHR *pExecutableInfo, uint32_t *pStatisticCount, VkPipelineExecutableStatisticKHR *pStatistics)
|
|
{
|
|
struct vkGetPipelineExecutableStatisticsKHR_params params;
|
|
params.device = device;
|
|
params.pExecutableInfo = pExecutableInfo;
|
|
params.pStatisticCount = pStatisticCount;
|
|
params.pStatistics = pStatistics;
|
|
return vk_unix_call(unix_vkGetPipelineExecutableStatisticsKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t *pData)
|
|
{
|
|
struct vkGetPrivateDataEXT_params params;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pData = pData;
|
|
vk_unix_call(unix_vkGetPrivateDataEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, VkQueryResultFlags flags)
|
|
{
|
|
struct vkGetQueryPoolResults_params params;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
params.stride = stride;
|
|
params.flags = flags;
|
|
return vk_unix_call(unix_vkGetQueryPoolResults, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetQueueCheckpointData2NV(VkQueue queue, uint32_t *pCheckpointDataCount, VkCheckpointData2NV *pCheckpointData)
|
|
{
|
|
struct vkGetQueueCheckpointData2NV_params params;
|
|
params.queue = queue;
|
|
params.pCheckpointDataCount = pCheckpointDataCount;
|
|
params.pCheckpointData = pCheckpointData;
|
|
vk_unix_call(unix_vkGetQueueCheckpointData2NV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetQueueCheckpointDataNV(VkQueue queue, uint32_t *pCheckpointDataCount, VkCheckpointDataNV *pCheckpointData)
|
|
{
|
|
struct vkGetQueueCheckpointDataNV_params params;
|
|
params.queue = queue;
|
|
params.pCheckpointDataCount = pCheckpointDataCount;
|
|
params.pCheckpointData = pCheckpointData;
|
|
vk_unix_call(unix_vkGetQueueCheckpointDataNV, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingCaptureReplayShaderGroupHandlesKHR_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingShaderGroupHandlesKHR_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetRayTracingShaderGroupHandlesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingShaderGroupHandlesNV(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingShaderGroupHandlesNV_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetRayTracingShaderGroupHandlesNV, ¶ms);
|
|
}
|
|
|
|
VkDeviceSize WINAPI vkGetRayTracingShaderGroupStackSizeKHR(VkDevice device, VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader)
|
|
{
|
|
struct vkGetRayTracingShaderGroupStackSizeKHR_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.group = group;
|
|
params.groupShader = groupShader;
|
|
return vk_unix_call(unix_vkGetRayTracingShaderGroupStackSizeKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D *pGranularity)
|
|
{
|
|
struct vkGetRenderAreaGranularity_params params;
|
|
params.device = device;
|
|
params.renderPass = renderPass;
|
|
params.pGranularity = pGranularity;
|
|
vk_unix_call(unix_vkGetRenderAreaGranularity, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t *pValue)
|
|
{
|
|
struct vkGetSemaphoreCounterValue_params params;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pValue = pValue;
|
|
return vk_unix_call(unix_vkGetSemaphoreCounterValue, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetSemaphoreCounterValueKHR(VkDevice device, VkSemaphore semaphore, uint64_t *pValue)
|
|
{
|
|
struct vkGetSemaphoreCounterValueKHR_params params;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pValue = pValue;
|
|
return vk_unix_call(unix_vkGetSemaphoreCounterValueKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t *pInfoSize, void *pInfo)
|
|
{
|
|
struct vkGetShaderInfoAMD_params params;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.shaderStage = shaderStage;
|
|
params.infoType = infoType;
|
|
params.pInfoSize = pInfoSize;
|
|
params.pInfo = pInfo;
|
|
return vk_unix_call(unix_vkGetShaderInfoAMD, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pSwapchainImageCount, VkImage *pSwapchainImages)
|
|
{
|
|
struct vkGetSwapchainImagesKHR_params params;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pSwapchainImageCount = pSwapchainImageCount;
|
|
params.pSwapchainImages = pSwapchainImages;
|
|
return unix_funcs->p_vk_call(unix_vkGetSwapchainImagesKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, size_t *pDataSize, void *pData)
|
|
{
|
|
struct vkGetValidationCacheDataEXT_params params;
|
|
params.device = device;
|
|
params.validationCache = validationCache;
|
|
params.pDataSize = pDataSize;
|
|
params.pData = pData;
|
|
return vk_unix_call(unix_vkGetValidationCacheDataEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkInitializePerformanceApiINTEL(VkDevice device, const VkInitializePerformanceApiInfoINTEL *pInitializeInfo)
|
|
{
|
|
struct vkInitializePerformanceApiINTEL_params params;
|
|
params.device = device;
|
|
params.pInitializeInfo = pInitializeInfo;
|
|
return vk_unix_call(unix_vkInitializePerformanceApiINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkInvalidateMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
|
|
{
|
|
struct vkInvalidateMappedMemoryRanges_params params;
|
|
params.device = device;
|
|
params.memoryRangeCount = memoryRangeCount;
|
|
params.pMemoryRanges = pMemoryRanges;
|
|
return vk_unix_call(unix_vkInvalidateMappedMemoryRanges, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void **ppData)
|
|
{
|
|
struct vkMapMemory_params params;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.offset = offset;
|
|
params.size = size;
|
|
params.flags = flags;
|
|
params.ppData = ppData;
|
|
return vk_unix_call(unix_vkMapMemory, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache *pSrcCaches)
|
|
{
|
|
struct vkMergePipelineCaches_params params;
|
|
params.device = device;
|
|
params.dstCache = dstCache;
|
|
params.srcCacheCount = srcCacheCount;
|
|
params.pSrcCaches = pSrcCaches;
|
|
return vk_unix_call(unix_vkMergePipelineCaches, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT *pSrcCaches)
|
|
{
|
|
struct vkMergeValidationCachesEXT_params params;
|
|
params.device = device;
|
|
params.dstCache = dstCache;
|
|
params.srcCacheCount = srcCacheCount;
|
|
params.pSrcCaches = pSrcCaches;
|
|
return vk_unix_call(unix_vkMergeValidationCachesEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkQueueBeginDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkQueueBeginDebugUtilsLabelEXT_params params;
|
|
params.queue = queue;
|
|
params.pLabelInfo = pLabelInfo;
|
|
vk_unix_call(unix_vkQueueBeginDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo *pBindInfo, VkFence fence)
|
|
{
|
|
struct vkQueueBindSparse_params params;
|
|
params.queue = queue;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfo = pBindInfo;
|
|
params.fence = fence;
|
|
return vk_unix_call(unix_vkQueueBindSparse, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkQueueEndDebugUtilsLabelEXT(VkQueue queue)
|
|
{
|
|
struct vkQueueEndDebugUtilsLabelEXT_params params;
|
|
params.queue = queue;
|
|
vk_unix_call(unix_vkQueueEndDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkQueueInsertDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkQueueInsertDebugUtilsLabelEXT_params params;
|
|
params.queue = queue;
|
|
params.pLabelInfo = pLabelInfo;
|
|
vk_unix_call(unix_vkQueueInsertDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo)
|
|
{
|
|
struct vkQueuePresentKHR_params params;
|
|
params.queue = queue;
|
|
params.pPresentInfo = pPresentInfo;
|
|
return unix_funcs->p_vk_call(unix_vkQueuePresentKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSetPerformanceConfigurationINTEL(VkQueue queue, VkPerformanceConfigurationINTEL configuration)
|
|
{
|
|
struct vkQueueSetPerformanceConfigurationINTEL_params params;
|
|
params.queue = queue;
|
|
params.configuration = configuration;
|
|
return vk_unix_call(unix_vkQueueSetPerformanceConfigurationINTEL, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo *pSubmits, VkFence fence)
|
|
{
|
|
struct vkQueueSubmit_params params;
|
|
params.queue = queue;
|
|
params.submitCount = submitCount;
|
|
params.pSubmits = pSubmits;
|
|
params.fence = fence;
|
|
return vk_unix_call(unix_vkQueueSubmit, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSubmit2KHR(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2KHR *pSubmits, VkFence fence)
|
|
{
|
|
struct vkQueueSubmit2KHR_params params;
|
|
params.queue = queue;
|
|
params.submitCount = submitCount;
|
|
params.pSubmits = pSubmits;
|
|
params.fence = fence;
|
|
return vk_unix_call(unix_vkQueueSubmit2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkQueueWaitIdle(VkQueue queue)
|
|
{
|
|
struct vkQueueWaitIdle_params params;
|
|
params.queue = queue;
|
|
return vk_unix_call(unix_vkQueueWaitIdle, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkReleasePerformanceConfigurationINTEL(VkDevice device, VkPerformanceConfigurationINTEL configuration)
|
|
{
|
|
struct vkReleasePerformanceConfigurationINTEL_params params;
|
|
params.device = device;
|
|
params.configuration = configuration;
|
|
return vk_unix_call(unix_vkReleasePerformanceConfigurationINTEL, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkReleaseProfilingLockKHR(VkDevice device)
|
|
{
|
|
struct vkReleaseProfilingLockKHR_params params;
|
|
params.device = device;
|
|
vk_unix_call(unix_vkReleaseProfilingLockKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags)
|
|
{
|
|
struct vkResetCommandBuffer_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.flags = flags;
|
|
return vk_unix_call(unix_vkResetCommandBuffer, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags)
|
|
{
|
|
struct vkResetCommandPool_params params;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
return vk_unix_call(unix_vkResetCommandPool, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags)
|
|
{
|
|
struct vkResetDescriptorPool_params params;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.flags = flags;
|
|
return vk_unix_call(unix_vkResetDescriptorPool, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkResetEvent(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkResetEvent_params params;
|
|
params.device = device;
|
|
params.event = event;
|
|
return vk_unix_call(unix_vkResetEvent, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences)
|
|
{
|
|
struct vkResetFences_params params;
|
|
params.device = device;
|
|
params.fenceCount = fenceCount;
|
|
params.pFences = pFences;
|
|
return vk_unix_call(unix_vkResetFences, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
|
|
{
|
|
struct vkResetQueryPool_params params;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
vk_unix_call(unix_vkResetQueryPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
|
|
{
|
|
struct vkResetQueryPoolEXT_params params;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
vk_unix_call(unix_vkResetQueryPoolEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSetDebugUtilsObjectNameEXT(VkDevice device, const VkDebugUtilsObjectNameInfoEXT *pNameInfo)
|
|
{
|
|
struct vkSetDebugUtilsObjectNameEXT_params params;
|
|
params.device = device;
|
|
params.pNameInfo = pNameInfo;
|
|
return vk_unix_call(unix_vkSetDebugUtilsObjectNameEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSetDebugUtilsObjectTagEXT(VkDevice device, const VkDebugUtilsObjectTagInfoEXT *pTagInfo)
|
|
{
|
|
struct vkSetDebugUtilsObjectTagEXT_params params;
|
|
params.device = device;
|
|
params.pTagInfo = pTagInfo;
|
|
return vk_unix_call(unix_vkSetDebugUtilsObjectTagEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkSetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority)
|
|
{
|
|
struct vkSetDeviceMemoryPriorityEXT_params params;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.priority = priority;
|
|
vk_unix_call(unix_vkSetDeviceMemoryPriorityEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSetEvent(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkSetEvent_params params;
|
|
params.device = device;
|
|
params.event = event;
|
|
return vk_unix_call(unix_vkSetEvent, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t data)
|
|
{
|
|
struct vkSetPrivateDataEXT_params params;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.data = data;
|
|
return vk_unix_call(unix_vkSetPrivateDataEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSignalSemaphore(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo)
|
|
{
|
|
struct vkSignalSemaphore_params params;
|
|
params.device = device;
|
|
params.pSignalInfo = pSignalInfo;
|
|
return vk_unix_call(unix_vkSignalSemaphore, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkSignalSemaphoreKHR(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo)
|
|
{
|
|
struct vkSignalSemaphoreKHR_params params;
|
|
params.device = device;
|
|
params.pSignalInfo = pSignalInfo;
|
|
return vk_unix_call(unix_vkSignalSemaphoreKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkSubmitDebugUtilsMessageEXT(VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData)
|
|
{
|
|
struct vkSubmitDebugUtilsMessageEXT_params params;
|
|
params.instance = instance;
|
|
params.messageSeverity = messageSeverity;
|
|
params.messageTypes = messageTypes;
|
|
params.pCallbackData = pCallbackData;
|
|
vk_unix_call(unix_vkSubmitDebugUtilsMessageEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags)
|
|
{
|
|
struct vkTrimCommandPool_params params;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
vk_unix_call(unix_vkTrimCommandPool, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags)
|
|
{
|
|
struct vkTrimCommandPoolKHR_params params;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
vk_unix_call(unix_vkTrimCommandPoolKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUninitializePerformanceApiINTEL(VkDevice device)
|
|
{
|
|
struct vkUninitializePerformanceApiINTEL_params params;
|
|
params.device = device;
|
|
vk_unix_call(unix_vkUninitializePerformanceApiINTEL, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUnmapMemory(VkDevice device, VkDeviceMemory memory)
|
|
{
|
|
struct vkUnmapMemory_params params;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
vk_unix_call(unix_vkUnmapMemory, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUpdateDescriptorSetWithTemplate(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData)
|
|
{
|
|
struct vkUpdateDescriptorSetWithTemplate_params params;
|
|
params.device = device;
|
|
params.descriptorSet = descriptorSet;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pData = pData;
|
|
unix_funcs->p_vk_call(unix_vkUpdateDescriptorSetWithTemplate, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData)
|
|
{
|
|
struct vkUpdateDescriptorSetWithTemplateKHR_params params;
|
|
params.device = device;
|
|
params.descriptorSet = descriptorSet;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pData = pData;
|
|
vk_unix_call(unix_vkUpdateDescriptorSetWithTemplateKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet *pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet *pDescriptorCopies)
|
|
{
|
|
struct vkUpdateDescriptorSets_params params;
|
|
params.device = device;
|
|
params.descriptorWriteCount = descriptorWriteCount;
|
|
params.pDescriptorWrites = pDescriptorWrites;
|
|
params.descriptorCopyCount = descriptorCopyCount;
|
|
params.pDescriptorCopies = pDescriptorCopies;
|
|
unix_funcs->p_vk_call(unix_vkUpdateDescriptorSets, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences, VkBool32 waitAll, uint64_t timeout)
|
|
{
|
|
struct vkWaitForFences_params params;
|
|
params.device = device;
|
|
params.fenceCount = fenceCount;
|
|
params.pFences = pFences;
|
|
params.waitAll = waitAll;
|
|
params.timeout = timeout;
|
|
return vk_unix_call(unix_vkWaitForFences, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWaitForPresentKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout)
|
|
{
|
|
struct vkWaitForPresentKHR_params params;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.presentId = presentId;
|
|
params.timeout = timeout;
|
|
return vk_unix_call(unix_vkWaitForPresentKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWaitSemaphores(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout)
|
|
{
|
|
struct vkWaitSemaphores_params params;
|
|
params.device = device;
|
|
params.pWaitInfo = pWaitInfo;
|
|
params.timeout = timeout;
|
|
return vk_unix_call(unix_vkWaitSemaphores, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWaitSemaphoresKHR(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout)
|
|
{
|
|
struct vkWaitSemaphoresKHR_params params;
|
|
params.device = device;
|
|
params.pWaitInfo = pWaitInfo;
|
|
params.timeout = timeout;
|
|
return vk_unix_call(unix_vkWaitSemaphoresKHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWriteAccelerationStructuresPropertiesKHR(VkDevice device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR *pAccelerationStructures, VkQueryType queryType, size_t dataSize, void *pData, size_t stride)
|
|
{
|
|
struct vkWriteAccelerationStructuresPropertiesKHR_params params;
|
|
params.device = device;
|
|
params.accelerationStructureCount = accelerationStructureCount;
|
|
params.pAccelerationStructures = pAccelerationStructures;
|
|
params.queryType = queryType;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
params.stride = stride;
|
|
return vk_unix_call(unix_vkWriteAccelerationStructuresPropertiesKHR, ¶ms);
|
|
}
|
|
|
|
static const struct vulkan_func vk_device_dispatch_table[] =
|
|
{
|
|
{"vkAcquireNextImage2KHR", vkAcquireNextImage2KHR},
|
|
{"vkAcquireNextImageKHR", vkAcquireNextImageKHR},
|
|
{"vkAcquirePerformanceConfigurationINTEL", vkAcquirePerformanceConfigurationINTEL},
|
|
{"vkAcquireProfilingLockKHR", vkAcquireProfilingLockKHR},
|
|
{"vkAllocateCommandBuffers", vkAllocateCommandBuffers},
|
|
{"vkAllocateDescriptorSets", vkAllocateDescriptorSets},
|
|
{"vkAllocateMemory", vkAllocateMemory},
|
|
{"vkBeginCommandBuffer", vkBeginCommandBuffer},
|
|
{"vkBindAccelerationStructureMemoryNV", vkBindAccelerationStructureMemoryNV},
|
|
{"vkBindBufferMemory", vkBindBufferMemory},
|
|
{"vkBindBufferMemory2", vkBindBufferMemory2},
|
|
{"vkBindBufferMemory2KHR", vkBindBufferMemory2KHR},
|
|
{"vkBindImageMemory", vkBindImageMemory},
|
|
{"vkBindImageMemory2", vkBindImageMemory2},
|
|
{"vkBindImageMemory2KHR", vkBindImageMemory2KHR},
|
|
{"vkBuildAccelerationStructuresKHR", vkBuildAccelerationStructuresKHR},
|
|
{"vkCmdBeginConditionalRenderingEXT", vkCmdBeginConditionalRenderingEXT},
|
|
{"vkCmdBeginDebugUtilsLabelEXT", vkCmdBeginDebugUtilsLabelEXT},
|
|
{"vkCmdBeginQuery", vkCmdBeginQuery},
|
|
{"vkCmdBeginQueryIndexedEXT", vkCmdBeginQueryIndexedEXT},
|
|
{"vkCmdBeginRenderPass", vkCmdBeginRenderPass},
|
|
{"vkCmdBeginRenderPass2", vkCmdBeginRenderPass2},
|
|
{"vkCmdBeginRenderPass2KHR", vkCmdBeginRenderPass2KHR},
|
|
{"vkCmdBeginRenderingKHR", vkCmdBeginRenderingKHR},
|
|
{"vkCmdBeginTransformFeedbackEXT", vkCmdBeginTransformFeedbackEXT},
|
|
{"vkCmdBindDescriptorSets", vkCmdBindDescriptorSets},
|
|
{"vkCmdBindIndexBuffer", vkCmdBindIndexBuffer},
|
|
{"vkCmdBindInvocationMaskHUAWEI", vkCmdBindInvocationMaskHUAWEI},
|
|
{"vkCmdBindPipeline", vkCmdBindPipeline},
|
|
{"vkCmdBindPipelineShaderGroupNV", vkCmdBindPipelineShaderGroupNV},
|
|
{"vkCmdBindShadingRateImageNV", vkCmdBindShadingRateImageNV},
|
|
{"vkCmdBindTransformFeedbackBuffersEXT", vkCmdBindTransformFeedbackBuffersEXT},
|
|
{"vkCmdBindVertexBuffers", vkCmdBindVertexBuffers},
|
|
{"vkCmdBindVertexBuffers2EXT", vkCmdBindVertexBuffers2EXT},
|
|
{"vkCmdBlitImage", vkCmdBlitImage},
|
|
{"vkCmdBlitImage2KHR", vkCmdBlitImage2KHR},
|
|
{"vkCmdBuildAccelerationStructureNV", vkCmdBuildAccelerationStructureNV},
|
|
{"vkCmdBuildAccelerationStructuresIndirectKHR", vkCmdBuildAccelerationStructuresIndirectKHR},
|
|
{"vkCmdBuildAccelerationStructuresKHR", vkCmdBuildAccelerationStructuresKHR},
|
|
{"vkCmdClearAttachments", vkCmdClearAttachments},
|
|
{"vkCmdClearColorImage", vkCmdClearColorImage},
|
|
{"vkCmdClearDepthStencilImage", vkCmdClearDepthStencilImage},
|
|
{"vkCmdCopyAccelerationStructureKHR", vkCmdCopyAccelerationStructureKHR},
|
|
{"vkCmdCopyAccelerationStructureNV", vkCmdCopyAccelerationStructureNV},
|
|
{"vkCmdCopyAccelerationStructureToMemoryKHR", vkCmdCopyAccelerationStructureToMemoryKHR},
|
|
{"vkCmdCopyBuffer", vkCmdCopyBuffer},
|
|
{"vkCmdCopyBuffer2KHR", vkCmdCopyBuffer2KHR},
|
|
{"vkCmdCopyBufferToImage", vkCmdCopyBufferToImage},
|
|
{"vkCmdCopyBufferToImage2KHR", vkCmdCopyBufferToImage2KHR},
|
|
{"vkCmdCopyImage", vkCmdCopyImage},
|
|
{"vkCmdCopyImage2KHR", vkCmdCopyImage2KHR},
|
|
{"vkCmdCopyImageToBuffer", vkCmdCopyImageToBuffer},
|
|
{"vkCmdCopyImageToBuffer2KHR", vkCmdCopyImageToBuffer2KHR},
|
|
{"vkCmdCopyMemoryToAccelerationStructureKHR", vkCmdCopyMemoryToAccelerationStructureKHR},
|
|
{"vkCmdCopyQueryPoolResults", vkCmdCopyQueryPoolResults},
|
|
{"vkCmdCuLaunchKernelNVX", vkCmdCuLaunchKernelNVX},
|
|
{"vkCmdDebugMarkerBeginEXT", vkCmdDebugMarkerBeginEXT},
|
|
{"vkCmdDebugMarkerEndEXT", vkCmdDebugMarkerEndEXT},
|
|
{"vkCmdDebugMarkerInsertEXT", vkCmdDebugMarkerInsertEXT},
|
|
{"vkCmdDispatch", vkCmdDispatch},
|
|
{"vkCmdDispatchBase", vkCmdDispatchBase},
|
|
{"vkCmdDispatchBaseKHR", vkCmdDispatchBaseKHR},
|
|
{"vkCmdDispatchIndirect", vkCmdDispatchIndirect},
|
|
{"vkCmdDraw", vkCmdDraw},
|
|
{"vkCmdDrawIndexed", vkCmdDrawIndexed},
|
|
{"vkCmdDrawIndexedIndirect", vkCmdDrawIndexedIndirect},
|
|
{"vkCmdDrawIndexedIndirectCount", vkCmdDrawIndexedIndirectCount},
|
|
{"vkCmdDrawIndexedIndirectCountAMD", vkCmdDrawIndexedIndirectCountAMD},
|
|
{"vkCmdDrawIndexedIndirectCountKHR", vkCmdDrawIndexedIndirectCountKHR},
|
|
{"vkCmdDrawIndirect", vkCmdDrawIndirect},
|
|
{"vkCmdDrawIndirectByteCountEXT", vkCmdDrawIndirectByteCountEXT},
|
|
{"vkCmdDrawIndirectCount", vkCmdDrawIndirectCount},
|
|
{"vkCmdDrawIndirectCountAMD", vkCmdDrawIndirectCountAMD},
|
|
{"vkCmdDrawIndirectCountKHR", vkCmdDrawIndirectCountKHR},
|
|
{"vkCmdDrawMeshTasksIndirectCountNV", vkCmdDrawMeshTasksIndirectCountNV},
|
|
{"vkCmdDrawMeshTasksIndirectNV", vkCmdDrawMeshTasksIndirectNV},
|
|
{"vkCmdDrawMeshTasksNV", vkCmdDrawMeshTasksNV},
|
|
{"vkCmdDrawMultiEXT", vkCmdDrawMultiEXT},
|
|
{"vkCmdDrawMultiIndexedEXT", vkCmdDrawMultiIndexedEXT},
|
|
{"vkCmdEndConditionalRenderingEXT", vkCmdEndConditionalRenderingEXT},
|
|
{"vkCmdEndDebugUtilsLabelEXT", vkCmdEndDebugUtilsLabelEXT},
|
|
{"vkCmdEndQuery", vkCmdEndQuery},
|
|
{"vkCmdEndQueryIndexedEXT", vkCmdEndQueryIndexedEXT},
|
|
{"vkCmdEndRenderPass", vkCmdEndRenderPass},
|
|
{"vkCmdEndRenderPass2", vkCmdEndRenderPass2},
|
|
{"vkCmdEndRenderPass2KHR", vkCmdEndRenderPass2KHR},
|
|
{"vkCmdEndRenderingKHR", vkCmdEndRenderingKHR},
|
|
{"vkCmdEndTransformFeedbackEXT", vkCmdEndTransformFeedbackEXT},
|
|
{"vkCmdExecuteCommands", vkCmdExecuteCommands},
|
|
{"vkCmdExecuteGeneratedCommandsNV", vkCmdExecuteGeneratedCommandsNV},
|
|
{"vkCmdFillBuffer", vkCmdFillBuffer},
|
|
{"vkCmdInsertDebugUtilsLabelEXT", vkCmdInsertDebugUtilsLabelEXT},
|
|
{"vkCmdNextSubpass", vkCmdNextSubpass},
|
|
{"vkCmdNextSubpass2", vkCmdNextSubpass2},
|
|
{"vkCmdNextSubpass2KHR", vkCmdNextSubpass2KHR},
|
|
{"vkCmdPipelineBarrier", vkCmdPipelineBarrier},
|
|
{"vkCmdPipelineBarrier2KHR", vkCmdPipelineBarrier2KHR},
|
|
{"vkCmdPreprocessGeneratedCommandsNV", vkCmdPreprocessGeneratedCommandsNV},
|
|
{"vkCmdPushConstants", vkCmdPushConstants},
|
|
{"vkCmdPushDescriptorSetKHR", vkCmdPushDescriptorSetKHR},
|
|
{"vkCmdPushDescriptorSetWithTemplateKHR", vkCmdPushDescriptorSetWithTemplateKHR},
|
|
{"vkCmdResetEvent", vkCmdResetEvent},
|
|
{"vkCmdResetEvent2KHR", vkCmdResetEvent2KHR},
|
|
{"vkCmdResetQueryPool", vkCmdResetQueryPool},
|
|
{"vkCmdResolveImage", vkCmdResolveImage},
|
|
{"vkCmdResolveImage2KHR", vkCmdResolveImage2KHR},
|
|
{"vkCmdSetBlendConstants", vkCmdSetBlendConstants},
|
|
{"vkCmdSetCheckpointNV", vkCmdSetCheckpointNV},
|
|
{"vkCmdSetCoarseSampleOrderNV", vkCmdSetCoarseSampleOrderNV},
|
|
{"vkCmdSetColorWriteEnableEXT", vkCmdSetColorWriteEnableEXT},
|
|
{"vkCmdSetCullModeEXT", vkCmdSetCullModeEXT},
|
|
{"vkCmdSetDepthBias", vkCmdSetDepthBias},
|
|
{"vkCmdSetDepthBiasEnableEXT", vkCmdSetDepthBiasEnableEXT},
|
|
{"vkCmdSetDepthBounds", vkCmdSetDepthBounds},
|
|
{"vkCmdSetDepthBoundsTestEnableEXT", vkCmdSetDepthBoundsTestEnableEXT},
|
|
{"vkCmdSetDepthCompareOpEXT", vkCmdSetDepthCompareOpEXT},
|
|
{"vkCmdSetDepthTestEnableEXT", vkCmdSetDepthTestEnableEXT},
|
|
{"vkCmdSetDepthWriteEnableEXT", vkCmdSetDepthWriteEnableEXT},
|
|
{"vkCmdSetDeviceMask", vkCmdSetDeviceMask},
|
|
{"vkCmdSetDeviceMaskKHR", vkCmdSetDeviceMaskKHR},
|
|
{"vkCmdSetDiscardRectangleEXT", vkCmdSetDiscardRectangleEXT},
|
|
{"vkCmdSetEvent", vkCmdSetEvent},
|
|
{"vkCmdSetEvent2KHR", vkCmdSetEvent2KHR},
|
|
{"vkCmdSetExclusiveScissorNV", vkCmdSetExclusiveScissorNV},
|
|
{"vkCmdSetFragmentShadingRateEnumNV", vkCmdSetFragmentShadingRateEnumNV},
|
|
{"vkCmdSetFragmentShadingRateKHR", vkCmdSetFragmentShadingRateKHR},
|
|
{"vkCmdSetFrontFaceEXT", vkCmdSetFrontFaceEXT},
|
|
{"vkCmdSetLineStippleEXT", vkCmdSetLineStippleEXT},
|
|
{"vkCmdSetLineWidth", vkCmdSetLineWidth},
|
|
{"vkCmdSetLogicOpEXT", vkCmdSetLogicOpEXT},
|
|
{"vkCmdSetPatchControlPointsEXT", vkCmdSetPatchControlPointsEXT},
|
|
{"vkCmdSetPerformanceMarkerINTEL", vkCmdSetPerformanceMarkerINTEL},
|
|
{"vkCmdSetPerformanceOverrideINTEL", vkCmdSetPerformanceOverrideINTEL},
|
|
{"vkCmdSetPerformanceStreamMarkerINTEL", vkCmdSetPerformanceStreamMarkerINTEL},
|
|
{"vkCmdSetPrimitiveRestartEnableEXT", vkCmdSetPrimitiveRestartEnableEXT},
|
|
{"vkCmdSetPrimitiveTopologyEXT", vkCmdSetPrimitiveTopologyEXT},
|
|
{"vkCmdSetRasterizerDiscardEnableEXT", vkCmdSetRasterizerDiscardEnableEXT},
|
|
{"vkCmdSetRayTracingPipelineStackSizeKHR", vkCmdSetRayTracingPipelineStackSizeKHR},
|
|
{"vkCmdSetSampleLocationsEXT", vkCmdSetSampleLocationsEXT},
|
|
{"vkCmdSetScissor", vkCmdSetScissor},
|
|
{"vkCmdSetScissorWithCountEXT", vkCmdSetScissorWithCountEXT},
|
|
{"vkCmdSetStencilCompareMask", vkCmdSetStencilCompareMask},
|
|
{"vkCmdSetStencilOpEXT", vkCmdSetStencilOpEXT},
|
|
{"vkCmdSetStencilReference", vkCmdSetStencilReference},
|
|
{"vkCmdSetStencilTestEnableEXT", vkCmdSetStencilTestEnableEXT},
|
|
{"vkCmdSetStencilWriteMask", vkCmdSetStencilWriteMask},
|
|
{"vkCmdSetVertexInputEXT", vkCmdSetVertexInputEXT},
|
|
{"vkCmdSetViewport", vkCmdSetViewport},
|
|
{"vkCmdSetViewportShadingRatePaletteNV", vkCmdSetViewportShadingRatePaletteNV},
|
|
{"vkCmdSetViewportWScalingNV", vkCmdSetViewportWScalingNV},
|
|
{"vkCmdSetViewportWithCountEXT", vkCmdSetViewportWithCountEXT},
|
|
{"vkCmdSubpassShadingHUAWEI", vkCmdSubpassShadingHUAWEI},
|
|
{"vkCmdTraceRaysIndirectKHR", vkCmdTraceRaysIndirectKHR},
|
|
{"vkCmdTraceRaysKHR", vkCmdTraceRaysKHR},
|
|
{"vkCmdTraceRaysNV", vkCmdTraceRaysNV},
|
|
{"vkCmdUpdateBuffer", vkCmdUpdateBuffer},
|
|
{"vkCmdWaitEvents", vkCmdWaitEvents},
|
|
{"vkCmdWaitEvents2KHR", vkCmdWaitEvents2KHR},
|
|
{"vkCmdWriteAccelerationStructuresPropertiesKHR", vkCmdWriteAccelerationStructuresPropertiesKHR},
|
|
{"vkCmdWriteAccelerationStructuresPropertiesNV", vkCmdWriteAccelerationStructuresPropertiesNV},
|
|
{"vkCmdWriteBufferMarker2AMD", vkCmdWriteBufferMarker2AMD},
|
|
{"vkCmdWriteBufferMarkerAMD", vkCmdWriteBufferMarkerAMD},
|
|
{"vkCmdWriteTimestamp", vkCmdWriteTimestamp},
|
|
{"vkCmdWriteTimestamp2KHR", vkCmdWriteTimestamp2KHR},
|
|
{"vkCompileDeferredNV", vkCompileDeferredNV},
|
|
{"vkCopyAccelerationStructureKHR", vkCopyAccelerationStructureKHR},
|
|
{"vkCopyAccelerationStructureToMemoryKHR", vkCopyAccelerationStructureToMemoryKHR},
|
|
{"vkCopyMemoryToAccelerationStructureKHR", vkCopyMemoryToAccelerationStructureKHR},
|
|
{"vkCreateAccelerationStructureKHR", vkCreateAccelerationStructureKHR},
|
|
{"vkCreateAccelerationStructureNV", vkCreateAccelerationStructureNV},
|
|
{"vkCreateBuffer", vkCreateBuffer},
|
|
{"vkCreateBufferView", vkCreateBufferView},
|
|
{"vkCreateCommandPool", vkCreateCommandPool},
|
|
{"vkCreateComputePipelines", vkCreateComputePipelines},
|
|
{"vkCreateCuFunctionNVX", vkCreateCuFunctionNVX},
|
|
{"vkCreateCuModuleNVX", vkCreateCuModuleNVX},
|
|
{"vkCreateDeferredOperationKHR", vkCreateDeferredOperationKHR},
|
|
{"vkCreateDescriptorPool", vkCreateDescriptorPool},
|
|
{"vkCreateDescriptorSetLayout", vkCreateDescriptorSetLayout},
|
|
{"vkCreateDescriptorUpdateTemplate", vkCreateDescriptorUpdateTemplate},
|
|
{"vkCreateDescriptorUpdateTemplateKHR", vkCreateDescriptorUpdateTemplateKHR},
|
|
{"vkCreateEvent", vkCreateEvent},
|
|
{"vkCreateFence", vkCreateFence},
|
|
{"vkCreateFramebuffer", vkCreateFramebuffer},
|
|
{"vkCreateGraphicsPipelines", vkCreateGraphicsPipelines},
|
|
{"vkCreateImage", vkCreateImage},
|
|
{"vkCreateImageView", vkCreateImageView},
|
|
{"vkCreateIndirectCommandsLayoutNV", vkCreateIndirectCommandsLayoutNV},
|
|
{"vkCreatePipelineCache", vkCreatePipelineCache},
|
|
{"vkCreatePipelineLayout", vkCreatePipelineLayout},
|
|
{"vkCreatePrivateDataSlotEXT", vkCreatePrivateDataSlotEXT},
|
|
{"vkCreateQueryPool", vkCreateQueryPool},
|
|
{"vkCreateRayTracingPipelinesKHR", vkCreateRayTracingPipelinesKHR},
|
|
{"vkCreateRayTracingPipelinesNV", vkCreateRayTracingPipelinesNV},
|
|
{"vkCreateRenderPass", vkCreateRenderPass},
|
|
{"vkCreateRenderPass2", vkCreateRenderPass2},
|
|
{"vkCreateRenderPass2KHR", vkCreateRenderPass2KHR},
|
|
{"vkCreateSampler", vkCreateSampler},
|
|
{"vkCreateSamplerYcbcrConversion", vkCreateSamplerYcbcrConversion},
|
|
{"vkCreateSamplerYcbcrConversionKHR", vkCreateSamplerYcbcrConversionKHR},
|
|
{"vkCreateSemaphore", vkCreateSemaphore},
|
|
{"vkCreateShaderModule", vkCreateShaderModule},
|
|
{"vkCreateSwapchainKHR", vkCreateSwapchainKHR},
|
|
{"vkCreateValidationCacheEXT", vkCreateValidationCacheEXT},
|
|
{"vkDebugMarkerSetObjectNameEXT", vkDebugMarkerSetObjectNameEXT},
|
|
{"vkDebugMarkerSetObjectTagEXT", vkDebugMarkerSetObjectTagEXT},
|
|
{"vkDeferredOperationJoinKHR", vkDeferredOperationJoinKHR},
|
|
{"vkDestroyAccelerationStructureKHR", vkDestroyAccelerationStructureKHR},
|
|
{"vkDestroyAccelerationStructureNV", vkDestroyAccelerationStructureNV},
|
|
{"vkDestroyBuffer", vkDestroyBuffer},
|
|
{"vkDestroyBufferView", vkDestroyBufferView},
|
|
{"vkDestroyCommandPool", vkDestroyCommandPool},
|
|
{"vkDestroyCuFunctionNVX", vkDestroyCuFunctionNVX},
|
|
{"vkDestroyCuModuleNVX", vkDestroyCuModuleNVX},
|
|
{"vkDestroyDeferredOperationKHR", vkDestroyDeferredOperationKHR},
|
|
{"vkDestroyDescriptorPool", vkDestroyDescriptorPool},
|
|
{"vkDestroyDescriptorSetLayout", vkDestroyDescriptorSetLayout},
|
|
{"vkDestroyDescriptorUpdateTemplate", vkDestroyDescriptorUpdateTemplate},
|
|
{"vkDestroyDescriptorUpdateTemplateKHR", vkDestroyDescriptorUpdateTemplateKHR},
|
|
{"vkDestroyDevice", vkDestroyDevice},
|
|
{"vkDestroyEvent", vkDestroyEvent},
|
|
{"vkDestroyFence", vkDestroyFence},
|
|
{"vkDestroyFramebuffer", vkDestroyFramebuffer},
|
|
{"vkDestroyImage", vkDestroyImage},
|
|
{"vkDestroyImageView", vkDestroyImageView},
|
|
{"vkDestroyIndirectCommandsLayoutNV", vkDestroyIndirectCommandsLayoutNV},
|
|
{"vkDestroyPipeline", vkDestroyPipeline},
|
|
{"vkDestroyPipelineCache", vkDestroyPipelineCache},
|
|
{"vkDestroyPipelineLayout", vkDestroyPipelineLayout},
|
|
{"vkDestroyPrivateDataSlotEXT", vkDestroyPrivateDataSlotEXT},
|
|
{"vkDestroyQueryPool", vkDestroyQueryPool},
|
|
{"vkDestroyRenderPass", vkDestroyRenderPass},
|
|
{"vkDestroySampler", vkDestroySampler},
|
|
{"vkDestroySamplerYcbcrConversion", vkDestroySamplerYcbcrConversion},
|
|
{"vkDestroySamplerYcbcrConversionKHR", vkDestroySamplerYcbcrConversionKHR},
|
|
{"vkDestroySemaphore", vkDestroySemaphore},
|
|
{"vkDestroyShaderModule", vkDestroyShaderModule},
|
|
{"vkDestroySwapchainKHR", vkDestroySwapchainKHR},
|
|
{"vkDestroyValidationCacheEXT", vkDestroyValidationCacheEXT},
|
|
{"vkDeviceWaitIdle", vkDeviceWaitIdle},
|
|
{"vkEndCommandBuffer", vkEndCommandBuffer},
|
|
{"vkFlushMappedMemoryRanges", vkFlushMappedMemoryRanges},
|
|
{"vkFreeCommandBuffers", vkFreeCommandBuffers},
|
|
{"vkFreeDescriptorSets", vkFreeDescriptorSets},
|
|
{"vkFreeMemory", vkFreeMemory},
|
|
{"vkGetAccelerationStructureBuildSizesKHR", vkGetAccelerationStructureBuildSizesKHR},
|
|
{"vkGetAccelerationStructureDeviceAddressKHR", vkGetAccelerationStructureDeviceAddressKHR},
|
|
{"vkGetAccelerationStructureHandleNV", vkGetAccelerationStructureHandleNV},
|
|
{"vkGetAccelerationStructureMemoryRequirementsNV", vkGetAccelerationStructureMemoryRequirementsNV},
|
|
{"vkGetBufferDeviceAddress", vkGetBufferDeviceAddress},
|
|
{"vkGetBufferDeviceAddressEXT", vkGetBufferDeviceAddressEXT},
|
|
{"vkGetBufferDeviceAddressKHR", vkGetBufferDeviceAddressKHR},
|
|
{"vkGetBufferMemoryRequirements", vkGetBufferMemoryRequirements},
|
|
{"vkGetBufferMemoryRequirements2", vkGetBufferMemoryRequirements2},
|
|
{"vkGetBufferMemoryRequirements2KHR", vkGetBufferMemoryRequirements2KHR},
|
|
{"vkGetBufferOpaqueCaptureAddress", vkGetBufferOpaqueCaptureAddress},
|
|
{"vkGetBufferOpaqueCaptureAddressKHR", vkGetBufferOpaqueCaptureAddressKHR},
|
|
{"vkGetCalibratedTimestampsEXT", vkGetCalibratedTimestampsEXT},
|
|
{"vkGetDeferredOperationMaxConcurrencyKHR", vkGetDeferredOperationMaxConcurrencyKHR},
|
|
{"vkGetDeferredOperationResultKHR", vkGetDeferredOperationResultKHR},
|
|
{"vkGetDescriptorSetLayoutSupport", vkGetDescriptorSetLayoutSupport},
|
|
{"vkGetDescriptorSetLayoutSupportKHR", vkGetDescriptorSetLayoutSupportKHR},
|
|
{"vkGetDeviceAccelerationStructureCompatibilityKHR", vkGetDeviceAccelerationStructureCompatibilityKHR},
|
|
{"vkGetDeviceBufferMemoryRequirementsKHR", vkGetDeviceBufferMemoryRequirementsKHR},
|
|
{"vkGetDeviceGroupPeerMemoryFeatures", vkGetDeviceGroupPeerMemoryFeatures},
|
|
{"vkGetDeviceGroupPeerMemoryFeaturesKHR", vkGetDeviceGroupPeerMemoryFeaturesKHR},
|
|
{"vkGetDeviceGroupPresentCapabilitiesKHR", vkGetDeviceGroupPresentCapabilitiesKHR},
|
|
{"vkGetDeviceGroupSurfacePresentModesKHR", vkGetDeviceGroupSurfacePresentModesKHR},
|
|
{"vkGetDeviceImageMemoryRequirementsKHR", vkGetDeviceImageMemoryRequirementsKHR},
|
|
{"vkGetDeviceImageSparseMemoryRequirementsKHR", vkGetDeviceImageSparseMemoryRequirementsKHR},
|
|
{"vkGetDeviceMemoryCommitment", vkGetDeviceMemoryCommitment},
|
|
{"vkGetDeviceMemoryOpaqueCaptureAddress", vkGetDeviceMemoryOpaqueCaptureAddress},
|
|
{"vkGetDeviceMemoryOpaqueCaptureAddressKHR", vkGetDeviceMemoryOpaqueCaptureAddressKHR},
|
|
{"vkGetDeviceProcAddr", vkGetDeviceProcAddr},
|
|
{"vkGetDeviceQueue", vkGetDeviceQueue},
|
|
{"vkGetDeviceQueue2", vkGetDeviceQueue2},
|
|
{"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI},
|
|
{"vkGetEventStatus", vkGetEventStatus},
|
|
{"vkGetFenceStatus", vkGetFenceStatus},
|
|
{"vkGetGeneratedCommandsMemoryRequirementsNV", vkGetGeneratedCommandsMemoryRequirementsNV},
|
|
{"vkGetImageMemoryRequirements", vkGetImageMemoryRequirements},
|
|
{"vkGetImageMemoryRequirements2", vkGetImageMemoryRequirements2},
|
|
{"vkGetImageMemoryRequirements2KHR", vkGetImageMemoryRequirements2KHR},
|
|
{"vkGetImageSparseMemoryRequirements", vkGetImageSparseMemoryRequirements},
|
|
{"vkGetImageSparseMemoryRequirements2", vkGetImageSparseMemoryRequirements2},
|
|
{"vkGetImageSparseMemoryRequirements2KHR", vkGetImageSparseMemoryRequirements2KHR},
|
|
{"vkGetImageSubresourceLayout", vkGetImageSubresourceLayout},
|
|
{"vkGetImageViewAddressNVX", vkGetImageViewAddressNVX},
|
|
{"vkGetImageViewHandleNVX", vkGetImageViewHandleNVX},
|
|
{"vkGetMemoryHostPointerPropertiesEXT", vkGetMemoryHostPointerPropertiesEXT},
|
|
{"vkGetPerformanceParameterINTEL", vkGetPerformanceParameterINTEL},
|
|
{"vkGetPipelineCacheData", vkGetPipelineCacheData},
|
|
{"vkGetPipelineExecutableInternalRepresentationsKHR", vkGetPipelineExecutableInternalRepresentationsKHR},
|
|
{"vkGetPipelineExecutablePropertiesKHR", vkGetPipelineExecutablePropertiesKHR},
|
|
{"vkGetPipelineExecutableStatisticsKHR", vkGetPipelineExecutableStatisticsKHR},
|
|
{"vkGetPrivateDataEXT", vkGetPrivateDataEXT},
|
|
{"vkGetQueryPoolResults", vkGetQueryPoolResults},
|
|
{"vkGetQueueCheckpointData2NV", vkGetQueueCheckpointData2NV},
|
|
{"vkGetQueueCheckpointDataNV", vkGetQueueCheckpointDataNV},
|
|
{"vkGetRayTracingCaptureReplayShaderGroupHandlesKHR", vkGetRayTracingCaptureReplayShaderGroupHandlesKHR},
|
|
{"vkGetRayTracingShaderGroupHandlesKHR", vkGetRayTracingShaderGroupHandlesKHR},
|
|
{"vkGetRayTracingShaderGroupHandlesNV", vkGetRayTracingShaderGroupHandlesNV},
|
|
{"vkGetRayTracingShaderGroupStackSizeKHR", vkGetRayTracingShaderGroupStackSizeKHR},
|
|
{"vkGetRenderAreaGranularity", vkGetRenderAreaGranularity},
|
|
{"vkGetSemaphoreCounterValue", vkGetSemaphoreCounterValue},
|
|
{"vkGetSemaphoreCounterValueKHR", vkGetSemaphoreCounterValueKHR},
|
|
{"vkGetShaderInfoAMD", vkGetShaderInfoAMD},
|
|
{"vkGetSwapchainImagesKHR", vkGetSwapchainImagesKHR},
|
|
{"vkGetValidationCacheDataEXT", vkGetValidationCacheDataEXT},
|
|
{"vkInitializePerformanceApiINTEL", vkInitializePerformanceApiINTEL},
|
|
{"vkInvalidateMappedMemoryRanges", vkInvalidateMappedMemoryRanges},
|
|
{"vkMapMemory", vkMapMemory},
|
|
{"vkMergePipelineCaches", vkMergePipelineCaches},
|
|
{"vkMergeValidationCachesEXT", vkMergeValidationCachesEXT},
|
|
{"vkQueueBeginDebugUtilsLabelEXT", vkQueueBeginDebugUtilsLabelEXT},
|
|
{"vkQueueBindSparse", vkQueueBindSparse},
|
|
{"vkQueueEndDebugUtilsLabelEXT", vkQueueEndDebugUtilsLabelEXT},
|
|
{"vkQueueInsertDebugUtilsLabelEXT", vkQueueInsertDebugUtilsLabelEXT},
|
|
{"vkQueuePresentKHR", vkQueuePresentKHR},
|
|
{"vkQueueSetPerformanceConfigurationINTEL", vkQueueSetPerformanceConfigurationINTEL},
|
|
{"vkQueueSubmit", vkQueueSubmit},
|
|
{"vkQueueSubmit2KHR", vkQueueSubmit2KHR},
|
|
{"vkQueueWaitIdle", vkQueueWaitIdle},
|
|
{"vkReleasePerformanceConfigurationINTEL", vkReleasePerformanceConfigurationINTEL},
|
|
{"vkReleaseProfilingLockKHR", vkReleaseProfilingLockKHR},
|
|
{"vkResetCommandBuffer", vkResetCommandBuffer},
|
|
{"vkResetCommandPool", vkResetCommandPool},
|
|
{"vkResetDescriptorPool", vkResetDescriptorPool},
|
|
{"vkResetEvent", vkResetEvent},
|
|
{"vkResetFences", vkResetFences},
|
|
{"vkResetQueryPool", vkResetQueryPool},
|
|
{"vkResetQueryPoolEXT", vkResetQueryPoolEXT},
|
|
{"vkSetDebugUtilsObjectNameEXT", vkSetDebugUtilsObjectNameEXT},
|
|
{"vkSetDebugUtilsObjectTagEXT", vkSetDebugUtilsObjectTagEXT},
|
|
{"vkSetDeviceMemoryPriorityEXT", vkSetDeviceMemoryPriorityEXT},
|
|
{"vkSetEvent", vkSetEvent},
|
|
{"vkSetPrivateDataEXT", vkSetPrivateDataEXT},
|
|
{"vkSignalSemaphore", vkSignalSemaphore},
|
|
{"vkSignalSemaphoreKHR", vkSignalSemaphoreKHR},
|
|
{"vkTrimCommandPool", vkTrimCommandPool},
|
|
{"vkTrimCommandPoolKHR", vkTrimCommandPoolKHR},
|
|
{"vkUninitializePerformanceApiINTEL", vkUninitializePerformanceApiINTEL},
|
|
{"vkUnmapMemory", vkUnmapMemory},
|
|
{"vkUpdateDescriptorSetWithTemplate", vkUpdateDescriptorSetWithTemplate},
|
|
{"vkUpdateDescriptorSetWithTemplateKHR", vkUpdateDescriptorSetWithTemplateKHR},
|
|
{"vkUpdateDescriptorSets", vkUpdateDescriptorSets},
|
|
{"vkWaitForFences", vkWaitForFences},
|
|
{"vkWaitForPresentKHR", vkWaitForPresentKHR},
|
|
{"vkWaitSemaphores", vkWaitSemaphores},
|
|
{"vkWaitSemaphoresKHR", vkWaitSemaphoresKHR},
|
|
{"vkWriteAccelerationStructuresPropertiesKHR", vkWriteAccelerationStructuresPropertiesKHR},
|
|
};
|
|
|
|
static const struct vulkan_func vk_phys_dev_dispatch_table[] =
|
|
{
|
|
{"vkCreateDevice", vkCreateDevice},
|
|
{"vkEnumerateDeviceExtensionProperties", vkEnumerateDeviceExtensionProperties},
|
|
{"vkEnumerateDeviceLayerProperties", vkEnumerateDeviceLayerProperties},
|
|
{"vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR},
|
|
{"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", vkGetPhysicalDeviceCalibrateableTimeDomainsEXT},
|
|
{"vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", vkGetPhysicalDeviceCooperativeMatrixPropertiesNV},
|
|
{"vkGetPhysicalDeviceExternalBufferProperties", vkGetPhysicalDeviceExternalBufferProperties},
|
|
{"vkGetPhysicalDeviceExternalBufferPropertiesKHR", vkGetPhysicalDeviceExternalBufferPropertiesKHR},
|
|
{"vkGetPhysicalDeviceExternalFenceProperties", vkGetPhysicalDeviceExternalFenceProperties},
|
|
{"vkGetPhysicalDeviceExternalFencePropertiesKHR", vkGetPhysicalDeviceExternalFencePropertiesKHR},
|
|
{"vkGetPhysicalDeviceExternalSemaphoreProperties", vkGetPhysicalDeviceExternalSemaphoreProperties},
|
|
{"vkGetPhysicalDeviceExternalSemaphorePropertiesKHR", vkGetPhysicalDeviceExternalSemaphorePropertiesKHR},
|
|
{"vkGetPhysicalDeviceFeatures", vkGetPhysicalDeviceFeatures},
|
|
{"vkGetPhysicalDeviceFeatures2", vkGetPhysicalDeviceFeatures2},
|
|
{"vkGetPhysicalDeviceFeatures2KHR", vkGetPhysicalDeviceFeatures2KHR},
|
|
{"vkGetPhysicalDeviceFormatProperties", vkGetPhysicalDeviceFormatProperties},
|
|
{"vkGetPhysicalDeviceFormatProperties2", vkGetPhysicalDeviceFormatProperties2},
|
|
{"vkGetPhysicalDeviceFormatProperties2KHR", vkGetPhysicalDeviceFormatProperties2KHR},
|
|
{"vkGetPhysicalDeviceFragmentShadingRatesKHR", vkGetPhysicalDeviceFragmentShadingRatesKHR},
|
|
{"vkGetPhysicalDeviceImageFormatProperties", vkGetPhysicalDeviceImageFormatProperties},
|
|
{"vkGetPhysicalDeviceImageFormatProperties2", vkGetPhysicalDeviceImageFormatProperties2},
|
|
{"vkGetPhysicalDeviceImageFormatProperties2KHR", vkGetPhysicalDeviceImageFormatProperties2KHR},
|
|
{"vkGetPhysicalDeviceMemoryProperties", vkGetPhysicalDeviceMemoryProperties},
|
|
{"vkGetPhysicalDeviceMemoryProperties2", vkGetPhysicalDeviceMemoryProperties2},
|
|
{"vkGetPhysicalDeviceMemoryProperties2KHR", vkGetPhysicalDeviceMemoryProperties2KHR},
|
|
{"vkGetPhysicalDeviceMultisamplePropertiesEXT", vkGetPhysicalDeviceMultisamplePropertiesEXT},
|
|
{"vkGetPhysicalDevicePresentRectanglesKHR", vkGetPhysicalDevicePresentRectanglesKHR},
|
|
{"vkGetPhysicalDeviceProperties", vkGetPhysicalDeviceProperties},
|
|
{"vkGetPhysicalDeviceProperties2", vkGetPhysicalDeviceProperties2},
|
|
{"vkGetPhysicalDeviceProperties2KHR", vkGetPhysicalDeviceProperties2KHR},
|
|
{"vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR", vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR},
|
|
{"vkGetPhysicalDeviceQueueFamilyProperties", vkGetPhysicalDeviceQueueFamilyProperties},
|
|
{"vkGetPhysicalDeviceQueueFamilyProperties2", vkGetPhysicalDeviceQueueFamilyProperties2},
|
|
{"vkGetPhysicalDeviceQueueFamilyProperties2KHR", vkGetPhysicalDeviceQueueFamilyProperties2KHR},
|
|
{"vkGetPhysicalDeviceSparseImageFormatProperties", vkGetPhysicalDeviceSparseImageFormatProperties},
|
|
{"vkGetPhysicalDeviceSparseImageFormatProperties2", vkGetPhysicalDeviceSparseImageFormatProperties2},
|
|
{"vkGetPhysicalDeviceSparseImageFormatProperties2KHR", vkGetPhysicalDeviceSparseImageFormatProperties2KHR},
|
|
{"vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV", vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV},
|
|
{"vkGetPhysicalDeviceSurfaceCapabilities2KHR", vkGetPhysicalDeviceSurfaceCapabilities2KHR},
|
|
{"vkGetPhysicalDeviceSurfaceCapabilitiesKHR", vkGetPhysicalDeviceSurfaceCapabilitiesKHR},
|
|
{"vkGetPhysicalDeviceSurfaceFormats2KHR", vkGetPhysicalDeviceSurfaceFormats2KHR},
|
|
{"vkGetPhysicalDeviceSurfaceFormatsKHR", vkGetPhysicalDeviceSurfaceFormatsKHR},
|
|
{"vkGetPhysicalDeviceSurfacePresentModesKHR", vkGetPhysicalDeviceSurfacePresentModesKHR},
|
|
{"vkGetPhysicalDeviceSurfaceSupportKHR", vkGetPhysicalDeviceSurfaceSupportKHR},
|
|
{"vkGetPhysicalDeviceToolPropertiesEXT", vkGetPhysicalDeviceToolPropertiesEXT},
|
|
{"vkGetPhysicalDeviceWin32PresentationSupportKHR", vkGetPhysicalDeviceWin32PresentationSupportKHR},
|
|
};
|
|
|
|
static const struct vulkan_func vk_instance_dispatch_table[] =
|
|
{
|
|
{"vkCreateDebugReportCallbackEXT", vkCreateDebugReportCallbackEXT},
|
|
{"vkCreateDebugUtilsMessengerEXT", vkCreateDebugUtilsMessengerEXT},
|
|
{"vkCreateWin32SurfaceKHR", vkCreateWin32SurfaceKHR},
|
|
{"vkDebugReportMessageEXT", vkDebugReportMessageEXT},
|
|
{"vkDestroyDebugReportCallbackEXT", vkDestroyDebugReportCallbackEXT},
|
|
{"vkDestroyDebugUtilsMessengerEXT", vkDestroyDebugUtilsMessengerEXT},
|
|
{"vkDestroyInstance", vkDestroyInstance},
|
|
{"vkDestroySurfaceKHR", vkDestroySurfaceKHR},
|
|
{"vkEnumeratePhysicalDeviceGroups", vkEnumeratePhysicalDeviceGroups},
|
|
{"vkEnumeratePhysicalDeviceGroupsKHR", vkEnumeratePhysicalDeviceGroupsKHR},
|
|
{"vkEnumeratePhysicalDevices", vkEnumeratePhysicalDevices},
|
|
{"vkSubmitDebugUtilsMessageEXT", vkSubmitDebugUtilsMessageEXT},
|
|
};
|
|
|
|
void *wine_vk_get_device_proc_addr(const char *name)
|
|
{
|
|
unsigned int i;
|
|
for (i = 0; i < ARRAY_SIZE(vk_device_dispatch_table); i++)
|
|
{
|
|
if (strcmp(vk_device_dispatch_table[i].name, name) == 0)
|
|
{
|
|
TRACE("Found name=%s in device table\n", debugstr_a(name));
|
|
return vk_device_dispatch_table[i].func;
|
|
}
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
void *wine_vk_get_phys_dev_proc_addr(const char *name)
|
|
{
|
|
unsigned int i;
|
|
for (i = 0; i < ARRAY_SIZE(vk_phys_dev_dispatch_table); i++)
|
|
{
|
|
if (strcmp(vk_phys_dev_dispatch_table[i].name, name) == 0)
|
|
{
|
|
TRACE("Found name=%s in physical device table\n", debugstr_a(name));
|
|
return vk_phys_dev_dispatch_table[i].func;
|
|
}
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
void *wine_vk_get_instance_proc_addr(const char *name)
|
|
{
|
|
unsigned int i;
|
|
for (i = 0; i < ARRAY_SIZE(vk_instance_dispatch_table); i++)
|
|
{
|
|
if (strcmp(vk_instance_dispatch_table[i].name, name) == 0)
|
|
{
|
|
TRACE("Found name=%s in instance table\n", debugstr_a(name));
|
|
return vk_instance_dispatch_table[i].func;
|
|
}
|
|
}
|
|
return NULL;
|
|
}
|