mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
6779 lines
286 KiB
C
6779 lines
286 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-2024 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;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pAcquireInfo = pAcquireInfo;
|
|
params.pImageIndex = pImageIndex;
|
|
status = UNIX_CALL(vkAcquireNextImage2KHR, ¶ms);
|
|
assert(!status && "vkAcquireNextImage2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t *pImageIndex)
|
|
{
|
|
struct vkAcquireNextImageKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.timeout = timeout;
|
|
params.semaphore = semaphore;
|
|
params.fence = fence;
|
|
params.pImageIndex = pImageIndex;
|
|
status = UNIX_CALL(vkAcquireNextImageKHR, ¶ms);
|
|
assert(!status && "vkAcquireNextImageKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkAcquirePerformanceConfigurationINTEL(VkDevice device, const VkPerformanceConfigurationAcquireInfoINTEL *pAcquireInfo, VkPerformanceConfigurationINTEL *pConfiguration)
|
|
{
|
|
struct vkAcquirePerformanceConfigurationINTEL_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pAcquireInfo = pAcquireInfo;
|
|
params.pConfiguration = pConfiguration;
|
|
status = UNIX_CALL(vkAcquirePerformanceConfigurationINTEL, ¶ms);
|
|
assert(!status && "vkAcquirePerformanceConfigurationINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkAcquireProfilingLockKHR(VkDevice device, const VkAcquireProfilingLockInfoKHR *pInfo)
|
|
{
|
|
struct vkAcquireProfilingLockKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkAcquireProfilingLockKHR, ¶ms);
|
|
assert(!status && "vkAcquireProfilingLockKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets)
|
|
{
|
|
struct vkAllocateDescriptorSets_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pAllocateInfo = pAllocateInfo;
|
|
params.pDescriptorSets = pDescriptorSets;
|
|
status = UNIX_CALL(vkAllocateDescriptorSets, ¶ms);
|
|
assert(!status && "vkAllocateDescriptorSets");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMemory)
|
|
{
|
|
struct vkAllocateMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pAllocateInfo = pAllocateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pMemory = pMemory;
|
|
status = UNIX_CALL(vkAllocateMemory, ¶ms);
|
|
assert(!status && "vkAllocateMemory");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBeginCommandBuffer(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo *pBeginInfo)
|
|
{
|
|
struct vkBeginCommandBuffer_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBeginInfo = pBeginInfo;
|
|
status = UNIX_CALL(vkBeginCommandBuffer, ¶ms);
|
|
assert(!status && "vkBeginCommandBuffer");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindAccelerationStructureMemoryNV(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoNV *pBindInfos)
|
|
{
|
|
struct vkBindAccelerationStructureMemoryNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
status = UNIX_CALL(vkBindAccelerationStructureMemoryNV, ¶ms);
|
|
assert(!status && "vkBindAccelerationStructureMemoryNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset)
|
|
{
|
|
struct vkBindBufferMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.memory = memory;
|
|
params.memoryOffset = memoryOffset;
|
|
status = UNIX_CALL(vkBindBufferMemory, ¶ms);
|
|
assert(!status && "vkBindBufferMemory");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindBufferMemory2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
status = UNIX_CALL(vkBindBufferMemory2, ¶ms);
|
|
assert(!status && "vkBindBufferMemory2");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindBufferMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindBufferMemory2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
status = UNIX_CALL(vkBindBufferMemory2KHR, ¶ms);
|
|
assert(!status && "vkBindBufferMemory2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset)
|
|
{
|
|
struct vkBindImageMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.memory = memory;
|
|
params.memoryOffset = memoryOffset;
|
|
status = UNIX_CALL(vkBindImageMemory, ¶ms);
|
|
assert(!status && "vkBindImageMemory");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindImageMemory2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
status = UNIX_CALL(vkBindImageMemory2, ¶ms);
|
|
assert(!status && "vkBindImageMemory2");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindImageMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos)
|
|
{
|
|
struct vkBindImageMemory2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfos = pBindInfos;
|
|
status = UNIX_CALL(vkBindImageMemory2KHR, ¶ms);
|
|
assert(!status && "vkBindImageMemory2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBindOpticalFlowSessionImageNV(VkDevice device, VkOpticalFlowSessionNV session, VkOpticalFlowSessionBindingPointNV bindingPoint, VkImageView view, VkImageLayout layout)
|
|
{
|
|
struct vkBindOpticalFlowSessionImageNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.session = session;
|
|
params.bindingPoint = bindingPoint;
|
|
params.view = view;
|
|
params.layout = layout;
|
|
status = UNIX_CALL(vkBindOpticalFlowSessionImageNV, ¶ms);
|
|
assert(!status && "vkBindOpticalFlowSessionImageNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBuildAccelerationStructuresKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR *pInfos, const VkAccelerationStructureBuildRangeInfoKHR * const*ppBuildRangeInfos)
|
|
{
|
|
struct vkBuildAccelerationStructuresKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
params.ppBuildRangeInfos = ppBuildRangeInfos;
|
|
status = UNIX_CALL(vkBuildAccelerationStructuresKHR, ¶ms);
|
|
assert(!status && "vkBuildAccelerationStructuresKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkBuildMicromapsEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkMicromapBuildInfoEXT *pInfos)
|
|
{
|
|
struct vkBuildMicromapsEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
status = UNIX_CALL(vkBuildMicromapsEXT, ¶ms);
|
|
assert(!status && "vkBuildMicromapsEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkCmdBeginConditionalRenderingEXT(VkCommandBuffer commandBuffer, const VkConditionalRenderingBeginInfoEXT *pConditionalRenderingBegin)
|
|
{
|
|
struct vkCmdBeginConditionalRenderingEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pConditionalRenderingBegin = pConditionalRenderingBegin;
|
|
UNIX_CALL(vkCmdBeginConditionalRenderingEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkCmdBeginDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLabelInfo = pLabelInfo;
|
|
UNIX_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(vkCmdBeginRenderPass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRenderingInfo)
|
|
{
|
|
struct vkCmdBeginRendering_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderingInfo = pRenderingInfo;
|
|
UNIX_CALL(vkCmdBeginRendering, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBeginRenderingKHR(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRenderingInfo)
|
|
{
|
|
struct vkCmdBeginRenderingKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pRenderingInfo = pRenderingInfo;
|
|
UNIX_CALL(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_CALL(vkCmdBeginTransformFeedbackEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindDescriptorBufferEmbeddedSamplers2EXT(VkCommandBuffer commandBuffer, const VkBindDescriptorBufferEmbeddedSamplersInfoEXT *pBindDescriptorBufferEmbeddedSamplersInfo)
|
|
{
|
|
struct vkCmdBindDescriptorBufferEmbeddedSamplers2EXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBindDescriptorBufferEmbeddedSamplersInfo = pBindDescriptorBufferEmbeddedSamplersInfo;
|
|
UNIX_CALL(vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindDescriptorBufferEmbeddedSamplersEXT(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set)
|
|
{
|
|
struct vkCmdBindDescriptorBufferEmbeddedSamplersEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.layout = layout;
|
|
params.set = set;
|
|
UNIX_CALL(vkCmdBindDescriptorBufferEmbeddedSamplersEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindDescriptorBuffersEXT(VkCommandBuffer commandBuffer, uint32_t bufferCount, const VkDescriptorBufferBindingInfoEXT *pBindingInfos)
|
|
{
|
|
struct vkCmdBindDescriptorBuffersEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.bufferCount = bufferCount;
|
|
params.pBindingInfos = pBindingInfos;
|
|
UNIX_CALL(vkCmdBindDescriptorBuffersEXT, ¶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_CALL(vkCmdBindDescriptorSets, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindDescriptorSets2KHR(VkCommandBuffer commandBuffer, const VkBindDescriptorSetsInfoKHR *pBindDescriptorSetsInfo)
|
|
{
|
|
struct vkCmdBindDescriptorSets2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBindDescriptorSetsInfo = pBindDescriptorSetsInfo;
|
|
UNIX_CALL(vkCmdBindDescriptorSets2KHR, ¶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_CALL(vkCmdBindIndexBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindIndexBuffer2KHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkIndexType indexType)
|
|
{
|
|
struct vkCmdBindIndexBuffer2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.size = size;
|
|
params.indexType = indexType;
|
|
UNIX_CALL(vkCmdBindIndexBuffer2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindInvocationMaskHUAWEI(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout)
|
|
{
|
|
struct vkCmdBindInvocationMaskHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.imageView = imageView;
|
|
params.imageLayout = imageLayout;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdBindPipelineShaderGroupNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindShadersEXT(VkCommandBuffer commandBuffer, uint32_t stageCount, const VkShaderStageFlagBits *pStages, const VkShaderEXT *pShaders)
|
|
{
|
|
struct vkCmdBindShadersEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stageCount = stageCount;
|
|
params.pStages = pStages;
|
|
params.pShaders = pShaders;
|
|
UNIX_CALL(vkCmdBindShadersEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindShadingRateImageNV(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout)
|
|
{
|
|
struct vkCmdBindShadingRateImageNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.imageView = imageView;
|
|
params.imageLayout = imageLayout;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdBindVertexBuffers, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBindVertexBuffers2(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer *pBuffers, const VkDeviceSize *pOffsets, const VkDeviceSize *pSizes, const VkDeviceSize *pStrides)
|
|
{
|
|
struct vkCmdBindVertexBuffers2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstBinding = firstBinding;
|
|
params.bindingCount = bindingCount;
|
|
params.pBuffers = pBuffers;
|
|
params.pOffsets = pOffsets;
|
|
params.pSizes = pSizes;
|
|
params.pStrides = pStrides;
|
|
UNIX_CALL(vkCmdBindVertexBuffers2, ¶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_CALL(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_CALL(vkCmdBlitImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBlitImage2(VkCommandBuffer commandBuffer, const VkBlitImageInfo2 *pBlitImageInfo)
|
|
{
|
|
struct vkCmdBlitImage2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBlitImageInfo = pBlitImageInfo;
|
|
UNIX_CALL(vkCmdBlitImage2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBlitImage2KHR(VkCommandBuffer commandBuffer, const VkBlitImageInfo2 *pBlitImageInfo)
|
|
{
|
|
struct vkCmdBlitImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pBlitImageInfo = pBlitImageInfo;
|
|
UNIX_CALL(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_CALL(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_CALL(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_CALL(vkCmdBuildAccelerationStructuresKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdBuildMicromapsEXT(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkMicromapBuildInfoEXT *pInfos)
|
|
{
|
|
struct vkCmdBuildMicromapsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.infoCount = infoCount;
|
|
params.pInfos = pInfos;
|
|
UNIX_CALL(vkCmdBuildMicromapsEXT, ¶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_CALL(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_CALL(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_CALL(vkCmdClearDepthStencilImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyAccelerationStructureKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(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_CALL(vkCmdCopyAccelerationStructureNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyAccelerationStructureToMemoryKHR(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureToMemoryInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyAccelerationStructureToMemoryKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(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_CALL(vkCmdCopyBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBuffer2(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2 *pCopyBufferInfo)
|
|
{
|
|
struct vkCmdCopyBuffer2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferInfo = pCopyBufferInfo;
|
|
UNIX_CALL(vkCmdCopyBuffer2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferInfo2 *pCopyBufferInfo)
|
|
{
|
|
struct vkCmdCopyBuffer2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferInfo = pCopyBufferInfo;
|
|
UNIX_CALL(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_CALL(vkCmdCopyBufferToImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBufferToImage2(VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2 *pCopyBufferToImageInfo)
|
|
{
|
|
struct vkCmdCopyBufferToImage2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferToImageInfo = pCopyBufferToImageInfo;
|
|
UNIX_CALL(vkCmdCopyBufferToImage2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyBufferToImage2KHR(VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2 *pCopyBufferToImageInfo)
|
|
{
|
|
struct vkCmdCopyBufferToImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyBufferToImageInfo = pCopyBufferToImageInfo;
|
|
UNIX_CALL(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_CALL(vkCmdCopyImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImage2(VkCommandBuffer commandBuffer, const VkCopyImageInfo2 *pCopyImageInfo)
|
|
{
|
|
struct vkCmdCopyImage2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageInfo = pCopyImageInfo;
|
|
UNIX_CALL(vkCmdCopyImage2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImage2KHR(VkCommandBuffer commandBuffer, const VkCopyImageInfo2 *pCopyImageInfo)
|
|
{
|
|
struct vkCmdCopyImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageInfo = pCopyImageInfo;
|
|
UNIX_CALL(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_CALL(vkCmdCopyImageToBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImageToBuffer2(VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2 *pCopyImageToBufferInfo)
|
|
{
|
|
struct vkCmdCopyImageToBuffer2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageToBufferInfo = pCopyImageToBufferInfo;
|
|
UNIX_CALL(vkCmdCopyImageToBuffer2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyImageToBuffer2KHR(VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2 *pCopyImageToBufferInfo)
|
|
{
|
|
struct vkCmdCopyImageToBuffer2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCopyImageToBufferInfo = pCopyImageToBufferInfo;
|
|
UNIX_CALL(vkCmdCopyImageToBuffer2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMemoryIndirectNV(VkCommandBuffer commandBuffer, VkDeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride)
|
|
{
|
|
struct vkCmdCopyMemoryIndirectNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.copyBufferAddress = copyBufferAddress;
|
|
params.copyCount = copyCount;
|
|
params.stride = stride;
|
|
UNIX_CALL(vkCmdCopyMemoryIndirectNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMemoryToAccelerationStructureKHR(VkCommandBuffer commandBuffer, const VkCopyMemoryToAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCmdCopyMemoryToAccelerationStructureKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(vkCmdCopyMemoryToAccelerationStructureKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMemoryToImageIndirectNV(VkCommandBuffer commandBuffer, VkDeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, VkImage dstImage, VkImageLayout dstImageLayout, const VkImageSubresourceLayers *pImageSubresources)
|
|
{
|
|
struct vkCmdCopyMemoryToImageIndirectNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.copyBufferAddress = copyBufferAddress;
|
|
params.copyCount = copyCount;
|
|
params.stride = stride;
|
|
params.dstImage = dstImage;
|
|
params.dstImageLayout = dstImageLayout;
|
|
params.pImageSubresources = pImageSubresources;
|
|
UNIX_CALL(vkCmdCopyMemoryToImageIndirectNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMemoryToMicromapEXT(VkCommandBuffer commandBuffer, const VkCopyMemoryToMicromapInfoEXT *pInfo)
|
|
{
|
|
struct vkCmdCopyMemoryToMicromapEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(vkCmdCopyMemoryToMicromapEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMicromapEXT(VkCommandBuffer commandBuffer, const VkCopyMicromapInfoEXT *pInfo)
|
|
{
|
|
struct vkCmdCopyMicromapEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(vkCmdCopyMicromapEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCopyMicromapToMemoryEXT(VkCommandBuffer commandBuffer, const VkCopyMicromapToMemoryInfoEXT *pInfo)
|
|
{
|
|
struct vkCmdCopyMicromapToMemoryEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pInfo = pInfo;
|
|
UNIX_CALL(vkCmdCopyMicromapToMemoryEXT, ¶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_CALL(vkCmdCopyQueryPoolResults, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaunchInfoNVX *pLaunchInfo)
|
|
{
|
|
struct vkCmdCuLaunchKernelNVX_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLaunchInfo = pLaunchInfo;
|
|
UNIX_CALL(vkCmdCuLaunchKernelNVX, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdCudaLaunchKernelNV(VkCommandBuffer commandBuffer, const VkCudaLaunchInfoNV *pLaunchInfo)
|
|
{
|
|
struct vkCmdCudaLaunchKernelNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLaunchInfo = pLaunchInfo;
|
|
UNIX_CALL(vkCmdCudaLaunchKernelNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT *pMarkerInfo)
|
|
{
|
|
struct vkCmdDebugMarkerBeginEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
UNIX_CALL(vkCmdDebugMarkerBeginEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerEndEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdDebugMarkerEndEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(vkCmdDebugMarkerEndEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT *pMarkerInfo)
|
|
{
|
|
struct vkCmdDebugMarkerInsertEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
UNIX_CALL(vkCmdDebugMarkerInsertEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDecompressMemoryIndirectCountNV(VkCommandBuffer commandBuffer, VkDeviceAddress indirectCommandsAddress, VkDeviceAddress indirectCommandsCountAddress, uint32_t stride)
|
|
{
|
|
struct vkCmdDecompressMemoryIndirectCountNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.indirectCommandsAddress = indirectCommandsAddress;
|
|
params.indirectCommandsCountAddress = indirectCommandsCountAddress;
|
|
params.stride = stride;
|
|
UNIX_CALL(vkCmdDecompressMemoryIndirectCountNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDecompressMemoryNV(VkCommandBuffer commandBuffer, uint32_t decompressRegionCount, const VkDecompressMemoryRegionNV *pDecompressMemoryRegions)
|
|
{
|
|
struct vkCmdDecompressMemoryNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.decompressRegionCount = decompressRegionCount;
|
|
params.pDecompressMemoryRegions = pDecompressMemoryRegions;
|
|
UNIX_CALL(vkCmdDecompressMemoryNV, ¶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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(vkCmdDraw, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawClusterHUAWEI(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ)
|
|
{
|
|
struct vkCmdDrawClusterHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.groupCountX = groupCountX;
|
|
params.groupCountY = groupCountY;
|
|
params.groupCountZ = groupCountZ;
|
|
UNIX_CALL(vkCmdDrawClusterHUAWEI, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawClusterIndirectHUAWEI(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset)
|
|
{
|
|
struct vkCmdDrawClusterIndirectHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
UNIX_CALL(vkCmdDrawClusterIndirectHUAWEI, ¶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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(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_CALL(vkCmdDrawIndirectCountKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksEXT(VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ)
|
|
{
|
|
struct vkCmdDrawMeshTasksEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.groupCountX = groupCountX;
|
|
params.groupCountY = groupCountY;
|
|
params.groupCountZ = groupCountZ;
|
|
UNIX_CALL(vkCmdDrawMeshTasksEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksIndirectCountEXT(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawMeshTasksIndirectCountEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.countBuffer = countBuffer;
|
|
params.countBufferOffset = countBufferOffset;
|
|
params.maxDrawCount = maxDrawCount;
|
|
params.stride = stride;
|
|
UNIX_CALL(vkCmdDrawMeshTasksIndirectCountEXT, ¶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_CALL(vkCmdDrawMeshTasksIndirectCountNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdDrawMeshTasksIndirectEXT(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride)
|
|
{
|
|
struct vkCmdDrawMeshTasksIndirectEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.buffer = buffer;
|
|
params.offset = offset;
|
|
params.drawCount = drawCount;
|
|
params.stride = stride;
|
|
UNIX_CALL(vkCmdDrawMeshTasksIndirectEXT, ¶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_CALL(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_CALL(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_CALL(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_CALL(vkCmdDrawMultiIndexedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndConditionalRenderingEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndConditionalRenderingEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(vkCmdEndConditionalRenderingEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndDebugUtilsLabelEXT(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdEndQueryIndexedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndRenderPass_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(vkCmdEndRenderPass, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass2(VkCommandBuffer commandBuffer, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdEndRenderPass2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
UNIX_CALL(vkCmdEndRenderPass2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, const VkSubpassEndInfo *pSubpassEndInfo)
|
|
{
|
|
struct vkCmdEndRenderPass2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSubpassEndInfo = pSubpassEndInfo;
|
|
UNIX_CALL(vkCmdEndRenderPass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRendering(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndRendering_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(vkCmdEndRendering, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdEndRenderingKHR(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdEndRenderingKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(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_CALL(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_CALL(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_CALL(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_CALL(vkCmdFillBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdInsertDebugUtilsLabelEXT(VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkCmdInsertDebugUtilsLabelEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLabelInfo = pLabelInfo;
|
|
UNIX_CALL(vkCmdInsertDebugUtilsLabelEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents)
|
|
{
|
|
struct vkCmdNextSubpass_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.contents = contents;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdNextSubpass2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdOpticalFlowExecuteNV(VkCommandBuffer commandBuffer, VkOpticalFlowSessionNV session, const VkOpticalFlowExecuteInfoNV *pExecuteInfo)
|
|
{
|
|
struct vkCmdOpticalFlowExecuteNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.session = session;
|
|
params.pExecuteInfo = pExecuteInfo;
|
|
UNIX_CALL(vkCmdOpticalFlowExecuteNV, ¶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_CALL(vkCmdPipelineBarrier, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPipelineBarrier2(VkCommandBuffer commandBuffer, const VkDependencyInfo *pDependencyInfo)
|
|
{
|
|
struct vkCmdPipelineBarrier2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
UNIX_CALL(vkCmdPipelineBarrier2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPipelineBarrier2KHR(VkCommandBuffer commandBuffer, const VkDependencyInfo *pDependencyInfo)
|
|
{
|
|
struct vkCmdPipelineBarrier2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
UNIX_CALL(vkCmdPipelineBarrier2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPreprocessGeneratedCommandsNV(VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo)
|
|
{
|
|
struct vkCmdPreprocessGeneratedCommandsNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pGeneratedCommandsInfo = pGeneratedCommandsInfo;
|
|
UNIX_CALL(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_CALL(vkCmdPushConstants, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushConstants2KHR(VkCommandBuffer commandBuffer, const VkPushConstantsInfoKHR *pPushConstantsInfo)
|
|
{
|
|
struct vkCmdPushConstants2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pPushConstantsInfo = pPushConstantsInfo;
|
|
UNIX_CALL(vkCmdPushConstants2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushDescriptorSet2KHR(VkCommandBuffer commandBuffer, const VkPushDescriptorSetInfoKHR *pPushDescriptorSetInfo)
|
|
{
|
|
struct vkCmdPushDescriptorSet2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pPushDescriptorSetInfo = pPushDescriptorSetInfo;
|
|
UNIX_CALL(vkCmdPushDescriptorSet2KHR, ¶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_CALL(vkCmdPushDescriptorSetKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdPushDescriptorSetWithTemplate2KHR(VkCommandBuffer commandBuffer, const VkPushDescriptorSetWithTemplateInfoKHR *pPushDescriptorSetWithTemplateInfo)
|
|
{
|
|
struct vkCmdPushDescriptorSetWithTemplate2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pPushDescriptorSetWithTemplateInfo = pPushDescriptorSetWithTemplateInfo;
|
|
UNIX_CALL(vkCmdPushDescriptorSetWithTemplate2KHR, ¶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_CALL(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_CALL(vkCmdResetEvent, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResetEvent2(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask)
|
|
{
|
|
struct vkCmdResetEvent2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
UNIX_CALL(vkCmdResetEvent2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask)
|
|
{
|
|
struct vkCmdResetEvent2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdResolveImage, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResolveImage2(VkCommandBuffer commandBuffer, const VkResolveImageInfo2 *pResolveImageInfo)
|
|
{
|
|
struct vkCmdResolveImage2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pResolveImageInfo = pResolveImageInfo;
|
|
UNIX_CALL(vkCmdResolveImage2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdResolveImage2KHR(VkCommandBuffer commandBuffer, const VkResolveImageInfo2 *pResolveImageInfo)
|
|
{
|
|
struct vkCmdResolveImage2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pResolveImageInfo = pResolveImageInfo;
|
|
UNIX_CALL(vkCmdResolveImage2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetAlphaToCoverageEnableEXT(VkCommandBuffer commandBuffer, VkBool32 alphaToCoverageEnable)
|
|
{
|
|
struct vkCmdSetAlphaToCoverageEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.alphaToCoverageEnable = alphaToCoverageEnable;
|
|
UNIX_CALL(vkCmdSetAlphaToCoverageEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetAlphaToOneEnableEXT(VkCommandBuffer commandBuffer, VkBool32 alphaToOneEnable)
|
|
{
|
|
struct vkCmdSetAlphaToOneEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.alphaToOneEnable = alphaToOneEnable;
|
|
UNIX_CALL(vkCmdSetAlphaToOneEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetAttachmentFeedbackLoopEnableEXT(VkCommandBuffer commandBuffer, VkImageAspectFlags aspectMask)
|
|
{
|
|
struct vkCmdSetAttachmentFeedbackLoopEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.aspectMask = aspectMask;
|
|
UNIX_CALL(vkCmdSetAttachmentFeedbackLoopEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, const float blendConstants[4])
|
|
{
|
|
struct vkCmdSetBlendConstants_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.blendConstants = blendConstants;
|
|
UNIX_CALL(vkCmdSetBlendConstants, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCheckpointNV(VkCommandBuffer commandBuffer, const void *pCheckpointMarker)
|
|
{
|
|
struct vkCmdSetCheckpointNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pCheckpointMarker = pCheckpointMarker;
|
|
UNIX_CALL(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_CALL(vkCmdSetCoarseSampleOrderNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetColorBlendAdvancedEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorBlendAdvancedEXT *pColorBlendAdvanced)
|
|
{
|
|
struct vkCmdSetColorBlendAdvancedEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstAttachment = firstAttachment;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pColorBlendAdvanced = pColorBlendAdvanced;
|
|
UNIX_CALL(vkCmdSetColorBlendAdvancedEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetColorBlendEnableEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkBool32 *pColorBlendEnables)
|
|
{
|
|
struct vkCmdSetColorBlendEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstAttachment = firstAttachment;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pColorBlendEnables = pColorBlendEnables;
|
|
UNIX_CALL(vkCmdSetColorBlendEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetColorBlendEquationEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorBlendEquationEXT *pColorBlendEquations)
|
|
{
|
|
struct vkCmdSetColorBlendEquationEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstAttachment = firstAttachment;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pColorBlendEquations = pColorBlendEquations;
|
|
UNIX_CALL(vkCmdSetColorBlendEquationEXT, ¶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_CALL(vkCmdSetColorWriteEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetColorWriteMaskEXT(VkCommandBuffer commandBuffer, uint32_t firstAttachment, uint32_t attachmentCount, const VkColorComponentFlags *pColorWriteMasks)
|
|
{
|
|
struct vkCmdSetColorWriteMaskEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstAttachment = firstAttachment;
|
|
params.attachmentCount = attachmentCount;
|
|
params.pColorWriteMasks = pColorWriteMasks;
|
|
UNIX_CALL(vkCmdSetColorWriteMaskEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetConservativeRasterizationModeEXT(VkCommandBuffer commandBuffer, VkConservativeRasterizationModeEXT conservativeRasterizationMode)
|
|
{
|
|
struct vkCmdSetConservativeRasterizationModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.conservativeRasterizationMode = conservativeRasterizationMode;
|
|
UNIX_CALL(vkCmdSetConservativeRasterizationModeEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageModulationModeNV(VkCommandBuffer commandBuffer, VkCoverageModulationModeNV coverageModulationMode)
|
|
{
|
|
struct vkCmdSetCoverageModulationModeNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageModulationMode = coverageModulationMode;
|
|
UNIX_CALL(vkCmdSetCoverageModulationModeNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageModulationTableEnableNV(VkCommandBuffer commandBuffer, VkBool32 coverageModulationTableEnable)
|
|
{
|
|
struct vkCmdSetCoverageModulationTableEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageModulationTableEnable = coverageModulationTableEnable;
|
|
UNIX_CALL(vkCmdSetCoverageModulationTableEnableNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageModulationTableNV(VkCommandBuffer commandBuffer, uint32_t coverageModulationTableCount, const float *pCoverageModulationTable)
|
|
{
|
|
struct vkCmdSetCoverageModulationTableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageModulationTableCount = coverageModulationTableCount;
|
|
params.pCoverageModulationTable = pCoverageModulationTable;
|
|
UNIX_CALL(vkCmdSetCoverageModulationTableNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageReductionModeNV(VkCommandBuffer commandBuffer, VkCoverageReductionModeNV coverageReductionMode)
|
|
{
|
|
struct vkCmdSetCoverageReductionModeNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageReductionMode = coverageReductionMode;
|
|
UNIX_CALL(vkCmdSetCoverageReductionModeNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageToColorEnableNV(VkCommandBuffer commandBuffer, VkBool32 coverageToColorEnable)
|
|
{
|
|
struct vkCmdSetCoverageToColorEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageToColorEnable = coverageToColorEnable;
|
|
UNIX_CALL(vkCmdSetCoverageToColorEnableNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCoverageToColorLocationNV(VkCommandBuffer commandBuffer, uint32_t coverageToColorLocation)
|
|
{
|
|
struct vkCmdSetCoverageToColorLocationNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.coverageToColorLocation = coverageToColorLocation;
|
|
UNIX_CALL(vkCmdSetCoverageToColorLocationNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCullMode(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode)
|
|
{
|
|
struct vkCmdSetCullMode_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.cullMode = cullMode;
|
|
UNIX_CALL(vkCmdSetCullMode, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetCullModeEXT(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode)
|
|
{
|
|
struct vkCmdSetCullModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.cullMode = cullMode;
|
|
UNIX_CALL(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_CALL(vkCmdSetDepthBias, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, const VkDepthBiasInfoEXT *pDepthBiasInfo)
|
|
{
|
|
struct vkCmdSetDepthBias2EXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pDepthBiasInfo = pDepthBiasInfo;
|
|
UNIX_CALL(vkCmdSetDepthBias2EXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBiasEnable(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable)
|
|
{
|
|
struct vkCmdSetDepthBiasEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBiasEnable = depthBiasEnable;
|
|
UNIX_CALL(vkCmdSetDepthBiasEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBiasEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable)
|
|
{
|
|
struct vkCmdSetDepthBiasEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBiasEnable = depthBiasEnable;
|
|
UNIX_CALL(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_CALL(vkCmdSetDepthBounds, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBoundsTestEnable(VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable)
|
|
{
|
|
struct vkCmdSetDepthBoundsTestEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBoundsTestEnable = depthBoundsTestEnable;
|
|
UNIX_CALL(vkCmdSetDepthBoundsTestEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthBoundsTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable)
|
|
{
|
|
struct vkCmdSetDepthBoundsTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthBoundsTestEnable = depthBoundsTestEnable;
|
|
UNIX_CALL(vkCmdSetDepthBoundsTestEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthClampEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthClampEnable)
|
|
{
|
|
struct vkCmdSetDepthClampEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthClampEnable = depthClampEnable;
|
|
UNIX_CALL(vkCmdSetDepthClampEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthClipEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthClipEnable)
|
|
{
|
|
struct vkCmdSetDepthClipEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthClipEnable = depthClipEnable;
|
|
UNIX_CALL(vkCmdSetDepthClipEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthClipNegativeOneToOneEXT(VkCommandBuffer commandBuffer, VkBool32 negativeOneToOne)
|
|
{
|
|
struct vkCmdSetDepthClipNegativeOneToOneEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.negativeOneToOne = negativeOneToOne;
|
|
UNIX_CALL(vkCmdSetDepthClipNegativeOneToOneEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthCompareOp(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp)
|
|
{
|
|
struct vkCmdSetDepthCompareOp_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthCompareOp = depthCompareOp;
|
|
UNIX_CALL(vkCmdSetDepthCompareOp, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthCompareOpEXT(VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp)
|
|
{
|
|
struct vkCmdSetDepthCompareOpEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthCompareOp = depthCompareOp;
|
|
UNIX_CALL(vkCmdSetDepthCompareOpEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthTestEnable(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable)
|
|
{
|
|
struct vkCmdSetDepthTestEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthTestEnable = depthTestEnable;
|
|
UNIX_CALL(vkCmdSetDepthTestEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthTestEnable)
|
|
{
|
|
struct vkCmdSetDepthTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthTestEnable = depthTestEnable;
|
|
UNIX_CALL(vkCmdSetDepthTestEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthWriteEnable(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable)
|
|
{
|
|
struct vkCmdSetDepthWriteEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthWriteEnable = depthWriteEnable;
|
|
UNIX_CALL(vkCmdSetDepthWriteEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDepthWriteEnableEXT(VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable)
|
|
{
|
|
struct vkCmdSetDepthWriteEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.depthWriteEnable = depthWriteEnable;
|
|
UNIX_CALL(vkCmdSetDepthWriteEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDescriptorBufferOffsets2EXT(VkCommandBuffer commandBuffer, const VkSetDescriptorBufferOffsetsInfoEXT *pSetDescriptorBufferOffsetsInfo)
|
|
{
|
|
struct vkCmdSetDescriptorBufferOffsets2EXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSetDescriptorBufferOffsetsInfo = pSetDescriptorBufferOffsetsInfo;
|
|
UNIX_CALL(vkCmdSetDescriptorBufferOffsets2EXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t setCount, const uint32_t *pBufferIndices, const VkDeviceSize *pOffsets)
|
|
{
|
|
struct vkCmdSetDescriptorBufferOffsetsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.layout = layout;
|
|
params.firstSet = firstSet;
|
|
params.setCount = setCount;
|
|
params.pBufferIndices = pBufferIndices;
|
|
params.pOffsets = pOffsets;
|
|
UNIX_CALL(vkCmdSetDescriptorBufferOffsetsEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDeviceMask(VkCommandBuffer commandBuffer, uint32_t deviceMask)
|
|
{
|
|
struct vkCmdSetDeviceMask_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.deviceMask = deviceMask;
|
|
UNIX_CALL(vkCmdSetDeviceMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDeviceMaskKHR(VkCommandBuffer commandBuffer, uint32_t deviceMask)
|
|
{
|
|
struct vkCmdSetDeviceMaskKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.deviceMask = deviceMask;
|
|
UNIX_CALL(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_CALL(vkCmdSetDiscardRectangleEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDiscardRectangleEnableEXT(VkCommandBuffer commandBuffer, VkBool32 discardRectangleEnable)
|
|
{
|
|
struct vkCmdSetDiscardRectangleEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.discardRectangleEnable = discardRectangleEnable;
|
|
UNIX_CALL(vkCmdSetDiscardRectangleEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetDiscardRectangleModeEXT(VkCommandBuffer commandBuffer, VkDiscardRectangleModeEXT discardRectangleMode)
|
|
{
|
|
struct vkCmdSetDiscardRectangleModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.discardRectangleMode = discardRectangleMode;
|
|
UNIX_CALL(vkCmdSetDiscardRectangleModeEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
|
|
{
|
|
struct vkCmdSetEvent_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.stageMask = stageMask;
|
|
UNIX_CALL(vkCmdSetEvent, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetEvent2(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo *pDependencyInfo)
|
|
{
|
|
struct vkCmdSetEvent2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
UNIX_CALL(vkCmdSetEvent2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfo *pDependencyInfo)
|
|
{
|
|
struct vkCmdSetEvent2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.event = event;
|
|
params.pDependencyInfo = pDependencyInfo;
|
|
UNIX_CALL(vkCmdSetEvent2KHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetExclusiveScissorEnableNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkBool32 *pExclusiveScissorEnables)
|
|
{
|
|
struct vkCmdSetExclusiveScissorEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstExclusiveScissor = firstExclusiveScissor;
|
|
params.exclusiveScissorCount = exclusiveScissorCount;
|
|
params.pExclusiveScissorEnables = pExclusiveScissorEnables;
|
|
UNIX_CALL(vkCmdSetExclusiveScissorEnableNV, ¶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_CALL(vkCmdSetExclusiveScissorNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetExtraPrimitiveOverestimationSizeEXT(VkCommandBuffer commandBuffer, float extraPrimitiveOverestimationSize)
|
|
{
|
|
struct vkCmdSetExtraPrimitiveOverestimationSizeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize;
|
|
UNIX_CALL(vkCmdSetExtraPrimitiveOverestimationSizeEXT, ¶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_CALL(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_CALL(vkCmdSetFragmentShadingRateKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetFrontFace(VkCommandBuffer commandBuffer, VkFrontFace frontFace)
|
|
{
|
|
struct vkCmdSetFrontFace_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.frontFace = frontFace;
|
|
UNIX_CALL(vkCmdSetFrontFace, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetFrontFaceEXT(VkCommandBuffer commandBuffer, VkFrontFace frontFace)
|
|
{
|
|
struct vkCmdSetFrontFaceEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.frontFace = frontFace;
|
|
UNIX_CALL(vkCmdSetFrontFaceEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineRasterizationModeEXT(VkCommandBuffer commandBuffer, VkLineRasterizationModeEXT lineRasterizationMode)
|
|
{
|
|
struct vkCmdSetLineRasterizationModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.lineRasterizationMode = lineRasterizationMode;
|
|
UNIX_CALL(vkCmdSetLineRasterizationModeEXT, ¶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_CALL(vkCmdSetLineStippleEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineStippleEnableEXT(VkCommandBuffer commandBuffer, VkBool32 stippledLineEnable)
|
|
{
|
|
struct vkCmdSetLineStippleEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stippledLineEnable = stippledLineEnable;
|
|
UNIX_CALL(vkCmdSetLineStippleEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineStippleKHR(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern)
|
|
{
|
|
struct vkCmdSetLineStippleKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.lineStippleFactor = lineStippleFactor;
|
|
params.lineStipplePattern = lineStipplePattern;
|
|
UNIX_CALL(vkCmdSetLineStippleKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth)
|
|
{
|
|
struct vkCmdSetLineWidth_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.lineWidth = lineWidth;
|
|
UNIX_CALL(vkCmdSetLineWidth, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLogicOpEXT(VkCommandBuffer commandBuffer, VkLogicOp logicOp)
|
|
{
|
|
struct vkCmdSetLogicOpEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.logicOp = logicOp;
|
|
UNIX_CALL(vkCmdSetLogicOpEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetLogicOpEnableEXT(VkCommandBuffer commandBuffer, VkBool32 logicOpEnable)
|
|
{
|
|
struct vkCmdSetLogicOpEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.logicOpEnable = logicOpEnable;
|
|
UNIX_CALL(vkCmdSetLogicOpEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPatchControlPointsEXT(VkCommandBuffer commandBuffer, uint32_t patchControlPoints)
|
|
{
|
|
struct vkCmdSetPatchControlPointsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.patchControlPoints = patchControlPoints;
|
|
UNIX_CALL(vkCmdSetPatchControlPointsEXT, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceMarkerInfoINTEL *pMarkerInfo)
|
|
{
|
|
struct vkCmdSetPerformanceMarkerINTEL_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
status = UNIX_CALL(vkCmdSetPerformanceMarkerINTEL, ¶ms);
|
|
assert(!status && "vkCmdSetPerformanceMarkerINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceOverrideINTEL(VkCommandBuffer commandBuffer, const VkPerformanceOverrideInfoINTEL *pOverrideInfo)
|
|
{
|
|
struct vkCmdSetPerformanceOverrideINTEL_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pOverrideInfo = pOverrideInfo;
|
|
status = UNIX_CALL(vkCmdSetPerformanceOverrideINTEL, ¶ms);
|
|
assert(!status && "vkCmdSetPerformanceOverrideINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCmdSetPerformanceStreamMarkerINTEL(VkCommandBuffer commandBuffer, const VkPerformanceStreamMarkerInfoINTEL *pMarkerInfo)
|
|
{
|
|
struct vkCmdSetPerformanceStreamMarkerINTEL_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pMarkerInfo = pMarkerInfo;
|
|
status = UNIX_CALL(vkCmdSetPerformanceStreamMarkerINTEL, ¶ms);
|
|
assert(!status && "vkCmdSetPerformanceStreamMarkerINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkCmdSetPolygonModeEXT(VkCommandBuffer commandBuffer, VkPolygonMode polygonMode)
|
|
{
|
|
struct vkCmdSetPolygonModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.polygonMode = polygonMode;
|
|
UNIX_CALL(vkCmdSetPolygonModeEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveRestartEnable(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable)
|
|
{
|
|
struct vkCmdSetPrimitiveRestartEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveRestartEnable = primitiveRestartEnable;
|
|
UNIX_CALL(vkCmdSetPrimitiveRestartEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveRestartEnableEXT(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable)
|
|
{
|
|
struct vkCmdSetPrimitiveRestartEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveRestartEnable = primitiveRestartEnable;
|
|
UNIX_CALL(vkCmdSetPrimitiveRestartEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveTopology(VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology)
|
|
{
|
|
struct vkCmdSetPrimitiveTopology_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveTopology = primitiveTopology;
|
|
UNIX_CALL(vkCmdSetPrimitiveTopology, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetPrimitiveTopologyEXT(VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology)
|
|
{
|
|
struct vkCmdSetPrimitiveTopologyEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.primitiveTopology = primitiveTopology;
|
|
UNIX_CALL(vkCmdSetPrimitiveTopologyEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetProvokingVertexModeEXT(VkCommandBuffer commandBuffer, VkProvokingVertexModeEXT provokingVertexMode)
|
|
{
|
|
struct vkCmdSetProvokingVertexModeEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.provokingVertexMode = provokingVertexMode;
|
|
UNIX_CALL(vkCmdSetProvokingVertexModeEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRasterizationSamplesEXT(VkCommandBuffer commandBuffer, VkSampleCountFlagBits rasterizationSamples)
|
|
{
|
|
struct vkCmdSetRasterizationSamplesEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.rasterizationSamples = rasterizationSamples;
|
|
UNIX_CALL(vkCmdSetRasterizationSamplesEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRasterizationStreamEXT(VkCommandBuffer commandBuffer, uint32_t rasterizationStream)
|
|
{
|
|
struct vkCmdSetRasterizationStreamEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.rasterizationStream = rasterizationStream;
|
|
UNIX_CALL(vkCmdSetRasterizationStreamEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRasterizerDiscardEnable(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable)
|
|
{
|
|
struct vkCmdSetRasterizerDiscardEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.rasterizerDiscardEnable = rasterizerDiscardEnable;
|
|
UNIX_CALL(vkCmdSetRasterizerDiscardEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRasterizerDiscardEnableEXT(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable)
|
|
{
|
|
struct vkCmdSetRasterizerDiscardEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.rasterizerDiscardEnable = rasterizerDiscardEnable;
|
|
UNIX_CALL(vkCmdSetRasterizerDiscardEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRayTracingPipelineStackSizeKHR(VkCommandBuffer commandBuffer, uint32_t pipelineStackSize)
|
|
{
|
|
struct vkCmdSetRayTracingPipelineStackSizeKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineStackSize = pipelineStackSize;
|
|
UNIX_CALL(vkCmdSetRayTracingPipelineStackSizeKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRenderingAttachmentLocationsKHR(VkCommandBuffer commandBuffer, const VkRenderingAttachmentLocationInfoKHR *pLocationInfo)
|
|
{
|
|
struct vkCmdSetRenderingAttachmentLocationsKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLocationInfo = pLocationInfo;
|
|
UNIX_CALL(vkCmdSetRenderingAttachmentLocationsKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRenderingInputAttachmentIndicesKHR(VkCommandBuffer commandBuffer, const VkRenderingInputAttachmentIndexInfoKHR *pLocationInfo)
|
|
{
|
|
struct vkCmdSetRenderingInputAttachmentIndicesKHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pLocationInfo = pLocationInfo;
|
|
UNIX_CALL(vkCmdSetRenderingInputAttachmentIndicesKHR, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetRepresentativeFragmentTestEnableNV(VkCommandBuffer commandBuffer, VkBool32 representativeFragmentTestEnable)
|
|
{
|
|
struct vkCmdSetRepresentativeFragmentTestEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.representativeFragmentTestEnable = representativeFragmentTestEnable;
|
|
UNIX_CALL(vkCmdSetRepresentativeFragmentTestEnableNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT *pSampleLocationsInfo)
|
|
{
|
|
struct vkCmdSetSampleLocationsEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pSampleLocationsInfo = pSampleLocationsInfo;
|
|
UNIX_CALL(vkCmdSetSampleLocationsEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetSampleLocationsEnableEXT(VkCommandBuffer commandBuffer, VkBool32 sampleLocationsEnable)
|
|
{
|
|
struct vkCmdSetSampleLocationsEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.sampleLocationsEnable = sampleLocationsEnable;
|
|
UNIX_CALL(vkCmdSetSampleLocationsEnableEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetSampleMaskEXT(VkCommandBuffer commandBuffer, VkSampleCountFlagBits samples, const VkSampleMask *pSampleMask)
|
|
{
|
|
struct vkCmdSetSampleMaskEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.samples = samples;
|
|
params.pSampleMask = pSampleMask;
|
|
UNIX_CALL(vkCmdSetSampleMaskEXT, ¶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_CALL(vkCmdSetScissor, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetScissorWithCount(VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D *pScissors)
|
|
{
|
|
struct vkCmdSetScissorWithCount_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.scissorCount = scissorCount;
|
|
params.pScissors = pScissors;
|
|
UNIX_CALL(vkCmdSetScissorWithCount, ¶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_CALL(vkCmdSetScissorWithCountEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetShadingRateImageEnableNV(VkCommandBuffer commandBuffer, VkBool32 shadingRateImageEnable)
|
|
{
|
|
struct vkCmdSetShadingRateImageEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.shadingRateImageEnable = shadingRateImageEnable;
|
|
UNIX_CALL(vkCmdSetShadingRateImageEnableNV, ¶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_CALL(vkCmdSetStencilCompareMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilOp(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp)
|
|
{
|
|
struct vkCmdSetStencilOp_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.faceMask = faceMask;
|
|
params.failOp = failOp;
|
|
params.passOp = passOp;
|
|
params.depthFailOp = depthFailOp;
|
|
params.compareOp = compareOp;
|
|
UNIX_CALL(vkCmdSetStencilOp, ¶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_CALL(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_CALL(vkCmdSetStencilReference, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilTestEnable(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable)
|
|
{
|
|
struct vkCmdSetStencilTestEnable_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stencilTestEnable = stencilTestEnable;
|
|
UNIX_CALL(vkCmdSetStencilTestEnable, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetStencilTestEnableEXT(VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable)
|
|
{
|
|
struct vkCmdSetStencilTestEnableEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stencilTestEnable = stencilTestEnable;
|
|
UNIX_CALL(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_CALL(vkCmdSetStencilWriteMask, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetTessellationDomainOriginEXT(VkCommandBuffer commandBuffer, VkTessellationDomainOrigin domainOrigin)
|
|
{
|
|
struct vkCmdSetTessellationDomainOriginEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.domainOrigin = domainOrigin;
|
|
UNIX_CALL(vkCmdSetTessellationDomainOriginEXT, ¶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_CALL(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_CALL(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_CALL(vkCmdSetViewportShadingRatePaletteNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportSwizzleNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportSwizzleNV *pViewportSwizzles)
|
|
{
|
|
struct vkCmdSetViewportSwizzleNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.firstViewport = firstViewport;
|
|
params.viewportCount = viewportCount;
|
|
params.pViewportSwizzles = pViewportSwizzles;
|
|
UNIX_CALL(vkCmdSetViewportSwizzleNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportWScalingEnableNV(VkCommandBuffer commandBuffer, VkBool32 viewportWScalingEnable)
|
|
{
|
|
struct vkCmdSetViewportWScalingEnableNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.viewportWScalingEnable = viewportWScalingEnable;
|
|
UNIX_CALL(vkCmdSetViewportWScalingEnableNV, ¶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_CALL(vkCmdSetViewportWScalingNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSetViewportWithCount(VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport *pViewports)
|
|
{
|
|
struct vkCmdSetViewportWithCount_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.viewportCount = viewportCount;
|
|
params.pViewports = pViewports;
|
|
UNIX_CALL(vkCmdSetViewportWithCount, ¶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_CALL(vkCmdSetViewportWithCountEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkCmdSubpassShadingHUAWEI_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
UNIX_CALL(vkCmdSubpassShadingHUAWEI, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdTraceRaysIndirect2KHR(VkCommandBuffer commandBuffer, VkDeviceAddress indirectDeviceAddress)
|
|
{
|
|
struct vkCmdTraceRaysIndirect2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.indirectDeviceAddress = indirectDeviceAddress;
|
|
UNIX_CALL(vkCmdTraceRaysIndirect2KHR, ¶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_CALL(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_CALL(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_CALL(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_CALL(vkCmdUpdateBuffer, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdUpdatePipelineIndirectBufferNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline)
|
|
{
|
|
struct vkCmdUpdatePipelineIndirectBufferNV_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.pipelineBindPoint = pipelineBindPoint;
|
|
params.pipeline = pipeline;
|
|
UNIX_CALL(vkCmdUpdatePipelineIndirectBufferNV, ¶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_CALL(vkCmdWaitEvents, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWaitEvents2(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, const VkDependencyInfo *pDependencyInfos)
|
|
{
|
|
struct vkCmdWaitEvents2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.eventCount = eventCount;
|
|
params.pEvents = pEvents;
|
|
params.pDependencyInfos = pDependencyInfos;
|
|
UNIX_CALL(vkCmdWaitEvents2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWaitEvents2KHR(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, const VkDependencyInfo *pDependencyInfos)
|
|
{
|
|
struct vkCmdWaitEvents2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.eventCount = eventCount;
|
|
params.pEvents = pEvents;
|
|
params.pDependencyInfos = pDependencyInfos;
|
|
UNIX_CALL(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_CALL(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_CALL(vkCmdWriteAccelerationStructuresPropertiesNV, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 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_CALL(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_CALL(vkCmdWriteBufferMarkerAMD, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteMicromapsPropertiesEXT(VkCommandBuffer commandBuffer, uint32_t micromapCount, const VkMicromapEXT *pMicromaps, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery)
|
|
{
|
|
struct vkCmdWriteMicromapsPropertiesEXT_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.micromapCount = micromapCount;
|
|
params.pMicromaps = pMicromaps;
|
|
params.queryType = queryType;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
UNIX_CALL(vkCmdWriteMicromapsPropertiesEXT, ¶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_CALL(vkCmdWriteTimestamp, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteTimestamp2(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query)
|
|
{
|
|
struct vkCmdWriteTimestamp2_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stage = stage;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
UNIX_CALL(vkCmdWriteTimestamp2, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkCmdWriteTimestamp2KHR(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query)
|
|
{
|
|
struct vkCmdWriteTimestamp2KHR_params params;
|
|
params.commandBuffer = commandBuffer;
|
|
params.stage = stage;
|
|
params.queryPool = queryPool;
|
|
params.query = query;
|
|
UNIX_CALL(vkCmdWriteTimestamp2KHR, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkCompileDeferredNV(VkDevice device, VkPipeline pipeline, uint32_t shader)
|
|
{
|
|
struct vkCompileDeferredNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.shader = shader;
|
|
status = UNIX_CALL(vkCompileDeferredNV, ¶ms);
|
|
assert(!status && "vkCompileDeferredNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyAccelerationStructureKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyAccelerationStructureKHR, ¶ms);
|
|
assert(!status && "vkCopyAccelerationStructureKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyAccelerationStructureToMemoryKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureToMemoryInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyAccelerationStructureToMemoryKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyAccelerationStructureToMemoryKHR, ¶ms);
|
|
assert(!status && "vkCopyAccelerationStructureToMemoryKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyImageToImageEXT(VkDevice device, const VkCopyImageToImageInfoEXT *pCopyImageToImageInfo)
|
|
{
|
|
struct vkCopyImageToImageEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCopyImageToImageInfo = pCopyImageToImageInfo;
|
|
status = UNIX_CALL(vkCopyImageToImageEXT, ¶ms);
|
|
assert(!status && "vkCopyImageToImageEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyImageToMemoryEXT(VkDevice device, const VkCopyImageToMemoryInfoEXT *pCopyImageToMemoryInfo)
|
|
{
|
|
struct vkCopyImageToMemoryEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCopyImageToMemoryInfo = pCopyImageToMemoryInfo;
|
|
status = UNIX_CALL(vkCopyImageToMemoryEXT, ¶ms);
|
|
assert(!status && "vkCopyImageToMemoryEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMemoryToAccelerationStructureKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToAccelerationStructureInfoKHR *pInfo)
|
|
{
|
|
struct vkCopyMemoryToAccelerationStructureKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyMemoryToAccelerationStructureKHR, ¶ms);
|
|
assert(!status && "vkCopyMemoryToAccelerationStructureKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMemoryToImageEXT(VkDevice device, const VkCopyMemoryToImageInfoEXT *pCopyMemoryToImageInfo)
|
|
{
|
|
struct vkCopyMemoryToImageEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCopyMemoryToImageInfo = pCopyMemoryToImageInfo;
|
|
status = UNIX_CALL(vkCopyMemoryToImageEXT, ¶ms);
|
|
assert(!status && "vkCopyMemoryToImageEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMemoryToMicromapEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToMicromapInfoEXT *pInfo)
|
|
{
|
|
struct vkCopyMemoryToMicromapEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyMemoryToMicromapEXT, ¶ms);
|
|
assert(!status && "vkCopyMemoryToMicromapEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMicromapEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMicromapInfoEXT *pInfo)
|
|
{
|
|
struct vkCopyMicromapEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyMicromapEXT, ¶ms);
|
|
assert(!status && "vkCopyMicromapEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCopyMicromapToMemoryEXT(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMicromapToMemoryInfoEXT *pInfo)
|
|
{
|
|
struct vkCopyMicromapToMemoryEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkCopyMicromapToMemoryEXT, ¶ms);
|
|
assert(!status && "vkCopyMicromapToMemoryEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateAccelerationStructureKHR(VkDevice device, const VkAccelerationStructureCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkAccelerationStructureKHR *pAccelerationStructure)
|
|
{
|
|
struct vkCreateAccelerationStructureKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pAccelerationStructure = pAccelerationStructure;
|
|
status = UNIX_CALL(vkCreateAccelerationStructureKHR, ¶ms);
|
|
assert(!status && "vkCreateAccelerationStructureKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateAccelerationStructureNV(VkDevice device, const VkAccelerationStructureCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkAccelerationStructureNV *pAccelerationStructure)
|
|
{
|
|
struct vkCreateAccelerationStructureNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pAccelerationStructure = pAccelerationStructure;
|
|
status = UNIX_CALL(vkCreateAccelerationStructureNV, ¶ms);
|
|
assert(!status && "vkCreateAccelerationStructureNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateBuffer(VkDevice device, const VkBufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBuffer *pBuffer)
|
|
{
|
|
struct vkCreateBuffer_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pBuffer = pBuffer;
|
|
status = UNIX_CALL(vkCreateBuffer, ¶ms);
|
|
assert(!status && "vkCreateBuffer");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkBufferView *pView)
|
|
{
|
|
struct vkCreateBufferView_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pView = pView;
|
|
status = UNIX_CALL(vkCreateBufferView, ¶ms);
|
|
assert(!status && "vkCreateBufferView");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateComputePipelines_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
status = UNIX_CALL(vkCreateComputePipelines, ¶ms);
|
|
assert(!status && "vkCreateComputePipelines");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCuFunctionNVX(VkDevice device, const VkCuFunctionCreateInfoNVX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCuFunctionNVX *pFunction)
|
|
{
|
|
struct vkCreateCuFunctionNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFunction = pFunction;
|
|
status = UNIX_CALL(vkCreateCuFunctionNVX, ¶ms);
|
|
assert(!status && "vkCreateCuFunctionNVX");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoNVX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCuModuleNVX *pModule)
|
|
{
|
|
struct vkCreateCuModuleNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pModule = pModule;
|
|
status = UNIX_CALL(vkCreateCuModuleNVX, ¶ms);
|
|
assert(!status && "vkCreateCuModuleNVX");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCudaFunctionNV(VkDevice device, const VkCudaFunctionCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCudaFunctionNV *pFunction)
|
|
{
|
|
struct vkCreateCudaFunctionNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFunction = pFunction;
|
|
status = UNIX_CALL(vkCreateCudaFunctionNV, ¶ms);
|
|
assert(!status && "vkCreateCudaFunctionNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateCudaModuleNV(VkDevice device, const VkCudaModuleCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCudaModuleNV *pModule)
|
|
{
|
|
struct vkCreateCudaModuleNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pModule = pModule;
|
|
status = UNIX_CALL(vkCreateCudaModuleNV, ¶ms);
|
|
assert(!status && "vkCreateCudaModuleNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback)
|
|
{
|
|
struct vkCreateDebugReportCallbackEXT_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pCallback = pCallback;
|
|
status = UNIX_CALL(vkCreateDebugReportCallbackEXT, ¶ms);
|
|
assert(!status && "vkCreateDebugReportCallbackEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT *pMessenger)
|
|
{
|
|
struct vkCreateDebugUtilsMessengerEXT_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pMessenger = pMessenger;
|
|
status = UNIX_CALL(vkCreateDebugUtilsMessengerEXT, ¶ms);
|
|
assert(!status && "vkCreateDebugUtilsMessengerEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDeferredOperationKHR(VkDevice device, const VkAllocationCallbacks *pAllocator, VkDeferredOperationKHR *pDeferredOperation)
|
|
{
|
|
struct vkCreateDeferredOperationKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pAllocator = pAllocator;
|
|
params.pDeferredOperation = pDeferredOperation;
|
|
status = UNIX_CALL(vkCreateDeferredOperationKHR, ¶ms);
|
|
assert(!status && "vkCreateDeferredOperationKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorPool(VkDevice device, const VkDescriptorPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorPool *pDescriptorPool)
|
|
{
|
|
struct vkCreateDescriptorPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorPool = pDescriptorPool;
|
|
status = UNIX_CALL(vkCreateDescriptorPool, ¶ms);
|
|
assert(!status && "vkCreateDescriptorPool");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorSetLayout(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorSetLayout *pSetLayout)
|
|
{
|
|
struct vkCreateDescriptorSetLayout_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSetLayout = pSetLayout;
|
|
status = UNIX_CALL(vkCreateDescriptorSetLayout, ¶ms);
|
|
assert(!status && "vkCreateDescriptorSetLayout");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorUpdateTemplate(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorUpdateTemplate *pDescriptorUpdateTemplate)
|
|
{
|
|
struct vkCreateDescriptorUpdateTemplate_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorUpdateTemplate = pDescriptorUpdateTemplate;
|
|
status = UNIX_CALL(vkCreateDescriptorUpdateTemplate, ¶ms);
|
|
assert(!status && "vkCreateDescriptorUpdateTemplate");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateDescriptorUpdateTemplateKHR(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorUpdateTemplate *pDescriptorUpdateTemplate)
|
|
{
|
|
struct vkCreateDescriptorUpdateTemplateKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pDescriptorUpdateTemplate = pDescriptorUpdateTemplate;
|
|
status = UNIX_CALL(vkCreateDescriptorUpdateTemplateKHR, ¶ms);
|
|
assert(!status && "vkCreateDescriptorUpdateTemplateKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateEvent(VkDevice device, const VkEventCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkEvent *pEvent)
|
|
{
|
|
struct vkCreateEvent_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pEvent = pEvent;
|
|
status = UNIX_CALL(vkCreateEvent, ¶ms);
|
|
assert(!status && "vkCreateEvent");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateFence(VkDevice device, const VkFenceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFence *pFence)
|
|
{
|
|
struct vkCreateFence_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFence = pFence;
|
|
status = UNIX_CALL(vkCreateFence, ¶ms);
|
|
assert(!status && "vkCreateFence");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateFramebuffer(VkDevice device, const VkFramebufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFramebuffer *pFramebuffer)
|
|
{
|
|
struct vkCreateFramebuffer_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pFramebuffer = pFramebuffer;
|
|
status = UNIX_CALL(vkCreateFramebuffer, ¶ms);
|
|
assert(!status && "vkCreateFramebuffer");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateGraphicsPipelines_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
status = UNIX_CALL(vkCreateGraphicsPipelines, ¶ms);
|
|
assert(!status && "vkCreateGraphicsPipelines");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateImage(VkDevice device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImage *pImage)
|
|
{
|
|
struct vkCreateImage_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pImage = pImage;
|
|
status = UNIX_CALL(vkCreateImage, ¶ms);
|
|
assert(!status && "vkCreateImage");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateImageView(VkDevice device, const VkImageViewCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImageView *pView)
|
|
{
|
|
struct vkCreateImageView_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pView = pView;
|
|
status = UNIX_CALL(vkCreateImageView, ¶ms);
|
|
assert(!status && "vkCreateImageView");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateIndirectCommandsLayoutNV(VkDevice device, const VkIndirectCommandsLayoutCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkIndirectCommandsLayoutNV *pIndirectCommandsLayout)
|
|
{
|
|
struct vkCreateIndirectCommandsLayoutNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pIndirectCommandsLayout = pIndirectCommandsLayout;
|
|
status = UNIX_CALL(vkCreateIndirectCommandsLayoutNV, ¶ms);
|
|
assert(!status && "vkCreateIndirectCommandsLayoutNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateMicromapEXT(VkDevice device, const VkMicromapCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkMicromapEXT *pMicromap)
|
|
{
|
|
struct vkCreateMicromapEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pMicromap = pMicromap;
|
|
status = UNIX_CALL(vkCreateMicromapEXT, ¶ms);
|
|
assert(!status && "vkCreateMicromapEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateOpticalFlowSessionNV(VkDevice device, const VkOpticalFlowSessionCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkOpticalFlowSessionNV *pSession)
|
|
{
|
|
struct vkCreateOpticalFlowSessionNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSession = pSession;
|
|
status = UNIX_CALL(vkCreateOpticalFlowSessionNV, ¶ms);
|
|
assert(!status && "vkCreateOpticalFlowSessionNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineCache *pPipelineCache)
|
|
{
|
|
struct vkCreatePipelineCache_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelineCache = pPipelineCache;
|
|
status = UNIX_CALL(vkCreatePipelineCache, ¶ms);
|
|
assert(!status && "vkCreatePipelineCache");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePipelineLayout(VkDevice device, const VkPipelineLayoutCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPipelineLayout *pPipelineLayout)
|
|
{
|
|
struct vkCreatePipelineLayout_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelineLayout = pPipelineLayout;
|
|
status = UNIX_CALL(vkCreatePipelineLayout, ¶ms);
|
|
assert(!status && "vkCreatePipelineLayout");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePrivateDataSlot(VkDevice device, const VkPrivateDataSlotCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPrivateDataSlot *pPrivateDataSlot)
|
|
{
|
|
struct vkCreatePrivateDataSlot_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPrivateDataSlot = pPrivateDataSlot;
|
|
status = UNIX_CALL(vkCreatePrivateDataSlot, ¶ms);
|
|
assert(!status && "vkCreatePrivateDataSlot");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreatePrivateDataSlotEXT(VkDevice device, const VkPrivateDataSlotCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkPrivateDataSlot *pPrivateDataSlot)
|
|
{
|
|
struct vkCreatePrivateDataSlotEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pPrivateDataSlot = pPrivateDataSlot;
|
|
status = UNIX_CALL(vkCreatePrivateDataSlotEXT, ¶ms);
|
|
assert(!status && "vkCreatePrivateDataSlotEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkQueryPool *pQueryPool)
|
|
{
|
|
struct vkCreateQueryPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pQueryPool = pQueryPool;
|
|
status = UNIX_CALL(vkCreateQueryPool, ¶ms);
|
|
assert(!status && "vkCreateQueryPool");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRayTracingPipelinesKHR(VkDevice device, VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoKHR *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateRayTracingPipelinesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.deferredOperation = deferredOperation;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
status = UNIX_CALL(vkCreateRayTracingPipelinesKHR, ¶ms);
|
|
assert(!status && "vkCreateRayTracingPipelinesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRayTracingPipelinesNV(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkPipeline *pPipelines)
|
|
{
|
|
struct vkCreateRayTracingPipelinesNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pPipelines = pPipelines;
|
|
status = UNIX_CALL(vkCreateRayTracingPipelinesNV, ¶ms);
|
|
assert(!status && "vkCreateRayTracingPipelinesNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass(VkDevice device, const VkRenderPassCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
status = UNIX_CALL(vkCreateRenderPass, ¶ms);
|
|
assert(!status && "vkCreateRenderPass");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass2(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
status = UNIX_CALL(vkCreateRenderPass2, ¶ms);
|
|
assert(!status && "vkCreateRenderPass2");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateRenderPass2KHR(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass)
|
|
{
|
|
struct vkCreateRenderPass2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pRenderPass = pRenderPass;
|
|
status = UNIX_CALL(vkCreateRenderPass2KHR, ¶ms);
|
|
assert(!status && "vkCreateRenderPass2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSampler(VkDevice device, const VkSamplerCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSampler *pSampler)
|
|
{
|
|
struct vkCreateSampler_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSampler = pSampler;
|
|
status = UNIX_CALL(vkCreateSampler, ¶ms);
|
|
assert(!status && "vkCreateSampler");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSamplerYcbcrConversion(VkDevice device, const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSamplerYcbcrConversion *pYcbcrConversion)
|
|
{
|
|
struct vkCreateSamplerYcbcrConversion_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pYcbcrConversion = pYcbcrConversion;
|
|
status = UNIX_CALL(vkCreateSamplerYcbcrConversion, ¶ms);
|
|
assert(!status && "vkCreateSamplerYcbcrConversion");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSamplerYcbcrConversionKHR(VkDevice device, const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSamplerYcbcrConversion *pYcbcrConversion)
|
|
{
|
|
struct vkCreateSamplerYcbcrConversionKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pYcbcrConversion = pYcbcrConversion;
|
|
status = UNIX_CALL(vkCreateSamplerYcbcrConversionKHR, ¶ms);
|
|
assert(!status && "vkCreateSamplerYcbcrConversionKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore)
|
|
{
|
|
struct vkCreateSemaphore_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSemaphore = pSemaphore;
|
|
status = UNIX_CALL(vkCreateSemaphore, ¶ms);
|
|
assert(!status && "vkCreateSemaphore");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkShaderModule *pShaderModule)
|
|
{
|
|
struct vkCreateShaderModule_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pShaderModule = pShaderModule;
|
|
status = UNIX_CALL(vkCreateShaderModule, ¶ms);
|
|
assert(!status && "vkCreateShaderModule");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateShadersEXT(VkDevice device, uint32_t createInfoCount, const VkShaderCreateInfoEXT *pCreateInfos, const VkAllocationCallbacks *pAllocator, VkShaderEXT *pShaders)
|
|
{
|
|
struct vkCreateShadersEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.createInfoCount = createInfoCount;
|
|
params.pCreateInfos = pCreateInfos;
|
|
params.pAllocator = pAllocator;
|
|
params.pShaders = pShaders;
|
|
status = UNIX_CALL(vkCreateShadersEXT, ¶ms);
|
|
assert(!status && "vkCreateShadersEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSwapchainKHR *pSwapchain)
|
|
{
|
|
struct vkCreateSwapchainKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSwapchain = pSwapchain;
|
|
status = UNIX_CALL(vkCreateSwapchainKHR, ¶ms);
|
|
assert(!status && "vkCreateSwapchainKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateValidationCacheEXT(VkDevice device, const VkValidationCacheCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkValidationCacheEXT *pValidationCache)
|
|
{
|
|
struct vkCreateValidationCacheEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pValidationCache = pValidationCache;
|
|
status = UNIX_CALL(vkCreateValidationCacheEXT, ¶ms);
|
|
assert(!status && "vkCreateValidationCacheEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkCreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface)
|
|
{
|
|
struct vkCreateWin32SurfaceKHR_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pAllocator = pAllocator;
|
|
params.pSurface = pSurface;
|
|
status = UNIX_CALL(vkCreateWin32SurfaceKHR, ¶ms);
|
|
assert(!status && "vkCreateWin32SurfaceKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkDebugMarkerSetObjectNameEXT(VkDevice device, const VkDebugMarkerObjectNameInfoEXT *pNameInfo)
|
|
{
|
|
struct vkDebugMarkerSetObjectNameEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pNameInfo = pNameInfo;
|
|
status = UNIX_CALL(vkDebugMarkerSetObjectNameEXT, ¶ms);
|
|
assert(!status && "vkDebugMarkerSetObjectNameEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkDebugMarkerSetObjectTagEXT(VkDevice device, const VkDebugMarkerObjectTagInfoEXT *pTagInfo)
|
|
{
|
|
struct vkDebugMarkerSetObjectTagEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pTagInfo = pTagInfo;
|
|
status = UNIX_CALL(vkDebugMarkerSetObjectTagEXT, ¶ms);
|
|
assert(!status && "vkDebugMarkerSetObjectTagEXT");
|
|
return params.result;
|
|
}
|
|
|
|
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;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.flags = flags;
|
|
params.objectType = objectType;
|
|
params.object = object;
|
|
params.location = location;
|
|
params.messageCode = messageCode;
|
|
params.pLayerPrefix = pLayerPrefix;
|
|
params.pMessage = pMessage;
|
|
status = UNIX_CALL(vkDebugReportMessageEXT, ¶ms);
|
|
assert(!status && "vkDebugReportMessageEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkDeferredOperationJoinKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkDeferredOperationJoinKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
status = UNIX_CALL(vkDeferredOperationJoinKHR, ¶ms);
|
|
assert(!status && "vkDeferredOperationJoinKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkDestroyAccelerationStructureKHR(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyAccelerationStructureKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyAccelerationStructureKHR, ¶ms);
|
|
assert(!status && "vkDestroyAccelerationStructureKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroyAccelerationStructureNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyAccelerationStructureNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyAccelerationStructureNV, ¶ms);
|
|
assert(!status && "vkDestroyAccelerationStructureNV");
|
|
}
|
|
|
|
void WINAPI vkDestroyBuffer(VkDevice device, VkBuffer buffer, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyBuffer_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyBuffer, ¶ms);
|
|
assert(!status && "vkDestroyBuffer");
|
|
}
|
|
|
|
void WINAPI vkDestroyBufferView(VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyBufferView_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.bufferView = bufferView;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyBufferView, ¶ms);
|
|
assert(!status && "vkDestroyBufferView");
|
|
}
|
|
|
|
void WINAPI vkDestroyCuFunctionNVX(VkDevice device, VkCuFunctionNVX function, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCuFunctionNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.function = function;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyCuFunctionNVX, ¶ms);
|
|
assert(!status && "vkDestroyCuFunctionNVX");
|
|
}
|
|
|
|
void WINAPI vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCuModuleNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.module = module;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyCuModuleNVX, ¶ms);
|
|
assert(!status && "vkDestroyCuModuleNVX");
|
|
}
|
|
|
|
void WINAPI vkDestroyCudaFunctionNV(VkDevice device, VkCudaFunctionNV function, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCudaFunctionNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.function = function;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyCudaFunctionNV, ¶ms);
|
|
assert(!status && "vkDestroyCudaFunctionNV");
|
|
}
|
|
|
|
void WINAPI vkDestroyCudaModuleNV(VkDevice device, VkCudaModuleNV module, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyCudaModuleNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.module = module;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyCudaModuleNV, ¶ms);
|
|
assert(!status && "vkDestroyCudaModuleNV");
|
|
}
|
|
|
|
void WINAPI vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDebugReportCallbackEXT_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.callback = callback;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDebugReportCallbackEXT, ¶ms);
|
|
assert(!status && "vkDestroyDebugReportCallbackEXT");
|
|
}
|
|
|
|
void WINAPI vkDestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDebugUtilsMessengerEXT_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.messenger = messenger;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDebugUtilsMessengerEXT, ¶ms);
|
|
assert(!status && "vkDestroyDebugUtilsMessengerEXT");
|
|
}
|
|
|
|
void WINAPI vkDestroyDeferredOperationKHR(VkDevice device, VkDeferredOperationKHR operation, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDeferredOperationKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDeferredOperationKHR, ¶ms);
|
|
assert(!status && "vkDestroyDeferredOperationKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDescriptorPool, ¶ms);
|
|
assert(!status && "vkDestroyDescriptorPool");
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorSetLayout_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorSetLayout = descriptorSetLayout;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDescriptorSetLayout, ¶ms);
|
|
assert(!status && "vkDestroyDescriptorSetLayout");
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorUpdateTemplate(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorUpdateTemplate_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDescriptorUpdateTemplate, ¶ms);
|
|
assert(!status && "vkDestroyDescriptorUpdateTemplate");
|
|
}
|
|
|
|
void WINAPI vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyDescriptorUpdateTemplateKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyDescriptorUpdateTemplateKHR, ¶ms);
|
|
assert(!status && "vkDestroyDescriptorUpdateTemplateKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyEvent_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.event = event;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyEvent, ¶ms);
|
|
assert(!status && "vkDestroyEvent");
|
|
}
|
|
|
|
void WINAPI vkDestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyFence_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.fence = fence;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyFence, ¶ms);
|
|
assert(!status && "vkDestroyFence");
|
|
}
|
|
|
|
void WINAPI vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyFramebuffer_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.framebuffer = framebuffer;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyFramebuffer, ¶ms);
|
|
assert(!status && "vkDestroyFramebuffer");
|
|
}
|
|
|
|
void WINAPI vkDestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyImage_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyImage, ¶ms);
|
|
assert(!status && "vkDestroyImage");
|
|
}
|
|
|
|
void WINAPI vkDestroyImageView(VkDevice device, VkImageView imageView, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyImageView_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.imageView = imageView;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyImageView, ¶ms);
|
|
assert(!status && "vkDestroyImageView");
|
|
}
|
|
|
|
void WINAPI vkDestroyIndirectCommandsLayoutNV(VkDevice device, VkIndirectCommandsLayoutNV indirectCommandsLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyIndirectCommandsLayoutNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.indirectCommandsLayout = indirectCommandsLayout;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyIndirectCommandsLayoutNV, ¶ms);
|
|
assert(!status && "vkDestroyIndirectCommandsLayoutNV");
|
|
}
|
|
|
|
void WINAPI vkDestroyMicromapEXT(VkDevice device, VkMicromapEXT micromap, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyMicromapEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.micromap = micromap;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyMicromapEXT, ¶ms);
|
|
assert(!status && "vkDestroyMicromapEXT");
|
|
}
|
|
|
|
void WINAPI vkDestroyOpticalFlowSessionNV(VkDevice device, VkOpticalFlowSessionNV session, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyOpticalFlowSessionNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.session = session;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyOpticalFlowSessionNV, ¶ms);
|
|
assert(!status && "vkDestroyOpticalFlowSessionNV");
|
|
}
|
|
|
|
void WINAPI vkDestroyPipeline(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipeline_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyPipeline, ¶ms);
|
|
assert(!status && "vkDestroyPipeline");
|
|
}
|
|
|
|
void WINAPI vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipelineCache_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyPipelineCache, ¶ms);
|
|
assert(!status && "vkDestroyPipelineCache");
|
|
}
|
|
|
|
void WINAPI vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPipelineLayout_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineLayout = pipelineLayout;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyPipelineLayout, ¶ms);
|
|
assert(!status && "vkDestroyPipelineLayout");
|
|
}
|
|
|
|
void WINAPI vkDestroyPrivateDataSlot(VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPrivateDataSlot_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyPrivateDataSlot, ¶ms);
|
|
assert(!status && "vkDestroyPrivateDataSlot");
|
|
}
|
|
|
|
void WINAPI vkDestroyPrivateDataSlotEXT(VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyPrivateDataSlotEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyPrivateDataSlotEXT, ¶ms);
|
|
assert(!status && "vkDestroyPrivateDataSlotEXT");
|
|
}
|
|
|
|
void WINAPI vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyQueryPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyQueryPool, ¶ms);
|
|
assert(!status && "vkDestroyQueryPool");
|
|
}
|
|
|
|
void WINAPI vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyRenderPass_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.renderPass = renderPass;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyRenderPass, ¶ms);
|
|
assert(!status && "vkDestroyRenderPass");
|
|
}
|
|
|
|
void WINAPI vkDestroySampler(VkDevice device, VkSampler sampler, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySampler_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.sampler = sampler;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySampler, ¶ms);
|
|
assert(!status && "vkDestroySampler");
|
|
}
|
|
|
|
void WINAPI vkDestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySamplerYcbcrConversion_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.ycbcrConversion = ycbcrConversion;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySamplerYcbcrConversion, ¶ms);
|
|
assert(!status && "vkDestroySamplerYcbcrConversion");
|
|
}
|
|
|
|
void WINAPI vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySamplerYcbcrConversionKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.ycbcrConversion = ycbcrConversion;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySamplerYcbcrConversionKHR, ¶ms);
|
|
assert(!status && "vkDestroySamplerYcbcrConversionKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySemaphore_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySemaphore, ¶ms);
|
|
assert(!status && "vkDestroySemaphore");
|
|
}
|
|
|
|
void WINAPI vkDestroyShaderEXT(VkDevice device, VkShaderEXT shader, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyShaderEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.shader = shader;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyShaderEXT, ¶ms);
|
|
assert(!status && "vkDestroyShaderEXT");
|
|
}
|
|
|
|
void WINAPI vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyShaderModule_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.shaderModule = shaderModule;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyShaderModule, ¶ms);
|
|
assert(!status && "vkDestroyShaderModule");
|
|
}
|
|
|
|
void WINAPI vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySurfaceKHR_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.surface = surface;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySurfaceKHR, ¶ms);
|
|
assert(!status && "vkDestroySurfaceKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroySwapchainKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroySwapchainKHR, ¶ms);
|
|
assert(!status && "vkDestroySwapchainKHR");
|
|
}
|
|
|
|
void WINAPI vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkDestroyValidationCacheEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.validationCache = validationCache;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkDestroyValidationCacheEXT, ¶ms);
|
|
assert(!status && "vkDestroyValidationCacheEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkDeviceWaitIdle(VkDevice device)
|
|
{
|
|
struct vkDeviceWaitIdle_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
status = UNIX_CALL(vkDeviceWaitIdle, ¶ms);
|
|
assert(!status && "vkDeviceWaitIdle");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEndCommandBuffer(VkCommandBuffer commandBuffer)
|
|
{
|
|
struct vkEndCommandBuffer_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
status = UNIX_CALL(vkEndCommandBuffer, ¶ms);
|
|
assert(!status && "vkEndCommandBuffer");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties)
|
|
{
|
|
struct vkEnumerateDeviceExtensionProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pLayerName = pLayerName;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkEnumerateDeviceExtensionProperties, ¶ms);
|
|
assert(!status && "vkEnumerateDeviceExtensionProperties");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkLayerProperties *pProperties)
|
|
{
|
|
struct vkEnumerateDeviceLayerProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkEnumerateDeviceLayerProperties, ¶ms);
|
|
assert(!status && "vkEnumerateDeviceLayerProperties");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceGroups_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceGroupCount = pPhysicalDeviceGroupCount;
|
|
params.pPhysicalDeviceGroupProperties = pPhysicalDeviceGroupProperties;
|
|
status = UNIX_CALL(vkEnumeratePhysicalDeviceGroups, ¶ms);
|
|
assert(!status && "vkEnumeratePhysicalDeviceGroups");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceGroupsKHR(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceGroupsKHR_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceGroupCount = pPhysicalDeviceGroupCount;
|
|
params.pPhysicalDeviceGroupProperties = pPhysicalDeviceGroupProperties;
|
|
status = UNIX_CALL(vkEnumeratePhysicalDeviceGroupsKHR, ¶ms);
|
|
assert(!status && "vkEnumeratePhysicalDeviceGroupsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t *pCounterCount, VkPerformanceCounterKHR *pCounters, VkPerformanceCounterDescriptionKHR *pCounterDescriptions)
|
|
{
|
|
struct vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.pCounterCount = pCounterCount;
|
|
params.pCounters = pCounters;
|
|
params.pCounterDescriptions = pCounterDescriptions;
|
|
status = UNIX_CALL(vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, ¶ms);
|
|
assert(!status && "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkEnumeratePhysicalDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices)
|
|
{
|
|
struct vkEnumeratePhysicalDevices_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.pPhysicalDeviceCount = pPhysicalDeviceCount;
|
|
params.pPhysicalDevices = pPhysicalDevices;
|
|
status = UNIX_CALL(vkEnumeratePhysicalDevices, ¶ms);
|
|
assert(!status && "vkEnumeratePhysicalDevices");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkFlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
|
|
{
|
|
struct vkFlushMappedMemoryRanges_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memoryRangeCount = memoryRangeCount;
|
|
params.pMemoryRanges = pMemoryRanges;
|
|
status = UNIX_CALL(vkFlushMappedMemoryRanges, ¶ms);
|
|
assert(!status && "vkFlushMappedMemoryRanges");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets)
|
|
{
|
|
struct vkFreeDescriptorSets_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.descriptorSetCount = descriptorSetCount;
|
|
params.pDescriptorSets = pDescriptorSets;
|
|
status = UNIX_CALL(vkFreeDescriptorSets, ¶ms);
|
|
assert(!status && "vkFreeDescriptorSets");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkFreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks *pAllocator)
|
|
{
|
|
struct vkFreeMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.pAllocator = pAllocator;
|
|
status = UNIX_CALL(vkFreeMemory, ¶ms);
|
|
assert(!status && "vkFreeMemory");
|
|
}
|
|
|
|
void WINAPI vkGetAccelerationStructureBuildSizesKHR(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkAccelerationStructureBuildGeometryInfoKHR *pBuildInfo, const uint32_t *pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR *pSizeInfo)
|
|
{
|
|
struct vkGetAccelerationStructureBuildSizesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.buildType = buildType;
|
|
params.pBuildInfo = pBuildInfo;
|
|
params.pMaxPrimitiveCounts = pMaxPrimitiveCounts;
|
|
params.pSizeInfo = pSizeInfo;
|
|
status = UNIX_CALL(vkGetAccelerationStructureBuildSizesKHR, ¶ms);
|
|
assert(!status && "vkGetAccelerationStructureBuildSizesKHR");
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetAccelerationStructureDeviceAddressKHR(VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR *pInfo)
|
|
{
|
|
struct vkGetAccelerationStructureDeviceAddressKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetAccelerationStructureDeviceAddressKHR, ¶ms);
|
|
assert(!status && "vkGetAccelerationStructureDeviceAddressKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetAccelerationStructureHandleNV(VkDevice device, VkAccelerationStructureNV accelerationStructure, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetAccelerationStructureHandleNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.accelerationStructure = accelerationStructure;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetAccelerationStructureHandleNV, ¶ms);
|
|
assert(!status && "vkGetAccelerationStructureHandleNV");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetAccelerationStructureMemoryRequirementsNV(VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2KHR *pMemoryRequirements)
|
|
{
|
|
struct vkGetAccelerationStructureMemoryRequirementsNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetAccelerationStructureMemoryRequirementsNV, ¶ms);
|
|
assert(!status && "vkGetAccelerationStructureMemoryRequirementsNV");
|
|
}
|
|
|
|
VkResult WINAPI vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkAccelerationStructureCaptureDescriptorDataInfoEXT *pInfo, void *pData)
|
|
{
|
|
struct vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, ¶ms);
|
|
assert(!status && "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddress_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetBufferDeviceAddress, ¶ms);
|
|
assert(!status && "vkGetBufferDeviceAddress");
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddressEXT(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddressEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetBufferDeviceAddressEXT, ¶ms);
|
|
assert(!status && "vkGetBufferDeviceAddressEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetBufferDeviceAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferDeviceAddressKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetBufferDeviceAddressKHR, ¶ms);
|
|
assert(!status && "vkGetBufferDeviceAddressKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.buffer = buffer;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetBufferMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetBufferMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements2(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetBufferMemoryRequirements2, ¶ms);
|
|
assert(!status && "vkGetBufferMemoryRequirements2");
|
|
}
|
|
|
|
void WINAPI vkGetBufferMemoryRequirements2KHR(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetBufferMemoryRequirements2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetBufferMemoryRequirements2KHR, ¶ms);
|
|
assert(!status && "vkGetBufferMemoryRequirements2KHR");
|
|
}
|
|
|
|
uint64_t WINAPI vkGetBufferOpaqueCaptureAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferOpaqueCaptureAddress_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetBufferOpaqueCaptureAddress, ¶ms);
|
|
assert(!status && "vkGetBufferOpaqueCaptureAddress");
|
|
return params.result;
|
|
}
|
|
|
|
uint64_t WINAPI vkGetBufferOpaqueCaptureAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo)
|
|
{
|
|
struct vkGetBufferOpaqueCaptureAddressKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetBufferOpaqueCaptureAddressKHR, ¶ms);
|
|
assert(!status && "vkGetBufferOpaqueCaptureAddressKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetBufferOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkBufferCaptureDescriptorDataInfoEXT *pInfo, void *pData)
|
|
{
|
|
struct vkGetBufferOpaqueCaptureDescriptorDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetBufferOpaqueCaptureDescriptorDataEXT, ¶ms);
|
|
assert(!status && "vkGetBufferOpaqueCaptureDescriptorDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestampCount, const VkCalibratedTimestampInfoKHR *pTimestampInfos, uint64_t *pTimestamps, uint64_t *pMaxDeviation)
|
|
{
|
|
struct vkGetCalibratedTimestampsEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.timestampCount = timestampCount;
|
|
params.pTimestampInfos = pTimestampInfos;
|
|
params.pTimestamps = pTimestamps;
|
|
params.pMaxDeviation = pMaxDeviation;
|
|
status = UNIX_CALL(vkGetCalibratedTimestampsEXT, ¶ms);
|
|
assert(!status && "vkGetCalibratedTimestampsEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetCalibratedTimestampsKHR(VkDevice device, uint32_t timestampCount, const VkCalibratedTimestampInfoKHR *pTimestampInfos, uint64_t *pTimestamps, uint64_t *pMaxDeviation)
|
|
{
|
|
struct vkGetCalibratedTimestampsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.timestampCount = timestampCount;
|
|
params.pTimestampInfos = pTimestampInfos;
|
|
params.pTimestamps = pTimestamps;
|
|
params.pMaxDeviation = pMaxDeviation;
|
|
status = UNIX_CALL(vkGetCalibratedTimestampsKHR, ¶ms);
|
|
assert(!status && "vkGetCalibratedTimestampsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetCudaModuleCacheNV(VkDevice device, VkCudaModuleNV module, size_t *pCacheSize, void *pCacheData)
|
|
{
|
|
struct vkGetCudaModuleCacheNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.module = module;
|
|
params.pCacheSize = pCacheSize;
|
|
params.pCacheData = pCacheData;
|
|
status = UNIX_CALL(vkGetCudaModuleCacheNV, ¶ms);
|
|
assert(!status && "vkGetCudaModuleCacheNV");
|
|
return params.result;
|
|
}
|
|
|
|
uint32_t WINAPI vkGetDeferredOperationMaxConcurrencyKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkGetDeferredOperationMaxConcurrencyKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
status = UNIX_CALL(vkGetDeferredOperationMaxConcurrencyKHR, ¶ms);
|
|
assert(!status && "vkGetDeferredOperationMaxConcurrencyKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeferredOperationResultKHR(VkDevice device, VkDeferredOperationKHR operation)
|
|
{
|
|
struct vkGetDeferredOperationResultKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.operation = operation;
|
|
status = UNIX_CALL(vkGetDeferredOperationResultKHR, ¶ms);
|
|
assert(!status && "vkGetDeferredOperationResultKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorEXT(VkDevice device, const VkDescriptorGetInfoEXT *pDescriptorInfo, size_t dataSize, void *pDescriptor)
|
|
{
|
|
struct vkGetDescriptorEXT_params params;
|
|
params.device = device;
|
|
params.pDescriptorInfo = pDescriptorInfo;
|
|
params.dataSize = dataSize;
|
|
params.pDescriptor = pDescriptor;
|
|
UNIX_CALL(vkGetDescriptorEXT, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetHostMappingVALVE(VkDevice device, VkDescriptorSet descriptorSet, void **ppData)
|
|
{
|
|
struct vkGetDescriptorSetHostMappingVALVE_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorSet = descriptorSet;
|
|
params.ppData = ppData;
|
|
status = UNIX_CALL(vkGetDescriptorSetHostMappingVALVE, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetHostMappingVALVE");
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutBindingOffsetEXT(VkDevice device, VkDescriptorSetLayout layout, uint32_t binding, VkDeviceSize *pOffset)
|
|
{
|
|
struct vkGetDescriptorSetLayoutBindingOffsetEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.layout = layout;
|
|
params.binding = binding;
|
|
params.pOffset = pOffset;
|
|
status = UNIX_CALL(vkGetDescriptorSetLayoutBindingOffsetEXT, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetLayoutBindingOffsetEXT");
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutHostMappingInfoVALVE(VkDevice device, const VkDescriptorSetBindingReferenceVALVE *pBindingReference, VkDescriptorSetLayoutHostMappingInfoVALVE *pHostMapping)
|
|
{
|
|
struct vkGetDescriptorSetLayoutHostMappingInfoVALVE_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pBindingReference = pBindingReference;
|
|
params.pHostMapping = pHostMapping;
|
|
status = UNIX_CALL(vkGetDescriptorSetLayoutHostMappingInfoVALVE, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetLayoutHostMappingInfoVALVE");
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutSizeEXT(VkDevice device, VkDescriptorSetLayout layout, VkDeviceSize *pLayoutSizeInBytes)
|
|
{
|
|
struct vkGetDescriptorSetLayoutSizeEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.layout = layout;
|
|
params.pLayoutSizeInBytes = pLayoutSizeInBytes;
|
|
status = UNIX_CALL(vkGetDescriptorSetLayoutSizeEXT, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetLayoutSizeEXT");
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutSupport(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport)
|
|
{
|
|
struct vkGetDescriptorSetLayoutSupport_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pSupport = pSupport;
|
|
status = UNIX_CALL(vkGetDescriptorSetLayoutSupport, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetLayoutSupport");
|
|
}
|
|
|
|
void WINAPI vkGetDescriptorSetLayoutSupportKHR(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport)
|
|
{
|
|
struct vkGetDescriptorSetLayoutSupportKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pSupport = pSupport;
|
|
status = UNIX_CALL(vkGetDescriptorSetLayoutSupportKHR, ¶ms);
|
|
assert(!status && "vkGetDescriptorSetLayoutSupportKHR");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceAccelerationStructureCompatibilityKHR(VkDevice device, const VkAccelerationStructureVersionInfoKHR *pVersionInfo, VkAccelerationStructureCompatibilityKHR *pCompatibility)
|
|
{
|
|
struct vkGetDeviceAccelerationStructureCompatibilityKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pVersionInfo = pVersionInfo;
|
|
params.pCompatibility = pCompatibility;
|
|
status = UNIX_CALL(vkGetDeviceAccelerationStructureCompatibilityKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceAccelerationStructureCompatibilityKHR");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceBufferMemoryRequirements(VkDevice device, const VkDeviceBufferMemoryRequirements *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceBufferMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceBufferMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetDeviceBufferMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceBufferMemoryRequirementsKHR(VkDevice device, const VkDeviceBufferMemoryRequirements *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceBufferMemoryRequirementsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceBufferMemoryRequirementsKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceBufferMemoryRequirementsKHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceFaultInfoEXT(VkDevice device, VkDeviceFaultCountsEXT *pFaultCounts, VkDeviceFaultInfoEXT *pFaultInfo)
|
|
{
|
|
struct vkGetDeviceFaultInfoEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pFaultCounts = pFaultCounts;
|
|
params.pFaultInfo = pFaultInfo;
|
|
status = UNIX_CALL(vkGetDeviceFaultInfoEXT, ¶ms);
|
|
assert(!status && "vkGetDeviceFaultInfoEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures)
|
|
{
|
|
struct vkGetDeviceGroupPeerMemoryFeatures_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.heapIndex = heapIndex;
|
|
params.localDeviceIndex = localDeviceIndex;
|
|
params.remoteDeviceIndex = remoteDeviceIndex;
|
|
params.pPeerMemoryFeatures = pPeerMemoryFeatures;
|
|
status = UNIX_CALL(vkGetDeviceGroupPeerMemoryFeatures, ¶ms);
|
|
assert(!status && "vkGetDeviceGroupPeerMemoryFeatures");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures)
|
|
{
|
|
struct vkGetDeviceGroupPeerMemoryFeaturesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.heapIndex = heapIndex;
|
|
params.localDeviceIndex = localDeviceIndex;
|
|
params.remoteDeviceIndex = remoteDeviceIndex;
|
|
params.pPeerMemoryFeatures = pPeerMemoryFeatures;
|
|
status = UNIX_CALL(vkGetDeviceGroupPeerMemoryFeaturesKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceGroupPeerMemoryFeaturesKHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkDeviceGroupPresentCapabilitiesKHR *pDeviceGroupPresentCapabilities)
|
|
{
|
|
struct vkGetDeviceGroupPresentCapabilitiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pDeviceGroupPresentCapabilities = pDeviceGroupPresentCapabilities;
|
|
status = UNIX_CALL(vkGetDeviceGroupPresentCapabilitiesKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceGroupPresentCapabilitiesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR *pModes)
|
|
{
|
|
struct vkGetDeviceGroupSurfacePresentModesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.surface = surface;
|
|
params.pModes = pModes;
|
|
status = UNIX_CALL(vkGetDeviceGroupSurfacePresentModesKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceGroupSurfacePresentModesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageMemoryRequirements(VkDevice device, const VkDeviceImageMemoryRequirements *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceImageMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetDeviceImageMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirements *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageMemoryRequirementsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceImageMemoryRequirementsKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceImageMemoryRequirementsKHR");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageSparseMemoryRequirements(VkDevice device, const VkDeviceImageMemoryRequirements *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageSparseMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceImageSparseMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetDeviceImageSparseMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageSparseMemoryRequirementsKHR(VkDevice device, const VkDeviceImageMemoryRequirements *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetDeviceImageSparseMemoryRequirementsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
status = UNIX_CALL(vkGetDeviceImageSparseMemoryRequirementsKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceImageSparseMemoryRequirementsKHR");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceImageSubresourceLayoutKHR(VkDevice device, const VkDeviceImageSubresourceInfoKHR *pInfo, VkSubresourceLayout2KHR *pLayout)
|
|
{
|
|
struct vkGetDeviceImageSubresourceLayoutKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pLayout = pLayout;
|
|
status = UNIX_CALL(vkGetDeviceImageSubresourceLayoutKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceImageSubresourceLayoutKHR");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes)
|
|
{
|
|
struct vkGetDeviceMemoryCommitment_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.pCommittedMemoryInBytes = pCommittedMemoryInBytes;
|
|
status = UNIX_CALL(vkGetDeviceMemoryCommitment, ¶ms);
|
|
assert(!status && "vkGetDeviceMemoryCommitment");
|
|
}
|
|
|
|
uint64_t WINAPI vkGetDeviceMemoryOpaqueCaptureAddress(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo)
|
|
{
|
|
struct vkGetDeviceMemoryOpaqueCaptureAddress_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetDeviceMemoryOpaqueCaptureAddress, ¶ms);
|
|
assert(!status && "vkGetDeviceMemoryOpaqueCaptureAddress");
|
|
return params.result;
|
|
}
|
|
|
|
uint64_t WINAPI vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo)
|
|
{
|
|
struct vkGetDeviceMemoryOpaqueCaptureAddressKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetDeviceMemoryOpaqueCaptureAddressKHR, ¶ms);
|
|
assert(!status && "vkGetDeviceMemoryOpaqueCaptureAddressKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetDeviceMicromapCompatibilityEXT(VkDevice device, const VkMicromapVersionInfoEXT *pVersionInfo, VkAccelerationStructureCompatibilityKHR *pCompatibility)
|
|
{
|
|
struct vkGetDeviceMicromapCompatibilityEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pVersionInfo = pVersionInfo;
|
|
params.pCompatibility = pCompatibility;
|
|
status = UNIX_CALL(vkGetDeviceMicromapCompatibilityEXT, ¶ms);
|
|
assert(!status && "vkGetDeviceMicromapCompatibilityEXT");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue)
|
|
{
|
|
struct vkGetDeviceQueue_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.queueIndex = queueIndex;
|
|
params.pQueue = pQueue;
|
|
status = UNIX_CALL(vkGetDeviceQueue, ¶ms);
|
|
assert(!status && "vkGetDeviceQueue");
|
|
}
|
|
|
|
void WINAPI vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueInfo, VkQueue *pQueue)
|
|
{
|
|
struct vkGetDeviceQueue2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pQueueInfo = pQueueInfo;
|
|
params.pQueue = pQueue;
|
|
status = UNIX_CALL(vkGetDeviceQueue2, ¶ms);
|
|
assert(!status && "vkGetDeviceQueue2");
|
|
}
|
|
|
|
VkResult WINAPI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D *pMaxWorkgroupSize)
|
|
{
|
|
struct vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.renderpass = renderpass;
|
|
params.pMaxWorkgroupSize = pMaxWorkgroupSize;
|
|
status = UNIX_CALL(vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, ¶ms);
|
|
assert(!status && "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetDynamicRenderingTilePropertiesQCOM(VkDevice device, const VkRenderingInfo *pRenderingInfo, VkTilePropertiesQCOM *pProperties)
|
|
{
|
|
struct vkGetDynamicRenderingTilePropertiesQCOM_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pRenderingInfo = pRenderingInfo;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetDynamicRenderingTilePropertiesQCOM, ¶ms);
|
|
assert(!status && "vkGetDynamicRenderingTilePropertiesQCOM");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetEventStatus(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkGetEventStatus_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.event = event;
|
|
status = UNIX_CALL(vkGetEventStatus, ¶ms);
|
|
assert(!status && "vkGetEventStatus");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetFenceStatus(VkDevice device, VkFence fence)
|
|
{
|
|
struct vkGetFenceStatus_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.fence = fence;
|
|
status = UNIX_CALL(vkGetFenceStatus, ¶ms);
|
|
assert(!status && "vkGetFenceStatus");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetFramebufferTilePropertiesQCOM(VkDevice device, VkFramebuffer framebuffer, uint32_t *pPropertiesCount, VkTilePropertiesQCOM *pProperties)
|
|
{
|
|
struct vkGetFramebufferTilePropertiesQCOM_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.framebuffer = framebuffer;
|
|
params.pPropertiesCount = pPropertiesCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetFramebufferTilePropertiesQCOM, ¶ms);
|
|
assert(!status && "vkGetFramebufferTilePropertiesQCOM");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetGeneratedCommandsMemoryRequirementsNV(VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetGeneratedCommandsMemoryRequirementsNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetGeneratedCommandsMemoryRequirementsNV, ¶ms);
|
|
assert(!status && "vkGetGeneratedCommandsMemoryRequirementsNV");
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetImageMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements2(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageMemoryRequirements2, ¶ms);
|
|
assert(!status && "vkGetImageMemoryRequirements2");
|
|
}
|
|
|
|
void WINAPI vkGetImageMemoryRequirements2KHR(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetImageMemoryRequirements2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageMemoryRequirements2KHR, ¶ms);
|
|
assert(!status && "vkGetImageMemoryRequirements2KHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetImageOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkImageCaptureDescriptorDataInfoEXT *pInfo, void *pData)
|
|
{
|
|
struct vkGetImageOpaqueCaptureDescriptorDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetImageOpaqueCaptureDescriptorDataEXT, ¶ms);
|
|
assert(!status && "vkGetImageOpaqueCaptureDescriptorDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageSparseMemoryRequirements, ¶ms);
|
|
assert(!status && "vkGetImageSparseMemoryRequirements");
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements2(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements2_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageSparseMemoryRequirements2, ¶ms);
|
|
assert(!status && "vkGetImageSparseMemoryRequirements2");
|
|
}
|
|
|
|
void WINAPI vkGetImageSparseMemoryRequirements2KHR(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)
|
|
{
|
|
struct vkGetImageSparseMemoryRequirements2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pSparseMemoryRequirementCount = pSparseMemoryRequirementCount;
|
|
params.pSparseMemoryRequirements = pSparseMemoryRequirements;
|
|
status = UNIX_CALL(vkGetImageSparseMemoryRequirements2KHR, ¶ms);
|
|
assert(!status && "vkGetImageSparseMemoryRequirements2KHR");
|
|
}
|
|
|
|
void WINAPI vkGetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource *pSubresource, VkSubresourceLayout *pLayout)
|
|
{
|
|
struct vkGetImageSubresourceLayout_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSubresource = pSubresource;
|
|
params.pLayout = pLayout;
|
|
status = UNIX_CALL(vkGetImageSubresourceLayout, ¶ms);
|
|
assert(!status && "vkGetImageSubresourceLayout");
|
|
}
|
|
|
|
void WINAPI vkGetImageSubresourceLayout2EXT(VkDevice device, VkImage image, const VkImageSubresource2KHR *pSubresource, VkSubresourceLayout2KHR *pLayout)
|
|
{
|
|
struct vkGetImageSubresourceLayout2EXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSubresource = pSubresource;
|
|
params.pLayout = pLayout;
|
|
status = UNIX_CALL(vkGetImageSubresourceLayout2EXT, ¶ms);
|
|
assert(!status && "vkGetImageSubresourceLayout2EXT");
|
|
}
|
|
|
|
void WINAPI vkGetImageSubresourceLayout2KHR(VkDevice device, VkImage image, const VkImageSubresource2KHR *pSubresource, VkSubresourceLayout2KHR *pLayout)
|
|
{
|
|
struct vkGetImageSubresourceLayout2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.image = image;
|
|
params.pSubresource = pSubresource;
|
|
params.pLayout = pLayout;
|
|
status = UNIX_CALL(vkGetImageSubresourceLayout2KHR, ¶ms);
|
|
assert(!status && "vkGetImageSubresourceLayout2KHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetImageViewAddressNVX(VkDevice device, VkImageView imageView, VkImageViewAddressPropertiesNVX *pProperties)
|
|
{
|
|
struct vkGetImageViewAddressNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.imageView = imageView;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetImageViewAddressNVX, ¶ms);
|
|
assert(!status && "vkGetImageViewAddressNVX");
|
|
return params.result;
|
|
}
|
|
|
|
uint32_t WINAPI vkGetImageViewHandleNVX(VkDevice device, const VkImageViewHandleInfoNVX *pInfo)
|
|
{
|
|
struct vkGetImageViewHandleNVX_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetImageViewHandleNVX, ¶ms);
|
|
assert(!status && "vkGetImageViewHandleNVX");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkImageViewCaptureDescriptorDataInfoEXT *pInfo, void *pData)
|
|
{
|
|
struct vkGetImageViewOpaqueCaptureDescriptorDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetImageViewOpaqueCaptureDescriptorDataEXT, ¶ms);
|
|
assert(!status && "vkGetImageViewOpaqueCaptureDescriptorDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetLatencyTimingsNV(VkDevice device, VkSwapchainKHR swapchain, VkGetLatencyMarkerInfoNV *pLatencyMarkerInfo)
|
|
{
|
|
struct vkGetLatencyTimingsNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pLatencyMarkerInfo = pLatencyMarkerInfo;
|
|
status = UNIX_CALL(vkGetLatencyTimingsNV, ¶ms);
|
|
assert(!status && "vkGetLatencyTimingsNV");
|
|
}
|
|
|
|
VkResult WINAPI vkGetMemoryHostPointerPropertiesEXT(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void *pHostPointer, VkMemoryHostPointerPropertiesEXT *pMemoryHostPointerProperties)
|
|
{
|
|
struct vkGetMemoryHostPointerPropertiesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.handleType = handleType;
|
|
params.pHostPointer = pHostPointer;
|
|
params.pMemoryHostPointerProperties = pMemoryHostPointerProperties;
|
|
status = UNIX_CALL(vkGetMemoryHostPointerPropertiesEXT, ¶ms);
|
|
assert(!status && "vkGetMemoryHostPointerPropertiesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetMicromapBuildSizesEXT(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkMicromapBuildInfoEXT *pBuildInfo, VkMicromapBuildSizesInfoEXT *pSizeInfo)
|
|
{
|
|
struct vkGetMicromapBuildSizesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.buildType = buildType;
|
|
params.pBuildInfo = pBuildInfo;
|
|
params.pSizeInfo = pSizeInfo;
|
|
status = UNIX_CALL(vkGetMicromapBuildSizesEXT, ¶ms);
|
|
assert(!status && "vkGetMicromapBuildSizesEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkGetPerformanceParameterINTEL(VkDevice device, VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL *pValue)
|
|
{
|
|
struct vkGetPerformanceParameterINTEL_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.parameter = parameter;
|
|
params.pValue = pValue;
|
|
status = UNIX_CALL(vkGetPerformanceParameterINTEL, ¶ms);
|
|
assert(!status && "vkGetPerformanceParameterINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(VkPhysicalDevice physicalDevice, uint32_t *pTimeDomainCount, VkTimeDomainKHR *pTimeDomains)
|
|
{
|
|
struct vkGetPhysicalDeviceCalibrateableTimeDomainsEXT_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pTimeDomainCount = pTimeDomainCount;
|
|
params.pTimeDomains = pTimeDomains;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCalibrateableTimeDomainsKHR(VkPhysicalDevice physicalDevice, uint32_t *pTimeDomainCount, VkTimeDomainKHR *pTimeDomains)
|
|
{
|
|
struct vkGetPhysicalDeviceCalibrateableTimeDomainsKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pTimeDomainCount = pTimeDomainCount;
|
|
params.pTimeDomains = pTimeDomains;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkCooperativeMatrixPropertiesKHR *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(VkPhysicalDevice physicalDevice, uint32_t *pPropertyCount, VkCooperativeMatrixPropertiesNV *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceCooperativeMatrixPropertiesNV_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalBufferProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalBufferProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalBufferInfo = pExternalBufferInfo;
|
|
params.pExternalBufferProperties = pExternalBufferProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalBufferProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalBufferProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalBufferPropertiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalBufferInfo = pExternalBufferInfo;
|
|
params.pExternalBufferProperties = pExternalBufferProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalBufferPropertiesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalBufferPropertiesKHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalFenceProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalFenceProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalFenceInfo = pExternalFenceInfo;
|
|
params.pExternalFenceProperties = pExternalFenceProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalFenceProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalFenceProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalFencePropertiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalFenceInfo = pExternalFenceInfo;
|
|
params.pExternalFenceProperties = pExternalFenceProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalFencePropertiesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalFencePropertiesKHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalSemaphoreProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalSemaphoreProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalSemaphoreInfo = pExternalSemaphoreInfo;
|
|
params.pExternalSemaphoreProperties = pExternalSemaphoreProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalSemaphoreProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalSemaphoreProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceExternalSemaphorePropertiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pExternalSemaphoreInfo = pExternalSemaphoreInfo;
|
|
params.pExternalSemaphoreProperties = pExternalSemaphoreProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFeatures, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFeatures");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFeatures2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFeatures2");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2 *pFeatures)
|
|
{
|
|
struct vkGetPhysicalDeviceFeatures2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFeatures = pFeatures;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFeatures2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFeatures2KHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFormatProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFormatProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2 *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFormatProperties2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFormatProperties2");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2 *pFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceFormatProperties2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.pFormatProperties = pFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFormatProperties2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFormatProperties2KHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceFragmentShadingRatesKHR(VkPhysicalDevice physicalDevice, uint32_t *pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR *pFragmentShadingRates)
|
|
{
|
|
struct vkGetPhysicalDeviceFragmentShadingRatesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFragmentShadingRateCount = pFragmentShadingRateCount;
|
|
params.pFragmentShadingRates = pFragmentShadingRates;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceFragmentShadingRatesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceFragmentShadingRatesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.type = type;
|
|
params.tiling = tiling;
|
|
params.usage = usage;
|
|
params.flags = flags;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceImageFormatProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceImageFormatProperties");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pImageFormatInfo = pImageFormatInfo;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceImageFormatProperties2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceImageFormatProperties2");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceImageFormatProperties2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pImageFormatInfo = pImageFormatInfo;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceImageFormatProperties2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceImageFormatProperties2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceMemoryProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceMemoryProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceMemoryProperties2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceMemoryProperties2");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMemoryProperties2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pMemoryProperties = pMemoryProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceMemoryProperties2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceMemoryProperties2KHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT *pMultisampleProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceMultisamplePropertiesEXT_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.samples = samples;
|
|
params.pMultisampleProperties = pMultisampleProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceMultisamplePropertiesEXT, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceMultisamplePropertiesEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceOpticalFlowImageFormatsNV(VkPhysicalDevice physicalDevice, const VkOpticalFlowImageFormatInfoNV *pOpticalFlowImageFormatInfo, uint32_t *pFormatCount, VkOpticalFlowImageFormatPropertiesNV *pImageFormatProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceOpticalFlowImageFormatsNV_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pOpticalFlowImageFormatInfo = pOpticalFlowImageFormatInfo;
|
|
params.pFormatCount = pFormatCount;
|
|
params.pImageFormatProperties = pImageFormatProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceOpticalFlowImageFormatsNV, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceOpticalFlowImageFormatsNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pRectCount, VkRect2D *pRects)
|
|
{
|
|
struct vkGetPhysicalDevicePresentRectanglesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pRectCount = pRectCount;
|
|
params.pRects = pRects;
|
|
status = UNIX_CALL(vkGetPhysicalDevicePresentRectanglesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDevicePresentRectanglesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *pPerformanceQueryCreateInfo, uint32_t *pNumPasses)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pPerformanceQueryCreateInfo = pPerformanceQueryCreateInfo;
|
|
params.pNumPasses = pNumPasses;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceQueueFamilyProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceQueueFamilyProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties2(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties2 *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceQueueFamilyProperties2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceQueueFamilyProperties2");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties2 *pQueueFamilyProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceQueueFamilyProperties2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pQueueFamilyPropertyCount = pQueueFamilyPropertyCount;
|
|
params.pQueueFamilyProperties = pQueueFamilyProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceQueueFamilyProperties2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceQueueFamilyProperties2KHR");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t *pPropertyCount, VkSparseImageFormatProperties *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.format = format;
|
|
params.type = type;
|
|
params.samples = samples;
|
|
params.usage = usage;
|
|
params.tiling = tiling;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSparseImageFormatProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSparseImageFormatProperties");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, uint32_t *pPropertyCount, VkSparseImageFormatProperties2 *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties2_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFormatInfo = pFormatInfo;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSparseImageFormatProperties2, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSparseImageFormatProperties2");
|
|
}
|
|
|
|
void WINAPI vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, uint32_t *pPropertyCount, VkSparseImageFormatProperties2 *pProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceSparseImageFormatProperties2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pFormatInfo = pFormatInfo;
|
|
params.pPropertyCount = pPropertyCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSparseImageFormatProperties2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSparseImageFormatProperties2KHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(VkPhysicalDevice physicalDevice, uint32_t *pCombinationCount, VkFramebufferMixedSamplesCombinationNV *pCombinations)
|
|
{
|
|
struct vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pCombinationCount = pCombinationCount;
|
|
params.pCombinations = pCombinations;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR *pSurfaceInfo, VkSurfaceCapabilities2KHR *pSurfaceCapabilities)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceCapabilities2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pSurfaceInfo = pSurfaceInfo;
|
|
params.pSurfaceCapabilities = pSurfaceCapabilities;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfaceCapabilities2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfaceCapabilities2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR *pSurfaceCapabilities)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceCapabilitiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pSurfaceCapabilities = pSurfaceCapabilities;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfaceCapabilitiesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfaceCapabilitiesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR *pSurfaceInfo, uint32_t *pSurfaceFormatCount, VkSurfaceFormat2KHR *pSurfaceFormats)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceFormats2KHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pSurfaceInfo = pSurfaceInfo;
|
|
params.pSurfaceFormatCount = pSurfaceFormatCount;
|
|
params.pSurfaceFormats = pSurfaceFormats;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfaceFormats2KHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfaceFormats2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pSurfaceFormatCount, VkSurfaceFormatKHR *pSurfaceFormats)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceFormatsKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pSurfaceFormatCount = pSurfaceFormatCount;
|
|
params.pSurfaceFormats = pSurfaceFormats;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfaceFormatsKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfaceFormatsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t *pPresentModeCount, VkPresentModeKHR *pPresentModes)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfacePresentModesKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.surface = surface;
|
|
params.pPresentModeCount = pPresentModeCount;
|
|
params.pPresentModes = pPresentModes;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfacePresentModesKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfacePresentModesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32 *pSupported)
|
|
{
|
|
struct vkGetPhysicalDeviceSurfaceSupportKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
params.surface = surface;
|
|
params.pSupported = pSupported;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceSurfaceSupportKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceSurfaceSupportKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceToolProperties(VkPhysicalDevice physicalDevice, uint32_t *pToolCount, VkPhysicalDeviceToolProperties *pToolProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceToolProperties_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pToolCount = pToolCount;
|
|
params.pToolProperties = pToolProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceToolProperties, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceToolProperties");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t *pToolCount, VkPhysicalDeviceToolProperties *pToolProperties)
|
|
{
|
|
struct vkGetPhysicalDeviceToolPropertiesEXT_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.pToolCount = pToolCount;
|
|
params.pToolProperties = pToolProperties;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceToolPropertiesEXT, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceToolPropertiesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkBool32 WINAPI vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
|
|
{
|
|
struct vkGetPhysicalDeviceWin32PresentationSupportKHR_params params;
|
|
NTSTATUS status;
|
|
params.physicalDevice = physicalDevice;
|
|
params.queueFamilyIndex = queueFamilyIndex;
|
|
status = UNIX_CALL(vkGetPhysicalDeviceWin32PresentationSupportKHR, ¶ms);
|
|
assert(!status && "vkGetPhysicalDeviceWin32PresentationSupportKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t *pDataSize, void *pData)
|
|
{
|
|
struct vkGetPipelineCacheData_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipelineCache = pipelineCache;
|
|
params.pDataSize = pDataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetPipelineCacheData, ¶ms);
|
|
assert(!status && "vkGetPipelineCacheData");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutableInternalRepresentationsKHR(VkDevice device, const VkPipelineExecutableInfoKHR *pExecutableInfo, uint32_t *pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR *pInternalRepresentations)
|
|
{
|
|
struct vkGetPipelineExecutableInternalRepresentationsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pExecutableInfo = pExecutableInfo;
|
|
params.pInternalRepresentationCount = pInternalRepresentationCount;
|
|
params.pInternalRepresentations = pInternalRepresentations;
|
|
status = UNIX_CALL(vkGetPipelineExecutableInternalRepresentationsKHR, ¶ms);
|
|
assert(!status && "vkGetPipelineExecutableInternalRepresentationsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutablePropertiesKHR(VkDevice device, const VkPipelineInfoKHR *pPipelineInfo, uint32_t *pExecutableCount, VkPipelineExecutablePropertiesKHR *pProperties)
|
|
{
|
|
struct vkGetPipelineExecutablePropertiesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pPipelineInfo = pPipelineInfo;
|
|
params.pExecutableCount = pExecutableCount;
|
|
params.pProperties = pProperties;
|
|
status = UNIX_CALL(vkGetPipelineExecutablePropertiesKHR, ¶ms);
|
|
assert(!status && "vkGetPipelineExecutablePropertiesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelineExecutableStatisticsKHR(VkDevice device, const VkPipelineExecutableInfoKHR *pExecutableInfo, uint32_t *pStatisticCount, VkPipelineExecutableStatisticKHR *pStatistics)
|
|
{
|
|
struct vkGetPipelineExecutableStatisticsKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pExecutableInfo = pExecutableInfo;
|
|
params.pStatisticCount = pStatisticCount;
|
|
params.pStatistics = pStatistics;
|
|
status = UNIX_CALL(vkGetPipelineExecutableStatisticsKHR, ¶ms);
|
|
assert(!status && "vkGetPipelineExecutableStatisticsKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceAddress WINAPI vkGetPipelineIndirectDeviceAddressNV(VkDevice device, const VkPipelineIndirectDeviceAddressInfoNV *pInfo)
|
|
{
|
|
struct vkGetPipelineIndirectDeviceAddressNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetPipelineIndirectDeviceAddressNV, ¶ms);
|
|
assert(!status && "vkGetPipelineIndirectDeviceAddressNV");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetPipelineIndirectMemoryRequirementsNV(VkDevice device, const VkComputePipelineCreateInfo *pCreateInfo, VkMemoryRequirements2 *pMemoryRequirements)
|
|
{
|
|
struct vkGetPipelineIndirectMemoryRequirementsNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pMemoryRequirements = pMemoryRequirements;
|
|
status = UNIX_CALL(vkGetPipelineIndirectMemoryRequirementsNV, ¶ms);
|
|
assert(!status && "vkGetPipelineIndirectMemoryRequirementsNV");
|
|
}
|
|
|
|
VkResult WINAPI vkGetPipelinePropertiesEXT(VkDevice device, const VkPipelineInfoEXT *pPipelineInfo, VkBaseOutStructure *pPipelineProperties)
|
|
{
|
|
struct vkGetPipelinePropertiesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pPipelineInfo = pPipelineInfo;
|
|
params.pPipelineProperties = pPipelineProperties;
|
|
status = UNIX_CALL(vkGetPipelinePropertiesEXT, ¶ms);
|
|
assert(!status && "vkGetPipelinePropertiesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t *pData)
|
|
{
|
|
struct vkGetPrivateData_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetPrivateData, ¶ms);
|
|
assert(!status && "vkGetPrivateData");
|
|
}
|
|
|
|
void WINAPI vkGetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t *pData)
|
|
{
|
|
struct vkGetPrivateDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetPrivateDataEXT, ¶ms);
|
|
assert(!status && "vkGetPrivateDataEXT");
|
|
}
|
|
|
|
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;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
params.stride = stride;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkGetQueryPoolResults, ¶ms);
|
|
assert(!status && "vkGetQueryPoolResults");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetQueueCheckpointData2NV(VkQueue queue, uint32_t *pCheckpointDataCount, VkCheckpointData2NV *pCheckpointData)
|
|
{
|
|
struct vkGetQueueCheckpointData2NV_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pCheckpointDataCount = pCheckpointDataCount;
|
|
params.pCheckpointData = pCheckpointData;
|
|
status = UNIX_CALL(vkGetQueueCheckpointData2NV, ¶ms);
|
|
assert(!status && "vkGetQueueCheckpointData2NV");
|
|
}
|
|
|
|
void WINAPI vkGetQueueCheckpointDataNV(VkQueue queue, uint32_t *pCheckpointDataCount, VkCheckpointDataNV *pCheckpointData)
|
|
{
|
|
struct vkGetQueueCheckpointDataNV_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pCheckpointDataCount = pCheckpointDataCount;
|
|
params.pCheckpointData = pCheckpointData;
|
|
status = UNIX_CALL(vkGetQueueCheckpointDataNV, ¶ms);
|
|
assert(!status && "vkGetQueueCheckpointDataNV");
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingCaptureReplayShaderGroupHandlesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, ¶ms);
|
|
assert(!status && "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingShaderGroupHandlesKHR(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingShaderGroupHandlesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetRayTracingShaderGroupHandlesKHR, ¶ms);
|
|
assert(!status && "vkGetRayTracingShaderGroupHandlesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetRayTracingShaderGroupHandlesNV(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void *pData)
|
|
{
|
|
struct vkGetRayTracingShaderGroupHandlesNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.firstGroup = firstGroup;
|
|
params.groupCount = groupCount;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetRayTracingShaderGroupHandlesNV, ¶ms);
|
|
assert(!status && "vkGetRayTracingShaderGroupHandlesNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkDeviceSize WINAPI vkGetRayTracingShaderGroupStackSizeKHR(VkDevice device, VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader)
|
|
{
|
|
struct vkGetRayTracingShaderGroupStackSizeKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.group = group;
|
|
params.groupShader = groupShader;
|
|
status = UNIX_CALL(vkGetRayTracingShaderGroupStackSizeKHR, ¶ms);
|
|
assert(!status && "vkGetRayTracingShaderGroupStackSizeKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D *pGranularity)
|
|
{
|
|
struct vkGetRenderAreaGranularity_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.renderPass = renderPass;
|
|
params.pGranularity = pGranularity;
|
|
status = UNIX_CALL(vkGetRenderAreaGranularity, ¶ms);
|
|
assert(!status && "vkGetRenderAreaGranularity");
|
|
}
|
|
|
|
void WINAPI vkGetRenderingAreaGranularityKHR(VkDevice device, const VkRenderingAreaInfoKHR *pRenderingAreaInfo, VkExtent2D *pGranularity)
|
|
{
|
|
struct vkGetRenderingAreaGranularityKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pRenderingAreaInfo = pRenderingAreaInfo;
|
|
params.pGranularity = pGranularity;
|
|
status = UNIX_CALL(vkGetRenderingAreaGranularityKHR, ¶ms);
|
|
assert(!status && "vkGetRenderingAreaGranularityKHR");
|
|
}
|
|
|
|
VkResult WINAPI vkGetSamplerOpaqueCaptureDescriptorDataEXT(VkDevice device, const VkSamplerCaptureDescriptorDataInfoEXT *pInfo, void *pData)
|
|
{
|
|
struct vkGetSamplerOpaqueCaptureDescriptorDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInfo = pInfo;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetSamplerOpaqueCaptureDescriptorDataEXT, ¶ms);
|
|
assert(!status && "vkGetSamplerOpaqueCaptureDescriptorDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t *pValue)
|
|
{
|
|
struct vkGetSemaphoreCounterValue_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pValue = pValue;
|
|
status = UNIX_CALL(vkGetSemaphoreCounterValue, ¶ms);
|
|
assert(!status && "vkGetSemaphoreCounterValue");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetSemaphoreCounterValueKHR(VkDevice device, VkSemaphore semaphore, uint64_t *pValue)
|
|
{
|
|
struct vkGetSemaphoreCounterValueKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.semaphore = semaphore;
|
|
params.pValue = pValue;
|
|
status = UNIX_CALL(vkGetSemaphoreCounterValueKHR, ¶ms);
|
|
assert(!status && "vkGetSemaphoreCounterValueKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetShaderBinaryDataEXT(VkDevice device, VkShaderEXT shader, size_t *pDataSize, void *pData)
|
|
{
|
|
struct vkGetShaderBinaryDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.shader = shader;
|
|
params.pDataSize = pDataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetShaderBinaryDataEXT, ¶ms);
|
|
assert(!status && "vkGetShaderBinaryDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t *pInfoSize, void *pInfo)
|
|
{
|
|
struct vkGetShaderInfoAMD_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pipeline = pipeline;
|
|
params.shaderStage = shaderStage;
|
|
params.infoType = infoType;
|
|
params.pInfoSize = pInfoSize;
|
|
params.pInfo = pInfo;
|
|
status = UNIX_CALL(vkGetShaderInfoAMD, ¶ms);
|
|
assert(!status && "vkGetShaderInfoAMD");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkGetShaderModuleCreateInfoIdentifierEXT(VkDevice device, const VkShaderModuleCreateInfo *pCreateInfo, VkShaderModuleIdentifierEXT *pIdentifier)
|
|
{
|
|
struct vkGetShaderModuleCreateInfoIdentifierEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pCreateInfo = pCreateInfo;
|
|
params.pIdentifier = pIdentifier;
|
|
status = UNIX_CALL(vkGetShaderModuleCreateInfoIdentifierEXT, ¶ms);
|
|
assert(!status && "vkGetShaderModuleCreateInfoIdentifierEXT");
|
|
}
|
|
|
|
void WINAPI vkGetShaderModuleIdentifierEXT(VkDevice device, VkShaderModule shaderModule, VkShaderModuleIdentifierEXT *pIdentifier)
|
|
{
|
|
struct vkGetShaderModuleIdentifierEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.shaderModule = shaderModule;
|
|
params.pIdentifier = pIdentifier;
|
|
status = UNIX_CALL(vkGetShaderModuleIdentifierEXT, ¶ms);
|
|
assert(!status && "vkGetShaderModuleIdentifierEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pSwapchainImageCount, VkImage *pSwapchainImages)
|
|
{
|
|
struct vkGetSwapchainImagesKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pSwapchainImageCount = pSwapchainImageCount;
|
|
params.pSwapchainImages = pSwapchainImages;
|
|
status = UNIX_CALL(vkGetSwapchainImagesKHR, ¶ms);
|
|
assert(!status && "vkGetSwapchainImagesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, size_t *pDataSize, void *pData)
|
|
{
|
|
struct vkGetValidationCacheDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.validationCache = validationCache;
|
|
params.pDataSize = pDataSize;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkGetValidationCacheDataEXT, ¶ms);
|
|
assert(!status && "vkGetValidationCacheDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkInitializePerformanceApiINTEL(VkDevice device, const VkInitializePerformanceApiInfoINTEL *pInitializeInfo)
|
|
{
|
|
struct vkInitializePerformanceApiINTEL_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pInitializeInfo = pInitializeInfo;
|
|
status = UNIX_CALL(vkInitializePerformanceApiINTEL, ¶ms);
|
|
assert(!status && "vkInitializePerformanceApiINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkInvalidateMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
|
|
{
|
|
struct vkInvalidateMappedMemoryRanges_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memoryRangeCount = memoryRangeCount;
|
|
params.pMemoryRanges = pMemoryRanges;
|
|
status = UNIX_CALL(vkInvalidateMappedMemoryRanges, ¶ms);
|
|
assert(!status && "vkInvalidateMappedMemoryRanges");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkLatencySleepNV(VkDevice device, VkSwapchainKHR swapchain, const VkLatencySleepInfoNV *pSleepInfo)
|
|
{
|
|
struct vkLatencySleepNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pSleepInfo = pSleepInfo;
|
|
status = UNIX_CALL(vkLatencySleepNV, ¶ms);
|
|
assert(!status && "vkLatencySleepNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void **ppData)
|
|
{
|
|
struct vkMapMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.offset = offset;
|
|
params.size = size;
|
|
params.flags = flags;
|
|
params.ppData = ppData;
|
|
status = UNIX_CALL(vkMapMemory, ¶ms);
|
|
assert(!status && "vkMapMemory");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkMapMemory2KHR(VkDevice device, const VkMemoryMapInfoKHR *pMemoryMapInfo, void **ppData)
|
|
{
|
|
struct vkMapMemory2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pMemoryMapInfo = pMemoryMapInfo;
|
|
params.ppData = ppData;
|
|
status = UNIX_CALL(vkMapMemory2KHR, ¶ms);
|
|
assert(!status && "vkMapMemory2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache *pSrcCaches)
|
|
{
|
|
struct vkMergePipelineCaches_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.dstCache = dstCache;
|
|
params.srcCacheCount = srcCacheCount;
|
|
params.pSrcCaches = pSrcCaches;
|
|
status = UNIX_CALL(vkMergePipelineCaches, ¶ms);
|
|
assert(!status && "vkMergePipelineCaches");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT *pSrcCaches)
|
|
{
|
|
struct vkMergeValidationCachesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.dstCache = dstCache;
|
|
params.srcCacheCount = srcCacheCount;
|
|
params.pSrcCaches = pSrcCaches;
|
|
status = UNIX_CALL(vkMergeValidationCachesEXT, ¶ms);
|
|
assert(!status && "vkMergeValidationCachesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkQueueBeginDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkQueueBeginDebugUtilsLabelEXT_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pLabelInfo = pLabelInfo;
|
|
status = UNIX_CALL(vkQueueBeginDebugUtilsLabelEXT, ¶ms);
|
|
assert(!status && "vkQueueBeginDebugUtilsLabelEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo *pBindInfo, VkFence fence)
|
|
{
|
|
struct vkQueueBindSparse_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.bindInfoCount = bindInfoCount;
|
|
params.pBindInfo = pBindInfo;
|
|
params.fence = fence;
|
|
status = UNIX_CALL(vkQueueBindSparse, ¶ms);
|
|
assert(!status && "vkQueueBindSparse");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkQueueEndDebugUtilsLabelEXT(VkQueue queue)
|
|
{
|
|
struct vkQueueEndDebugUtilsLabelEXT_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
status = UNIX_CALL(vkQueueEndDebugUtilsLabelEXT, ¶ms);
|
|
assert(!status && "vkQueueEndDebugUtilsLabelEXT");
|
|
}
|
|
|
|
void WINAPI vkQueueInsertDebugUtilsLabelEXT(VkQueue queue, const VkDebugUtilsLabelEXT *pLabelInfo)
|
|
{
|
|
struct vkQueueInsertDebugUtilsLabelEXT_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pLabelInfo = pLabelInfo;
|
|
status = UNIX_CALL(vkQueueInsertDebugUtilsLabelEXT, ¶ms);
|
|
assert(!status && "vkQueueInsertDebugUtilsLabelEXT");
|
|
}
|
|
|
|
void WINAPI vkQueueNotifyOutOfBandNV(VkQueue queue, const VkOutOfBandQueueTypeInfoNV *pQueueTypeInfo)
|
|
{
|
|
struct vkQueueNotifyOutOfBandNV_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pQueueTypeInfo = pQueueTypeInfo;
|
|
status = UNIX_CALL(vkQueueNotifyOutOfBandNV, ¶ms);
|
|
assert(!status && "vkQueueNotifyOutOfBandNV");
|
|
}
|
|
|
|
VkResult WINAPI vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo)
|
|
{
|
|
struct vkQueuePresentKHR_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.pPresentInfo = pPresentInfo;
|
|
status = UNIX_CALL(vkQueuePresentKHR, ¶ms);
|
|
assert(!status && "vkQueuePresentKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSetPerformanceConfigurationINTEL(VkQueue queue, VkPerformanceConfigurationINTEL configuration)
|
|
{
|
|
struct vkQueueSetPerformanceConfigurationINTEL_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.configuration = configuration;
|
|
status = UNIX_CALL(vkQueueSetPerformanceConfigurationINTEL, ¶ms);
|
|
assert(!status && "vkQueueSetPerformanceConfigurationINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo *pSubmits, VkFence fence)
|
|
{
|
|
struct vkQueueSubmit_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.submitCount = submitCount;
|
|
params.pSubmits = pSubmits;
|
|
params.fence = fence;
|
|
status = UNIX_CALL(vkQueueSubmit, ¶ms);
|
|
assert(!status && "vkQueueSubmit");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSubmit2(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2 *pSubmits, VkFence fence)
|
|
{
|
|
struct vkQueueSubmit2_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.submitCount = submitCount;
|
|
params.pSubmits = pSubmits;
|
|
params.fence = fence;
|
|
status = UNIX_CALL(vkQueueSubmit2, ¶ms);
|
|
assert(!status && "vkQueueSubmit2");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkQueueSubmit2KHR(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2 *pSubmits, VkFence fence)
|
|
{
|
|
struct vkQueueSubmit2KHR_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
params.submitCount = submitCount;
|
|
params.pSubmits = pSubmits;
|
|
params.fence = fence;
|
|
status = UNIX_CALL(vkQueueSubmit2KHR, ¶ms);
|
|
assert(!status && "vkQueueSubmit2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkQueueWaitIdle(VkQueue queue)
|
|
{
|
|
struct vkQueueWaitIdle_params params;
|
|
NTSTATUS status;
|
|
params.queue = queue;
|
|
status = UNIX_CALL(vkQueueWaitIdle, ¶ms);
|
|
assert(!status && "vkQueueWaitIdle");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkReleasePerformanceConfigurationINTEL(VkDevice device, VkPerformanceConfigurationINTEL configuration)
|
|
{
|
|
struct vkReleasePerformanceConfigurationINTEL_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.configuration = configuration;
|
|
status = UNIX_CALL(vkReleasePerformanceConfigurationINTEL, ¶ms);
|
|
assert(!status && "vkReleasePerformanceConfigurationINTEL");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkReleaseProfilingLockKHR(VkDevice device)
|
|
{
|
|
struct vkReleaseProfilingLockKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
status = UNIX_CALL(vkReleaseProfilingLockKHR, ¶ms);
|
|
assert(!status && "vkReleaseProfilingLockKHR");
|
|
}
|
|
|
|
VkResult WINAPI vkReleaseSwapchainImagesEXT(VkDevice device, const VkReleaseSwapchainImagesInfoEXT *pReleaseInfo)
|
|
{
|
|
struct vkReleaseSwapchainImagesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pReleaseInfo = pReleaseInfo;
|
|
status = UNIX_CALL(vkReleaseSwapchainImagesEXT, ¶ms);
|
|
assert(!status && "vkReleaseSwapchainImagesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags)
|
|
{
|
|
struct vkResetCommandBuffer_params params;
|
|
NTSTATUS status;
|
|
params.commandBuffer = commandBuffer;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkResetCommandBuffer, ¶ms);
|
|
assert(!status && "vkResetCommandBuffer");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags)
|
|
{
|
|
struct vkResetCommandPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkResetCommandPool, ¶ms);
|
|
assert(!status && "vkResetCommandPool");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags)
|
|
{
|
|
struct vkResetDescriptorPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorPool = descriptorPool;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkResetDescriptorPool, ¶ms);
|
|
assert(!status && "vkResetDescriptorPool");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkResetEvent(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkResetEvent_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.event = event;
|
|
status = UNIX_CALL(vkResetEvent, ¶ms);
|
|
assert(!status && "vkResetEvent");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences)
|
|
{
|
|
struct vkResetFences_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.fenceCount = fenceCount;
|
|
params.pFences = pFences;
|
|
status = UNIX_CALL(vkResetFences, ¶ms);
|
|
assert(!status && "vkResetFences");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
|
|
{
|
|
struct vkResetQueryPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
status = UNIX_CALL(vkResetQueryPool, ¶ms);
|
|
assert(!status && "vkResetQueryPool");
|
|
}
|
|
|
|
void WINAPI vkResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount)
|
|
{
|
|
struct vkResetQueryPoolEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.queryPool = queryPool;
|
|
params.firstQuery = firstQuery;
|
|
params.queryCount = queryCount;
|
|
status = UNIX_CALL(vkResetQueryPoolEXT, ¶ms);
|
|
assert(!status && "vkResetQueryPoolEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkSetDebugUtilsObjectNameEXT(VkDevice device, const VkDebugUtilsObjectNameInfoEXT *pNameInfo)
|
|
{
|
|
struct vkSetDebugUtilsObjectNameEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pNameInfo = pNameInfo;
|
|
status = UNIX_CALL(vkSetDebugUtilsObjectNameEXT, ¶ms);
|
|
assert(!status && "vkSetDebugUtilsObjectNameEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkSetDebugUtilsObjectTagEXT(VkDevice device, const VkDebugUtilsObjectTagInfoEXT *pTagInfo)
|
|
{
|
|
struct vkSetDebugUtilsObjectTagEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pTagInfo = pTagInfo;
|
|
status = UNIX_CALL(vkSetDebugUtilsObjectTagEXT, ¶ms);
|
|
assert(!status && "vkSetDebugUtilsObjectTagEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkSetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority)
|
|
{
|
|
struct vkSetDeviceMemoryPriorityEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
params.priority = priority;
|
|
status = UNIX_CALL(vkSetDeviceMemoryPriorityEXT, ¶ms);
|
|
assert(!status && "vkSetDeviceMemoryPriorityEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkSetEvent(VkDevice device, VkEvent event)
|
|
{
|
|
struct vkSetEvent_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.event = event;
|
|
status = UNIX_CALL(vkSetEvent, ¶ms);
|
|
assert(!status && "vkSetEvent");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkSetHdrMetadataEXT(VkDevice device, uint32_t swapchainCount, const VkSwapchainKHR *pSwapchains, const VkHdrMetadataEXT *pMetadata)
|
|
{
|
|
struct vkSetHdrMetadataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchainCount = swapchainCount;
|
|
params.pSwapchains = pSwapchains;
|
|
params.pMetadata = pMetadata;
|
|
status = UNIX_CALL(vkSetHdrMetadataEXT, ¶ms);
|
|
assert(!status && "vkSetHdrMetadataEXT");
|
|
}
|
|
|
|
void WINAPI vkSetLatencyMarkerNV(VkDevice device, VkSwapchainKHR swapchain, const VkSetLatencyMarkerInfoNV *pLatencyMarkerInfo)
|
|
{
|
|
struct vkSetLatencyMarkerNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pLatencyMarkerInfo = pLatencyMarkerInfo;
|
|
status = UNIX_CALL(vkSetLatencyMarkerNV, ¶ms);
|
|
assert(!status && "vkSetLatencyMarkerNV");
|
|
}
|
|
|
|
VkResult WINAPI vkSetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain, const VkLatencySleepModeInfoNV *pSleepModeInfo)
|
|
{
|
|
struct vkSetLatencySleepModeNV_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.pSleepModeInfo = pSleepModeInfo;
|
|
status = UNIX_CALL(vkSetLatencySleepModeNV, ¶ms);
|
|
assert(!status && "vkSetLatencySleepModeNV");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkSetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data)
|
|
{
|
|
struct vkSetPrivateData_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.data = data;
|
|
status = UNIX_CALL(vkSetPrivateData, ¶ms);
|
|
assert(!status && "vkSetPrivateData");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkSetPrivateDataEXT(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data)
|
|
{
|
|
struct vkSetPrivateDataEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.objectType = objectType;
|
|
params.objectHandle = objectHandle;
|
|
params.privateDataSlot = privateDataSlot;
|
|
params.data = data;
|
|
status = UNIX_CALL(vkSetPrivateDataEXT, ¶ms);
|
|
assert(!status && "vkSetPrivateDataEXT");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkSignalSemaphore(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo)
|
|
{
|
|
struct vkSignalSemaphore_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pSignalInfo = pSignalInfo;
|
|
status = UNIX_CALL(vkSignalSemaphore, ¶ms);
|
|
assert(!status && "vkSignalSemaphore");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkSignalSemaphoreKHR(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo)
|
|
{
|
|
struct vkSignalSemaphoreKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pSignalInfo = pSignalInfo;
|
|
status = UNIX_CALL(vkSignalSemaphoreKHR, ¶ms);
|
|
assert(!status && "vkSignalSemaphoreKHR");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkSubmitDebugUtilsMessageEXT(VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData)
|
|
{
|
|
struct vkSubmitDebugUtilsMessageEXT_params params;
|
|
NTSTATUS status;
|
|
params.instance = instance;
|
|
params.messageSeverity = messageSeverity;
|
|
params.messageTypes = messageTypes;
|
|
params.pCallbackData = pCallbackData;
|
|
status = UNIX_CALL(vkSubmitDebugUtilsMessageEXT, ¶ms);
|
|
assert(!status && "vkSubmitDebugUtilsMessageEXT");
|
|
}
|
|
|
|
VkResult WINAPI vkTransitionImageLayoutEXT(VkDevice device, uint32_t transitionCount, const VkHostImageLayoutTransitionInfoEXT *pTransitions)
|
|
{
|
|
struct vkTransitionImageLayoutEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.transitionCount = transitionCount;
|
|
params.pTransitions = pTransitions;
|
|
status = UNIX_CALL(vkTransitionImageLayoutEXT, ¶ms);
|
|
assert(!status && "vkTransitionImageLayoutEXT");
|
|
return params.result;
|
|
}
|
|
|
|
void WINAPI vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags)
|
|
{
|
|
struct vkTrimCommandPool_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkTrimCommandPool, ¶ms);
|
|
assert(!status && "vkTrimCommandPool");
|
|
}
|
|
|
|
void WINAPI vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags)
|
|
{
|
|
struct vkTrimCommandPoolKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.commandPool = commandPool;
|
|
params.flags = flags;
|
|
status = UNIX_CALL(vkTrimCommandPoolKHR, ¶ms);
|
|
assert(!status && "vkTrimCommandPoolKHR");
|
|
}
|
|
|
|
void WINAPI vkUninitializePerformanceApiINTEL(VkDevice device)
|
|
{
|
|
struct vkUninitializePerformanceApiINTEL_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
status = UNIX_CALL(vkUninitializePerformanceApiINTEL, ¶ms);
|
|
assert(!status && "vkUninitializePerformanceApiINTEL");
|
|
}
|
|
|
|
void WINAPI vkUnmapMemory(VkDevice device, VkDeviceMemory memory)
|
|
{
|
|
struct vkUnmapMemory_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.memory = memory;
|
|
status = UNIX_CALL(vkUnmapMemory, ¶ms);
|
|
assert(!status && "vkUnmapMemory");
|
|
}
|
|
|
|
VkResult WINAPI vkUnmapMemory2KHR(VkDevice device, const VkMemoryUnmapInfoKHR *pMemoryUnmapInfo)
|
|
{
|
|
struct vkUnmapMemory2KHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pMemoryUnmapInfo = pMemoryUnmapInfo;
|
|
status = UNIX_CALL(vkUnmapMemory2KHR, ¶ms);
|
|
assert(!status && "vkUnmapMemory2KHR");
|
|
return params.result;
|
|
}
|
|
|
|
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_CALL(vkUpdateDescriptorSetWithTemplate, ¶ms);
|
|
}
|
|
|
|
void WINAPI vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData)
|
|
{
|
|
struct vkUpdateDescriptorSetWithTemplateKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.descriptorSet = descriptorSet;
|
|
params.descriptorUpdateTemplate = descriptorUpdateTemplate;
|
|
params.pData = pData;
|
|
status = UNIX_CALL(vkUpdateDescriptorSetWithTemplateKHR, ¶ms);
|
|
assert(!status && "vkUpdateDescriptorSetWithTemplateKHR");
|
|
}
|
|
|
|
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_CALL(vkUpdateDescriptorSets, ¶ms);
|
|
}
|
|
|
|
VkResult WINAPI vkWaitForFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences, VkBool32 waitAll, uint64_t timeout)
|
|
{
|
|
struct vkWaitForFences_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.fenceCount = fenceCount;
|
|
params.pFences = pFences;
|
|
params.waitAll = waitAll;
|
|
params.timeout = timeout;
|
|
status = UNIX_CALL(vkWaitForFences, ¶ms);
|
|
assert(!status && "vkWaitForFences");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkWaitForPresentKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout)
|
|
{
|
|
struct vkWaitForPresentKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.swapchain = swapchain;
|
|
params.presentId = presentId;
|
|
params.timeout = timeout;
|
|
status = UNIX_CALL(vkWaitForPresentKHR, ¶ms);
|
|
assert(!status && "vkWaitForPresentKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkWaitSemaphores(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout)
|
|
{
|
|
struct vkWaitSemaphores_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pWaitInfo = pWaitInfo;
|
|
params.timeout = timeout;
|
|
status = UNIX_CALL(vkWaitSemaphores, ¶ms);
|
|
assert(!status && "vkWaitSemaphores");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkWaitSemaphoresKHR(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout)
|
|
{
|
|
struct vkWaitSemaphoresKHR_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.pWaitInfo = pWaitInfo;
|
|
params.timeout = timeout;
|
|
status = UNIX_CALL(vkWaitSemaphoresKHR, ¶ms);
|
|
assert(!status && "vkWaitSemaphoresKHR");
|
|
return params.result;
|
|
}
|
|
|
|
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;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.accelerationStructureCount = accelerationStructureCount;
|
|
params.pAccelerationStructures = pAccelerationStructures;
|
|
params.queryType = queryType;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
params.stride = stride;
|
|
status = UNIX_CALL(vkWriteAccelerationStructuresPropertiesKHR, ¶ms);
|
|
assert(!status && "vkWriteAccelerationStructuresPropertiesKHR");
|
|
return params.result;
|
|
}
|
|
|
|
VkResult WINAPI vkWriteMicromapsPropertiesEXT(VkDevice device, uint32_t micromapCount, const VkMicromapEXT *pMicromaps, VkQueryType queryType, size_t dataSize, void *pData, size_t stride)
|
|
{
|
|
struct vkWriteMicromapsPropertiesEXT_params params;
|
|
NTSTATUS status;
|
|
params.device = device;
|
|
params.micromapCount = micromapCount;
|
|
params.pMicromaps = pMicromaps;
|
|
params.queryType = queryType;
|
|
params.dataSize = dataSize;
|
|
params.pData = pData;
|
|
params.stride = stride;
|
|
status = UNIX_CALL(vkWriteMicromapsPropertiesEXT, ¶ms);
|
|
assert(!status && "vkWriteMicromapsPropertiesEXT");
|
|
return params.result;
|
|
}
|
|
|
|
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},
|
|
{"vkBindOpticalFlowSessionImageNV", vkBindOpticalFlowSessionImageNV},
|
|
{"vkBuildAccelerationStructuresKHR", vkBuildAccelerationStructuresKHR},
|
|
{"vkBuildMicromapsEXT", vkBuildMicromapsEXT},
|
|
{"vkCmdBeginConditionalRenderingEXT", vkCmdBeginConditionalRenderingEXT},
|
|
{"vkCmdBeginDebugUtilsLabelEXT", vkCmdBeginDebugUtilsLabelEXT},
|
|
{"vkCmdBeginQuery", vkCmdBeginQuery},
|
|
{"vkCmdBeginQueryIndexedEXT", vkCmdBeginQueryIndexedEXT},
|
|
{"vkCmdBeginRenderPass", vkCmdBeginRenderPass},
|
|
{"vkCmdBeginRenderPass2", vkCmdBeginRenderPass2},
|
|
{"vkCmdBeginRenderPass2KHR", vkCmdBeginRenderPass2KHR},
|
|
{"vkCmdBeginRendering", vkCmdBeginRendering},
|
|
{"vkCmdBeginRenderingKHR", vkCmdBeginRenderingKHR},
|
|
{"vkCmdBeginTransformFeedbackEXT", vkCmdBeginTransformFeedbackEXT},
|
|
{"vkCmdBindDescriptorBufferEmbeddedSamplers2EXT", vkCmdBindDescriptorBufferEmbeddedSamplers2EXT},
|
|
{"vkCmdBindDescriptorBufferEmbeddedSamplersEXT", vkCmdBindDescriptorBufferEmbeddedSamplersEXT},
|
|
{"vkCmdBindDescriptorBuffersEXT", vkCmdBindDescriptorBuffersEXT},
|
|
{"vkCmdBindDescriptorSets", vkCmdBindDescriptorSets},
|
|
{"vkCmdBindDescriptorSets2KHR", vkCmdBindDescriptorSets2KHR},
|
|
{"vkCmdBindIndexBuffer", vkCmdBindIndexBuffer},
|
|
{"vkCmdBindIndexBuffer2KHR", vkCmdBindIndexBuffer2KHR},
|
|
{"vkCmdBindInvocationMaskHUAWEI", vkCmdBindInvocationMaskHUAWEI},
|
|
{"vkCmdBindPipeline", vkCmdBindPipeline},
|
|
{"vkCmdBindPipelineShaderGroupNV", vkCmdBindPipelineShaderGroupNV},
|
|
{"vkCmdBindShadersEXT", vkCmdBindShadersEXT},
|
|
{"vkCmdBindShadingRateImageNV", vkCmdBindShadingRateImageNV},
|
|
{"vkCmdBindTransformFeedbackBuffersEXT", vkCmdBindTransformFeedbackBuffersEXT},
|
|
{"vkCmdBindVertexBuffers", vkCmdBindVertexBuffers},
|
|
{"vkCmdBindVertexBuffers2", vkCmdBindVertexBuffers2},
|
|
{"vkCmdBindVertexBuffers2EXT", vkCmdBindVertexBuffers2EXT},
|
|
{"vkCmdBlitImage", vkCmdBlitImage},
|
|
{"vkCmdBlitImage2", vkCmdBlitImage2},
|
|
{"vkCmdBlitImage2KHR", vkCmdBlitImage2KHR},
|
|
{"vkCmdBuildAccelerationStructureNV", vkCmdBuildAccelerationStructureNV},
|
|
{"vkCmdBuildAccelerationStructuresIndirectKHR", vkCmdBuildAccelerationStructuresIndirectKHR},
|
|
{"vkCmdBuildAccelerationStructuresKHR", vkCmdBuildAccelerationStructuresKHR},
|
|
{"vkCmdBuildMicromapsEXT", vkCmdBuildMicromapsEXT},
|
|
{"vkCmdClearAttachments", vkCmdClearAttachments},
|
|
{"vkCmdClearColorImage", vkCmdClearColorImage},
|
|
{"vkCmdClearDepthStencilImage", vkCmdClearDepthStencilImage},
|
|
{"vkCmdCopyAccelerationStructureKHR", vkCmdCopyAccelerationStructureKHR},
|
|
{"vkCmdCopyAccelerationStructureNV", vkCmdCopyAccelerationStructureNV},
|
|
{"vkCmdCopyAccelerationStructureToMemoryKHR", vkCmdCopyAccelerationStructureToMemoryKHR},
|
|
{"vkCmdCopyBuffer", vkCmdCopyBuffer},
|
|
{"vkCmdCopyBuffer2", vkCmdCopyBuffer2},
|
|
{"vkCmdCopyBuffer2KHR", vkCmdCopyBuffer2KHR},
|
|
{"vkCmdCopyBufferToImage", vkCmdCopyBufferToImage},
|
|
{"vkCmdCopyBufferToImage2", vkCmdCopyBufferToImage2},
|
|
{"vkCmdCopyBufferToImage2KHR", vkCmdCopyBufferToImage2KHR},
|
|
{"vkCmdCopyImage", vkCmdCopyImage},
|
|
{"vkCmdCopyImage2", vkCmdCopyImage2},
|
|
{"vkCmdCopyImage2KHR", vkCmdCopyImage2KHR},
|
|
{"vkCmdCopyImageToBuffer", vkCmdCopyImageToBuffer},
|
|
{"vkCmdCopyImageToBuffer2", vkCmdCopyImageToBuffer2},
|
|
{"vkCmdCopyImageToBuffer2KHR", vkCmdCopyImageToBuffer2KHR},
|
|
{"vkCmdCopyMemoryIndirectNV", vkCmdCopyMemoryIndirectNV},
|
|
{"vkCmdCopyMemoryToAccelerationStructureKHR", vkCmdCopyMemoryToAccelerationStructureKHR},
|
|
{"vkCmdCopyMemoryToImageIndirectNV", vkCmdCopyMemoryToImageIndirectNV},
|
|
{"vkCmdCopyMemoryToMicromapEXT", vkCmdCopyMemoryToMicromapEXT},
|
|
{"vkCmdCopyMicromapEXT", vkCmdCopyMicromapEXT},
|
|
{"vkCmdCopyMicromapToMemoryEXT", vkCmdCopyMicromapToMemoryEXT},
|
|
{"vkCmdCopyQueryPoolResults", vkCmdCopyQueryPoolResults},
|
|
{"vkCmdCuLaunchKernelNVX", vkCmdCuLaunchKernelNVX},
|
|
{"vkCmdCudaLaunchKernelNV", vkCmdCudaLaunchKernelNV},
|
|
{"vkCmdDebugMarkerBeginEXT", vkCmdDebugMarkerBeginEXT},
|
|
{"vkCmdDebugMarkerEndEXT", vkCmdDebugMarkerEndEXT},
|
|
{"vkCmdDebugMarkerInsertEXT", vkCmdDebugMarkerInsertEXT},
|
|
{"vkCmdDecompressMemoryIndirectCountNV", vkCmdDecompressMemoryIndirectCountNV},
|
|
{"vkCmdDecompressMemoryNV", vkCmdDecompressMemoryNV},
|
|
{"vkCmdDispatch", vkCmdDispatch},
|
|
{"vkCmdDispatchBase", vkCmdDispatchBase},
|
|
{"vkCmdDispatchBaseKHR", vkCmdDispatchBaseKHR},
|
|
{"vkCmdDispatchIndirect", vkCmdDispatchIndirect},
|
|
{"vkCmdDraw", vkCmdDraw},
|
|
{"vkCmdDrawClusterHUAWEI", vkCmdDrawClusterHUAWEI},
|
|
{"vkCmdDrawClusterIndirectHUAWEI", vkCmdDrawClusterIndirectHUAWEI},
|
|
{"vkCmdDrawIndexed", vkCmdDrawIndexed},
|
|
{"vkCmdDrawIndexedIndirect", vkCmdDrawIndexedIndirect},
|
|
{"vkCmdDrawIndexedIndirectCount", vkCmdDrawIndexedIndirectCount},
|
|
{"vkCmdDrawIndexedIndirectCountAMD", vkCmdDrawIndexedIndirectCountAMD},
|
|
{"vkCmdDrawIndexedIndirectCountKHR", vkCmdDrawIndexedIndirectCountKHR},
|
|
{"vkCmdDrawIndirect", vkCmdDrawIndirect},
|
|
{"vkCmdDrawIndirectByteCountEXT", vkCmdDrawIndirectByteCountEXT},
|
|
{"vkCmdDrawIndirectCount", vkCmdDrawIndirectCount},
|
|
{"vkCmdDrawIndirectCountAMD", vkCmdDrawIndirectCountAMD},
|
|
{"vkCmdDrawIndirectCountKHR", vkCmdDrawIndirectCountKHR},
|
|
{"vkCmdDrawMeshTasksEXT", vkCmdDrawMeshTasksEXT},
|
|
{"vkCmdDrawMeshTasksIndirectCountEXT", vkCmdDrawMeshTasksIndirectCountEXT},
|
|
{"vkCmdDrawMeshTasksIndirectCountNV", vkCmdDrawMeshTasksIndirectCountNV},
|
|
{"vkCmdDrawMeshTasksIndirectEXT", vkCmdDrawMeshTasksIndirectEXT},
|
|
{"vkCmdDrawMeshTasksIndirectNV", vkCmdDrawMeshTasksIndirectNV},
|
|
{"vkCmdDrawMeshTasksNV", vkCmdDrawMeshTasksNV},
|
|
{"vkCmdDrawMultiEXT", vkCmdDrawMultiEXT},
|
|
{"vkCmdDrawMultiIndexedEXT", vkCmdDrawMultiIndexedEXT},
|
|
{"vkCmdEndConditionalRenderingEXT", vkCmdEndConditionalRenderingEXT},
|
|
{"vkCmdEndDebugUtilsLabelEXT", vkCmdEndDebugUtilsLabelEXT},
|
|
{"vkCmdEndQuery", vkCmdEndQuery},
|
|
{"vkCmdEndQueryIndexedEXT", vkCmdEndQueryIndexedEXT},
|
|
{"vkCmdEndRenderPass", vkCmdEndRenderPass},
|
|
{"vkCmdEndRenderPass2", vkCmdEndRenderPass2},
|
|
{"vkCmdEndRenderPass2KHR", vkCmdEndRenderPass2KHR},
|
|
{"vkCmdEndRendering", vkCmdEndRendering},
|
|
{"vkCmdEndRenderingKHR", vkCmdEndRenderingKHR},
|
|
{"vkCmdEndTransformFeedbackEXT", vkCmdEndTransformFeedbackEXT},
|
|
{"vkCmdExecuteCommands", vkCmdExecuteCommands},
|
|
{"vkCmdExecuteGeneratedCommandsNV", vkCmdExecuteGeneratedCommandsNV},
|
|
{"vkCmdFillBuffer", vkCmdFillBuffer},
|
|
{"vkCmdInsertDebugUtilsLabelEXT", vkCmdInsertDebugUtilsLabelEXT},
|
|
{"vkCmdNextSubpass", vkCmdNextSubpass},
|
|
{"vkCmdNextSubpass2", vkCmdNextSubpass2},
|
|
{"vkCmdNextSubpass2KHR", vkCmdNextSubpass2KHR},
|
|
{"vkCmdOpticalFlowExecuteNV", vkCmdOpticalFlowExecuteNV},
|
|
{"vkCmdPipelineBarrier", vkCmdPipelineBarrier},
|
|
{"vkCmdPipelineBarrier2", vkCmdPipelineBarrier2},
|
|
{"vkCmdPipelineBarrier2KHR", vkCmdPipelineBarrier2KHR},
|
|
{"vkCmdPreprocessGeneratedCommandsNV", vkCmdPreprocessGeneratedCommandsNV},
|
|
{"vkCmdPushConstants", vkCmdPushConstants},
|
|
{"vkCmdPushConstants2KHR", vkCmdPushConstants2KHR},
|
|
{"vkCmdPushDescriptorSet2KHR", vkCmdPushDescriptorSet2KHR},
|
|
{"vkCmdPushDescriptorSetKHR", vkCmdPushDescriptorSetKHR},
|
|
{"vkCmdPushDescriptorSetWithTemplate2KHR", vkCmdPushDescriptorSetWithTemplate2KHR},
|
|
{"vkCmdPushDescriptorSetWithTemplateKHR", vkCmdPushDescriptorSetWithTemplateKHR},
|
|
{"vkCmdResetEvent", vkCmdResetEvent},
|
|
{"vkCmdResetEvent2", vkCmdResetEvent2},
|
|
{"vkCmdResetEvent2KHR", vkCmdResetEvent2KHR},
|
|
{"vkCmdResetQueryPool", vkCmdResetQueryPool},
|
|
{"vkCmdResolveImage", vkCmdResolveImage},
|
|
{"vkCmdResolveImage2", vkCmdResolveImage2},
|
|
{"vkCmdResolveImage2KHR", vkCmdResolveImage2KHR},
|
|
{"vkCmdSetAlphaToCoverageEnableEXT", vkCmdSetAlphaToCoverageEnableEXT},
|
|
{"vkCmdSetAlphaToOneEnableEXT", vkCmdSetAlphaToOneEnableEXT},
|
|
{"vkCmdSetAttachmentFeedbackLoopEnableEXT", vkCmdSetAttachmentFeedbackLoopEnableEXT},
|
|
{"vkCmdSetBlendConstants", vkCmdSetBlendConstants},
|
|
{"vkCmdSetCheckpointNV", vkCmdSetCheckpointNV},
|
|
{"vkCmdSetCoarseSampleOrderNV", vkCmdSetCoarseSampleOrderNV},
|
|
{"vkCmdSetColorBlendAdvancedEXT", vkCmdSetColorBlendAdvancedEXT},
|
|
{"vkCmdSetColorBlendEnableEXT", vkCmdSetColorBlendEnableEXT},
|
|
{"vkCmdSetColorBlendEquationEXT", vkCmdSetColorBlendEquationEXT},
|
|
{"vkCmdSetColorWriteEnableEXT", vkCmdSetColorWriteEnableEXT},
|
|
{"vkCmdSetColorWriteMaskEXT", vkCmdSetColorWriteMaskEXT},
|
|
{"vkCmdSetConservativeRasterizationModeEXT", vkCmdSetConservativeRasterizationModeEXT},
|
|
{"vkCmdSetCoverageModulationModeNV", vkCmdSetCoverageModulationModeNV},
|
|
{"vkCmdSetCoverageModulationTableEnableNV", vkCmdSetCoverageModulationTableEnableNV},
|
|
{"vkCmdSetCoverageModulationTableNV", vkCmdSetCoverageModulationTableNV},
|
|
{"vkCmdSetCoverageReductionModeNV", vkCmdSetCoverageReductionModeNV},
|
|
{"vkCmdSetCoverageToColorEnableNV", vkCmdSetCoverageToColorEnableNV},
|
|
{"vkCmdSetCoverageToColorLocationNV", vkCmdSetCoverageToColorLocationNV},
|
|
{"vkCmdSetCullMode", vkCmdSetCullMode},
|
|
{"vkCmdSetCullModeEXT", vkCmdSetCullModeEXT},
|
|
{"vkCmdSetDepthBias", vkCmdSetDepthBias},
|
|
{"vkCmdSetDepthBias2EXT", vkCmdSetDepthBias2EXT},
|
|
{"vkCmdSetDepthBiasEnable", vkCmdSetDepthBiasEnable},
|
|
{"vkCmdSetDepthBiasEnableEXT", vkCmdSetDepthBiasEnableEXT},
|
|
{"vkCmdSetDepthBounds", vkCmdSetDepthBounds},
|
|
{"vkCmdSetDepthBoundsTestEnable", vkCmdSetDepthBoundsTestEnable},
|
|
{"vkCmdSetDepthBoundsTestEnableEXT", vkCmdSetDepthBoundsTestEnableEXT},
|
|
{"vkCmdSetDepthClampEnableEXT", vkCmdSetDepthClampEnableEXT},
|
|
{"vkCmdSetDepthClipEnableEXT", vkCmdSetDepthClipEnableEXT},
|
|
{"vkCmdSetDepthClipNegativeOneToOneEXT", vkCmdSetDepthClipNegativeOneToOneEXT},
|
|
{"vkCmdSetDepthCompareOp", vkCmdSetDepthCompareOp},
|
|
{"vkCmdSetDepthCompareOpEXT", vkCmdSetDepthCompareOpEXT},
|
|
{"vkCmdSetDepthTestEnable", vkCmdSetDepthTestEnable},
|
|
{"vkCmdSetDepthTestEnableEXT", vkCmdSetDepthTestEnableEXT},
|
|
{"vkCmdSetDepthWriteEnable", vkCmdSetDepthWriteEnable},
|
|
{"vkCmdSetDepthWriteEnableEXT", vkCmdSetDepthWriteEnableEXT},
|
|
{"vkCmdSetDescriptorBufferOffsets2EXT", vkCmdSetDescriptorBufferOffsets2EXT},
|
|
{"vkCmdSetDescriptorBufferOffsetsEXT", vkCmdSetDescriptorBufferOffsetsEXT},
|
|
{"vkCmdSetDeviceMask", vkCmdSetDeviceMask},
|
|
{"vkCmdSetDeviceMaskKHR", vkCmdSetDeviceMaskKHR},
|
|
{"vkCmdSetDiscardRectangleEXT", vkCmdSetDiscardRectangleEXT},
|
|
{"vkCmdSetDiscardRectangleEnableEXT", vkCmdSetDiscardRectangleEnableEXT},
|
|
{"vkCmdSetDiscardRectangleModeEXT", vkCmdSetDiscardRectangleModeEXT},
|
|
{"vkCmdSetEvent", vkCmdSetEvent},
|
|
{"vkCmdSetEvent2", vkCmdSetEvent2},
|
|
{"vkCmdSetEvent2KHR", vkCmdSetEvent2KHR},
|
|
{"vkCmdSetExclusiveScissorEnableNV", vkCmdSetExclusiveScissorEnableNV},
|
|
{"vkCmdSetExclusiveScissorNV", vkCmdSetExclusiveScissorNV},
|
|
{"vkCmdSetExtraPrimitiveOverestimationSizeEXT", vkCmdSetExtraPrimitiveOverestimationSizeEXT},
|
|
{"vkCmdSetFragmentShadingRateEnumNV", vkCmdSetFragmentShadingRateEnumNV},
|
|
{"vkCmdSetFragmentShadingRateKHR", vkCmdSetFragmentShadingRateKHR},
|
|
{"vkCmdSetFrontFace", vkCmdSetFrontFace},
|
|
{"vkCmdSetFrontFaceEXT", vkCmdSetFrontFaceEXT},
|
|
{"vkCmdSetLineRasterizationModeEXT", vkCmdSetLineRasterizationModeEXT},
|
|
{"vkCmdSetLineStippleEXT", vkCmdSetLineStippleEXT},
|
|
{"vkCmdSetLineStippleEnableEXT", vkCmdSetLineStippleEnableEXT},
|
|
{"vkCmdSetLineStippleKHR", vkCmdSetLineStippleKHR},
|
|
{"vkCmdSetLineWidth", vkCmdSetLineWidth},
|
|
{"vkCmdSetLogicOpEXT", vkCmdSetLogicOpEXT},
|
|
{"vkCmdSetLogicOpEnableEXT", vkCmdSetLogicOpEnableEXT},
|
|
{"vkCmdSetPatchControlPointsEXT", vkCmdSetPatchControlPointsEXT},
|
|
{"vkCmdSetPerformanceMarkerINTEL", vkCmdSetPerformanceMarkerINTEL},
|
|
{"vkCmdSetPerformanceOverrideINTEL", vkCmdSetPerformanceOverrideINTEL},
|
|
{"vkCmdSetPerformanceStreamMarkerINTEL", vkCmdSetPerformanceStreamMarkerINTEL},
|
|
{"vkCmdSetPolygonModeEXT", vkCmdSetPolygonModeEXT},
|
|
{"vkCmdSetPrimitiveRestartEnable", vkCmdSetPrimitiveRestartEnable},
|
|
{"vkCmdSetPrimitiveRestartEnableEXT", vkCmdSetPrimitiveRestartEnableEXT},
|
|
{"vkCmdSetPrimitiveTopology", vkCmdSetPrimitiveTopology},
|
|
{"vkCmdSetPrimitiveTopologyEXT", vkCmdSetPrimitiveTopologyEXT},
|
|
{"vkCmdSetProvokingVertexModeEXT", vkCmdSetProvokingVertexModeEXT},
|
|
{"vkCmdSetRasterizationSamplesEXT", vkCmdSetRasterizationSamplesEXT},
|
|
{"vkCmdSetRasterizationStreamEXT", vkCmdSetRasterizationStreamEXT},
|
|
{"vkCmdSetRasterizerDiscardEnable", vkCmdSetRasterizerDiscardEnable},
|
|
{"vkCmdSetRasterizerDiscardEnableEXT", vkCmdSetRasterizerDiscardEnableEXT},
|
|
{"vkCmdSetRayTracingPipelineStackSizeKHR", vkCmdSetRayTracingPipelineStackSizeKHR},
|
|
{"vkCmdSetRenderingAttachmentLocationsKHR", vkCmdSetRenderingAttachmentLocationsKHR},
|
|
{"vkCmdSetRenderingInputAttachmentIndicesKHR", vkCmdSetRenderingInputAttachmentIndicesKHR},
|
|
{"vkCmdSetRepresentativeFragmentTestEnableNV", vkCmdSetRepresentativeFragmentTestEnableNV},
|
|
{"vkCmdSetSampleLocationsEXT", vkCmdSetSampleLocationsEXT},
|
|
{"vkCmdSetSampleLocationsEnableEXT", vkCmdSetSampleLocationsEnableEXT},
|
|
{"vkCmdSetSampleMaskEXT", vkCmdSetSampleMaskEXT},
|
|
{"vkCmdSetScissor", vkCmdSetScissor},
|
|
{"vkCmdSetScissorWithCount", vkCmdSetScissorWithCount},
|
|
{"vkCmdSetScissorWithCountEXT", vkCmdSetScissorWithCountEXT},
|
|
{"vkCmdSetShadingRateImageEnableNV", vkCmdSetShadingRateImageEnableNV},
|
|
{"vkCmdSetStencilCompareMask", vkCmdSetStencilCompareMask},
|
|
{"vkCmdSetStencilOp", vkCmdSetStencilOp},
|
|
{"vkCmdSetStencilOpEXT", vkCmdSetStencilOpEXT},
|
|
{"vkCmdSetStencilReference", vkCmdSetStencilReference},
|
|
{"vkCmdSetStencilTestEnable", vkCmdSetStencilTestEnable},
|
|
{"vkCmdSetStencilTestEnableEXT", vkCmdSetStencilTestEnableEXT},
|
|
{"vkCmdSetStencilWriteMask", vkCmdSetStencilWriteMask},
|
|
{"vkCmdSetTessellationDomainOriginEXT", vkCmdSetTessellationDomainOriginEXT},
|
|
{"vkCmdSetVertexInputEXT", vkCmdSetVertexInputEXT},
|
|
{"vkCmdSetViewport", vkCmdSetViewport},
|
|
{"vkCmdSetViewportShadingRatePaletteNV", vkCmdSetViewportShadingRatePaletteNV},
|
|
{"vkCmdSetViewportSwizzleNV", vkCmdSetViewportSwizzleNV},
|
|
{"vkCmdSetViewportWScalingEnableNV", vkCmdSetViewportWScalingEnableNV},
|
|
{"vkCmdSetViewportWScalingNV", vkCmdSetViewportWScalingNV},
|
|
{"vkCmdSetViewportWithCount", vkCmdSetViewportWithCount},
|
|
{"vkCmdSetViewportWithCountEXT", vkCmdSetViewportWithCountEXT},
|
|
{"vkCmdSubpassShadingHUAWEI", vkCmdSubpassShadingHUAWEI},
|
|
{"vkCmdTraceRaysIndirect2KHR", vkCmdTraceRaysIndirect2KHR},
|
|
{"vkCmdTraceRaysIndirectKHR", vkCmdTraceRaysIndirectKHR},
|
|
{"vkCmdTraceRaysKHR", vkCmdTraceRaysKHR},
|
|
{"vkCmdTraceRaysNV", vkCmdTraceRaysNV},
|
|
{"vkCmdUpdateBuffer", vkCmdUpdateBuffer},
|
|
{"vkCmdUpdatePipelineIndirectBufferNV", vkCmdUpdatePipelineIndirectBufferNV},
|
|
{"vkCmdWaitEvents", vkCmdWaitEvents},
|
|
{"vkCmdWaitEvents2", vkCmdWaitEvents2},
|
|
{"vkCmdWaitEvents2KHR", vkCmdWaitEvents2KHR},
|
|
{"vkCmdWriteAccelerationStructuresPropertiesKHR", vkCmdWriteAccelerationStructuresPropertiesKHR},
|
|
{"vkCmdWriteAccelerationStructuresPropertiesNV", vkCmdWriteAccelerationStructuresPropertiesNV},
|
|
{"vkCmdWriteBufferMarker2AMD", vkCmdWriteBufferMarker2AMD},
|
|
{"vkCmdWriteBufferMarkerAMD", vkCmdWriteBufferMarkerAMD},
|
|
{"vkCmdWriteMicromapsPropertiesEXT", vkCmdWriteMicromapsPropertiesEXT},
|
|
{"vkCmdWriteTimestamp", vkCmdWriteTimestamp},
|
|
{"vkCmdWriteTimestamp2", vkCmdWriteTimestamp2},
|
|
{"vkCmdWriteTimestamp2KHR", vkCmdWriteTimestamp2KHR},
|
|
{"vkCompileDeferredNV", vkCompileDeferredNV},
|
|
{"vkCopyAccelerationStructureKHR", vkCopyAccelerationStructureKHR},
|
|
{"vkCopyAccelerationStructureToMemoryKHR", vkCopyAccelerationStructureToMemoryKHR},
|
|
{"vkCopyImageToImageEXT", vkCopyImageToImageEXT},
|
|
{"vkCopyImageToMemoryEXT", vkCopyImageToMemoryEXT},
|
|
{"vkCopyMemoryToAccelerationStructureKHR", vkCopyMemoryToAccelerationStructureKHR},
|
|
{"vkCopyMemoryToImageEXT", vkCopyMemoryToImageEXT},
|
|
{"vkCopyMemoryToMicromapEXT", vkCopyMemoryToMicromapEXT},
|
|
{"vkCopyMicromapEXT", vkCopyMicromapEXT},
|
|
{"vkCopyMicromapToMemoryEXT", vkCopyMicromapToMemoryEXT},
|
|
{"vkCreateAccelerationStructureKHR", vkCreateAccelerationStructureKHR},
|
|
{"vkCreateAccelerationStructureNV", vkCreateAccelerationStructureNV},
|
|
{"vkCreateBuffer", vkCreateBuffer},
|
|
{"vkCreateBufferView", vkCreateBufferView},
|
|
{"vkCreateCommandPool", vkCreateCommandPool},
|
|
{"vkCreateComputePipelines", vkCreateComputePipelines},
|
|
{"vkCreateCuFunctionNVX", vkCreateCuFunctionNVX},
|
|
{"vkCreateCuModuleNVX", vkCreateCuModuleNVX},
|
|
{"vkCreateCudaFunctionNV", vkCreateCudaFunctionNV},
|
|
{"vkCreateCudaModuleNV", vkCreateCudaModuleNV},
|
|
{"vkCreateDeferredOperationKHR", vkCreateDeferredOperationKHR},
|
|
{"vkCreateDescriptorPool", vkCreateDescriptorPool},
|
|
{"vkCreateDescriptorSetLayout", vkCreateDescriptorSetLayout},
|
|
{"vkCreateDescriptorUpdateTemplate", vkCreateDescriptorUpdateTemplate},
|
|
{"vkCreateDescriptorUpdateTemplateKHR", vkCreateDescriptorUpdateTemplateKHR},
|
|
{"vkCreateEvent", vkCreateEvent},
|
|
{"vkCreateFence", vkCreateFence},
|
|
{"vkCreateFramebuffer", vkCreateFramebuffer},
|
|
{"vkCreateGraphicsPipelines", vkCreateGraphicsPipelines},
|
|
{"vkCreateImage", vkCreateImage},
|
|
{"vkCreateImageView", vkCreateImageView},
|
|
{"vkCreateIndirectCommandsLayoutNV", vkCreateIndirectCommandsLayoutNV},
|
|
{"vkCreateMicromapEXT", vkCreateMicromapEXT},
|
|
{"vkCreateOpticalFlowSessionNV", vkCreateOpticalFlowSessionNV},
|
|
{"vkCreatePipelineCache", vkCreatePipelineCache},
|
|
{"vkCreatePipelineLayout", vkCreatePipelineLayout},
|
|
{"vkCreatePrivateDataSlot", vkCreatePrivateDataSlot},
|
|
{"vkCreatePrivateDataSlotEXT", vkCreatePrivateDataSlotEXT},
|
|
{"vkCreateQueryPool", vkCreateQueryPool},
|
|
{"vkCreateRayTracingPipelinesKHR", vkCreateRayTracingPipelinesKHR},
|
|
{"vkCreateRayTracingPipelinesNV", vkCreateRayTracingPipelinesNV},
|
|
{"vkCreateRenderPass", vkCreateRenderPass},
|
|
{"vkCreateRenderPass2", vkCreateRenderPass2},
|
|
{"vkCreateRenderPass2KHR", vkCreateRenderPass2KHR},
|
|
{"vkCreateSampler", vkCreateSampler},
|
|
{"vkCreateSamplerYcbcrConversion", vkCreateSamplerYcbcrConversion},
|
|
{"vkCreateSamplerYcbcrConversionKHR", vkCreateSamplerYcbcrConversionKHR},
|
|
{"vkCreateSemaphore", vkCreateSemaphore},
|
|
{"vkCreateShaderModule", vkCreateShaderModule},
|
|
{"vkCreateShadersEXT", vkCreateShadersEXT},
|
|
{"vkCreateSwapchainKHR", vkCreateSwapchainKHR},
|
|
{"vkCreateValidationCacheEXT", vkCreateValidationCacheEXT},
|
|
{"vkDebugMarkerSetObjectNameEXT", vkDebugMarkerSetObjectNameEXT},
|
|
{"vkDebugMarkerSetObjectTagEXT", vkDebugMarkerSetObjectTagEXT},
|
|
{"vkDeferredOperationJoinKHR", vkDeferredOperationJoinKHR},
|
|
{"vkDestroyAccelerationStructureKHR", vkDestroyAccelerationStructureKHR},
|
|
{"vkDestroyAccelerationStructureNV", vkDestroyAccelerationStructureNV},
|
|
{"vkDestroyBuffer", vkDestroyBuffer},
|
|
{"vkDestroyBufferView", vkDestroyBufferView},
|
|
{"vkDestroyCommandPool", vkDestroyCommandPool},
|
|
{"vkDestroyCuFunctionNVX", vkDestroyCuFunctionNVX},
|
|
{"vkDestroyCuModuleNVX", vkDestroyCuModuleNVX},
|
|
{"vkDestroyCudaFunctionNV", vkDestroyCudaFunctionNV},
|
|
{"vkDestroyCudaModuleNV", vkDestroyCudaModuleNV},
|
|
{"vkDestroyDeferredOperationKHR", vkDestroyDeferredOperationKHR},
|
|
{"vkDestroyDescriptorPool", vkDestroyDescriptorPool},
|
|
{"vkDestroyDescriptorSetLayout", vkDestroyDescriptorSetLayout},
|
|
{"vkDestroyDescriptorUpdateTemplate", vkDestroyDescriptorUpdateTemplate},
|
|
{"vkDestroyDescriptorUpdateTemplateKHR", vkDestroyDescriptorUpdateTemplateKHR},
|
|
{"vkDestroyDevice", vkDestroyDevice},
|
|
{"vkDestroyEvent", vkDestroyEvent},
|
|
{"vkDestroyFence", vkDestroyFence},
|
|
{"vkDestroyFramebuffer", vkDestroyFramebuffer},
|
|
{"vkDestroyImage", vkDestroyImage},
|
|
{"vkDestroyImageView", vkDestroyImageView},
|
|
{"vkDestroyIndirectCommandsLayoutNV", vkDestroyIndirectCommandsLayoutNV},
|
|
{"vkDestroyMicromapEXT", vkDestroyMicromapEXT},
|
|
{"vkDestroyOpticalFlowSessionNV", vkDestroyOpticalFlowSessionNV},
|
|
{"vkDestroyPipeline", vkDestroyPipeline},
|
|
{"vkDestroyPipelineCache", vkDestroyPipelineCache},
|
|
{"vkDestroyPipelineLayout", vkDestroyPipelineLayout},
|
|
{"vkDestroyPrivateDataSlot", vkDestroyPrivateDataSlot},
|
|
{"vkDestroyPrivateDataSlotEXT", vkDestroyPrivateDataSlotEXT},
|
|
{"vkDestroyQueryPool", vkDestroyQueryPool},
|
|
{"vkDestroyRenderPass", vkDestroyRenderPass},
|
|
{"vkDestroySampler", vkDestroySampler},
|
|
{"vkDestroySamplerYcbcrConversion", vkDestroySamplerYcbcrConversion},
|
|
{"vkDestroySamplerYcbcrConversionKHR", vkDestroySamplerYcbcrConversionKHR},
|
|
{"vkDestroySemaphore", vkDestroySemaphore},
|
|
{"vkDestroyShaderEXT", vkDestroyShaderEXT},
|
|
{"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},
|
|
{"vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT", vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT},
|
|
{"vkGetBufferDeviceAddress", vkGetBufferDeviceAddress},
|
|
{"vkGetBufferDeviceAddressEXT", vkGetBufferDeviceAddressEXT},
|
|
{"vkGetBufferDeviceAddressKHR", vkGetBufferDeviceAddressKHR},
|
|
{"vkGetBufferMemoryRequirements", vkGetBufferMemoryRequirements},
|
|
{"vkGetBufferMemoryRequirements2", vkGetBufferMemoryRequirements2},
|
|
{"vkGetBufferMemoryRequirements2KHR", vkGetBufferMemoryRequirements2KHR},
|
|
{"vkGetBufferOpaqueCaptureAddress", vkGetBufferOpaqueCaptureAddress},
|
|
{"vkGetBufferOpaqueCaptureAddressKHR", vkGetBufferOpaqueCaptureAddressKHR},
|
|
{"vkGetBufferOpaqueCaptureDescriptorDataEXT", vkGetBufferOpaqueCaptureDescriptorDataEXT},
|
|
{"vkGetCalibratedTimestampsEXT", vkGetCalibratedTimestampsEXT},
|
|
{"vkGetCalibratedTimestampsKHR", vkGetCalibratedTimestampsKHR},
|
|
{"vkGetCudaModuleCacheNV", vkGetCudaModuleCacheNV},
|
|
{"vkGetDeferredOperationMaxConcurrencyKHR", vkGetDeferredOperationMaxConcurrencyKHR},
|
|
{"vkGetDeferredOperationResultKHR", vkGetDeferredOperationResultKHR},
|
|
{"vkGetDescriptorEXT", vkGetDescriptorEXT},
|
|
{"vkGetDescriptorSetHostMappingVALVE", vkGetDescriptorSetHostMappingVALVE},
|
|
{"vkGetDescriptorSetLayoutBindingOffsetEXT", vkGetDescriptorSetLayoutBindingOffsetEXT},
|
|
{"vkGetDescriptorSetLayoutHostMappingInfoVALVE", vkGetDescriptorSetLayoutHostMappingInfoVALVE},
|
|
{"vkGetDescriptorSetLayoutSizeEXT", vkGetDescriptorSetLayoutSizeEXT},
|
|
{"vkGetDescriptorSetLayoutSupport", vkGetDescriptorSetLayoutSupport},
|
|
{"vkGetDescriptorSetLayoutSupportKHR", vkGetDescriptorSetLayoutSupportKHR},
|
|
{"vkGetDeviceAccelerationStructureCompatibilityKHR", vkGetDeviceAccelerationStructureCompatibilityKHR},
|
|
{"vkGetDeviceBufferMemoryRequirements", vkGetDeviceBufferMemoryRequirements},
|
|
{"vkGetDeviceBufferMemoryRequirementsKHR", vkGetDeviceBufferMemoryRequirementsKHR},
|
|
{"vkGetDeviceFaultInfoEXT", vkGetDeviceFaultInfoEXT},
|
|
{"vkGetDeviceGroupPeerMemoryFeatures", vkGetDeviceGroupPeerMemoryFeatures},
|
|
{"vkGetDeviceGroupPeerMemoryFeaturesKHR", vkGetDeviceGroupPeerMemoryFeaturesKHR},
|
|
{"vkGetDeviceGroupPresentCapabilitiesKHR", vkGetDeviceGroupPresentCapabilitiesKHR},
|
|
{"vkGetDeviceGroupSurfacePresentModesKHR", vkGetDeviceGroupSurfacePresentModesKHR},
|
|
{"vkGetDeviceImageMemoryRequirements", vkGetDeviceImageMemoryRequirements},
|
|
{"vkGetDeviceImageMemoryRequirementsKHR", vkGetDeviceImageMemoryRequirementsKHR},
|
|
{"vkGetDeviceImageSparseMemoryRequirements", vkGetDeviceImageSparseMemoryRequirements},
|
|
{"vkGetDeviceImageSparseMemoryRequirementsKHR", vkGetDeviceImageSparseMemoryRequirementsKHR},
|
|
{"vkGetDeviceImageSubresourceLayoutKHR", vkGetDeviceImageSubresourceLayoutKHR},
|
|
{"vkGetDeviceMemoryCommitment", vkGetDeviceMemoryCommitment},
|
|
{"vkGetDeviceMemoryOpaqueCaptureAddress", vkGetDeviceMemoryOpaqueCaptureAddress},
|
|
{"vkGetDeviceMemoryOpaqueCaptureAddressKHR", vkGetDeviceMemoryOpaqueCaptureAddressKHR},
|
|
{"vkGetDeviceMicromapCompatibilityEXT", vkGetDeviceMicromapCompatibilityEXT},
|
|
{"vkGetDeviceProcAddr", vkGetDeviceProcAddr},
|
|
{"vkGetDeviceQueue", vkGetDeviceQueue},
|
|
{"vkGetDeviceQueue2", vkGetDeviceQueue2},
|
|
{"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI},
|
|
{"vkGetDynamicRenderingTilePropertiesQCOM", vkGetDynamicRenderingTilePropertiesQCOM},
|
|
{"vkGetEventStatus", vkGetEventStatus},
|
|
{"vkGetFenceStatus", vkGetFenceStatus},
|
|
{"vkGetFramebufferTilePropertiesQCOM", vkGetFramebufferTilePropertiesQCOM},
|
|
{"vkGetGeneratedCommandsMemoryRequirementsNV", vkGetGeneratedCommandsMemoryRequirementsNV},
|
|
{"vkGetImageMemoryRequirements", vkGetImageMemoryRequirements},
|
|
{"vkGetImageMemoryRequirements2", vkGetImageMemoryRequirements2},
|
|
{"vkGetImageMemoryRequirements2KHR", vkGetImageMemoryRequirements2KHR},
|
|
{"vkGetImageOpaqueCaptureDescriptorDataEXT", vkGetImageOpaqueCaptureDescriptorDataEXT},
|
|
{"vkGetImageSparseMemoryRequirements", vkGetImageSparseMemoryRequirements},
|
|
{"vkGetImageSparseMemoryRequirements2", vkGetImageSparseMemoryRequirements2},
|
|
{"vkGetImageSparseMemoryRequirements2KHR", vkGetImageSparseMemoryRequirements2KHR},
|
|
{"vkGetImageSubresourceLayout", vkGetImageSubresourceLayout},
|
|
{"vkGetImageSubresourceLayout2EXT", vkGetImageSubresourceLayout2EXT},
|
|
{"vkGetImageSubresourceLayout2KHR", vkGetImageSubresourceLayout2KHR},
|
|
{"vkGetImageViewAddressNVX", vkGetImageViewAddressNVX},
|
|
{"vkGetImageViewHandleNVX", vkGetImageViewHandleNVX},
|
|
{"vkGetImageViewOpaqueCaptureDescriptorDataEXT", vkGetImageViewOpaqueCaptureDescriptorDataEXT},
|
|
{"vkGetLatencyTimingsNV", vkGetLatencyTimingsNV},
|
|
{"vkGetMemoryHostPointerPropertiesEXT", vkGetMemoryHostPointerPropertiesEXT},
|
|
{"vkGetMicromapBuildSizesEXT", vkGetMicromapBuildSizesEXT},
|
|
{"vkGetPerformanceParameterINTEL", vkGetPerformanceParameterINTEL},
|
|
{"vkGetPipelineCacheData", vkGetPipelineCacheData},
|
|
{"vkGetPipelineExecutableInternalRepresentationsKHR", vkGetPipelineExecutableInternalRepresentationsKHR},
|
|
{"vkGetPipelineExecutablePropertiesKHR", vkGetPipelineExecutablePropertiesKHR},
|
|
{"vkGetPipelineExecutableStatisticsKHR", vkGetPipelineExecutableStatisticsKHR},
|
|
{"vkGetPipelineIndirectDeviceAddressNV", vkGetPipelineIndirectDeviceAddressNV},
|
|
{"vkGetPipelineIndirectMemoryRequirementsNV", vkGetPipelineIndirectMemoryRequirementsNV},
|
|
{"vkGetPipelinePropertiesEXT", vkGetPipelinePropertiesEXT},
|
|
{"vkGetPrivateData", vkGetPrivateData},
|
|
{"vkGetPrivateDataEXT", vkGetPrivateDataEXT},
|
|
{"vkGetQueryPoolResults", vkGetQueryPoolResults},
|
|
{"vkGetQueueCheckpointData2NV", vkGetQueueCheckpointData2NV},
|
|
{"vkGetQueueCheckpointDataNV", vkGetQueueCheckpointDataNV},
|
|
{"vkGetRayTracingCaptureReplayShaderGroupHandlesKHR", vkGetRayTracingCaptureReplayShaderGroupHandlesKHR},
|
|
{"vkGetRayTracingShaderGroupHandlesKHR", vkGetRayTracingShaderGroupHandlesKHR},
|
|
{"vkGetRayTracingShaderGroupHandlesNV", vkGetRayTracingShaderGroupHandlesNV},
|
|
{"vkGetRayTracingShaderGroupStackSizeKHR", vkGetRayTracingShaderGroupStackSizeKHR},
|
|
{"vkGetRenderAreaGranularity", vkGetRenderAreaGranularity},
|
|
{"vkGetRenderingAreaGranularityKHR", vkGetRenderingAreaGranularityKHR},
|
|
{"vkGetSamplerOpaqueCaptureDescriptorDataEXT", vkGetSamplerOpaqueCaptureDescriptorDataEXT},
|
|
{"vkGetSemaphoreCounterValue", vkGetSemaphoreCounterValue},
|
|
{"vkGetSemaphoreCounterValueKHR", vkGetSemaphoreCounterValueKHR},
|
|
{"vkGetShaderBinaryDataEXT", vkGetShaderBinaryDataEXT},
|
|
{"vkGetShaderInfoAMD", vkGetShaderInfoAMD},
|
|
{"vkGetShaderModuleCreateInfoIdentifierEXT", vkGetShaderModuleCreateInfoIdentifierEXT},
|
|
{"vkGetShaderModuleIdentifierEXT", vkGetShaderModuleIdentifierEXT},
|
|
{"vkGetSwapchainImagesKHR", vkGetSwapchainImagesKHR},
|
|
{"vkGetValidationCacheDataEXT", vkGetValidationCacheDataEXT},
|
|
{"vkInitializePerformanceApiINTEL", vkInitializePerformanceApiINTEL},
|
|
{"vkInvalidateMappedMemoryRanges", vkInvalidateMappedMemoryRanges},
|
|
{"vkLatencySleepNV", vkLatencySleepNV},
|
|
{"vkMapMemory", vkMapMemory},
|
|
{"vkMapMemory2KHR", vkMapMemory2KHR},
|
|
{"vkMergePipelineCaches", vkMergePipelineCaches},
|
|
{"vkMergeValidationCachesEXT", vkMergeValidationCachesEXT},
|
|
{"vkQueueBeginDebugUtilsLabelEXT", vkQueueBeginDebugUtilsLabelEXT},
|
|
{"vkQueueBindSparse", vkQueueBindSparse},
|
|
{"vkQueueEndDebugUtilsLabelEXT", vkQueueEndDebugUtilsLabelEXT},
|
|
{"vkQueueInsertDebugUtilsLabelEXT", vkQueueInsertDebugUtilsLabelEXT},
|
|
{"vkQueueNotifyOutOfBandNV", vkQueueNotifyOutOfBandNV},
|
|
{"vkQueuePresentKHR", vkQueuePresentKHR},
|
|
{"vkQueueSetPerformanceConfigurationINTEL", vkQueueSetPerformanceConfigurationINTEL},
|
|
{"vkQueueSubmit", vkQueueSubmit},
|
|
{"vkQueueSubmit2", vkQueueSubmit2},
|
|
{"vkQueueSubmit2KHR", vkQueueSubmit2KHR},
|
|
{"vkQueueWaitIdle", vkQueueWaitIdle},
|
|
{"vkReleasePerformanceConfigurationINTEL", vkReleasePerformanceConfigurationINTEL},
|
|
{"vkReleaseProfilingLockKHR", vkReleaseProfilingLockKHR},
|
|
{"vkReleaseSwapchainImagesEXT", vkReleaseSwapchainImagesEXT},
|
|
{"vkResetCommandBuffer", vkResetCommandBuffer},
|
|
{"vkResetCommandPool", vkResetCommandPool},
|
|
{"vkResetDescriptorPool", vkResetDescriptorPool},
|
|
{"vkResetEvent", vkResetEvent},
|
|
{"vkResetFences", vkResetFences},
|
|
{"vkResetQueryPool", vkResetQueryPool},
|
|
{"vkResetQueryPoolEXT", vkResetQueryPoolEXT},
|
|
{"vkSetDebugUtilsObjectNameEXT", vkSetDebugUtilsObjectNameEXT},
|
|
{"vkSetDebugUtilsObjectTagEXT", vkSetDebugUtilsObjectTagEXT},
|
|
{"vkSetDeviceMemoryPriorityEXT", vkSetDeviceMemoryPriorityEXT},
|
|
{"vkSetEvent", vkSetEvent},
|
|
{"vkSetHdrMetadataEXT", vkSetHdrMetadataEXT},
|
|
{"vkSetLatencyMarkerNV", vkSetLatencyMarkerNV},
|
|
{"vkSetLatencySleepModeNV", vkSetLatencySleepModeNV},
|
|
{"vkSetPrivateData", vkSetPrivateData},
|
|
{"vkSetPrivateDataEXT", vkSetPrivateDataEXT},
|
|
{"vkSignalSemaphore", vkSignalSemaphore},
|
|
{"vkSignalSemaphoreKHR", vkSignalSemaphoreKHR},
|
|
{"vkTransitionImageLayoutEXT", vkTransitionImageLayoutEXT},
|
|
{"vkTrimCommandPool", vkTrimCommandPool},
|
|
{"vkTrimCommandPoolKHR", vkTrimCommandPoolKHR},
|
|
{"vkUninitializePerformanceApiINTEL", vkUninitializePerformanceApiINTEL},
|
|
{"vkUnmapMemory", vkUnmapMemory},
|
|
{"vkUnmapMemory2KHR", vkUnmapMemory2KHR},
|
|
{"vkUpdateDescriptorSetWithTemplate", vkUpdateDescriptorSetWithTemplate},
|
|
{"vkUpdateDescriptorSetWithTemplateKHR", vkUpdateDescriptorSetWithTemplateKHR},
|
|
{"vkUpdateDescriptorSets", vkUpdateDescriptorSets},
|
|
{"vkWaitForFences", vkWaitForFences},
|
|
{"vkWaitForPresentKHR", vkWaitForPresentKHR},
|
|
{"vkWaitSemaphores", vkWaitSemaphores},
|
|
{"vkWaitSemaphoresKHR", vkWaitSemaphoresKHR},
|
|
{"vkWriteAccelerationStructuresPropertiesKHR", vkWriteAccelerationStructuresPropertiesKHR},
|
|
{"vkWriteMicromapsPropertiesEXT", vkWriteMicromapsPropertiesEXT},
|
|
};
|
|
|
|
static const struct vulkan_func vk_phys_dev_dispatch_table[] =
|
|
{
|
|
{"vkCreateDevice", vkCreateDevice},
|
|
{"vkEnumerateDeviceExtensionProperties", vkEnumerateDeviceExtensionProperties},
|
|
{"vkEnumerateDeviceLayerProperties", vkEnumerateDeviceLayerProperties},
|
|
{"vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR},
|
|
{"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT", vkGetPhysicalDeviceCalibrateableTimeDomainsEXT},
|
|
{"vkGetPhysicalDeviceCalibrateableTimeDomainsKHR", vkGetPhysicalDeviceCalibrateableTimeDomainsKHR},
|
|
{"vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR", vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR},
|
|
{"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},
|
|
{"vkGetPhysicalDeviceOpticalFlowImageFormatsNV", vkGetPhysicalDeviceOpticalFlowImageFormatsNV},
|
|
{"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},
|
|
{"vkGetPhysicalDeviceToolProperties", vkGetPhysicalDeviceToolProperties},
|
|
{"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;
|
|
}
|