mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 14:14:46 +00:00
winevulkan: Enable VK_HUAWEI_subpass_shading.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bdc02621c1
commit
176da9a5b6
|
@ -758,6 +758,11 @@ void WINAPI vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, uint32_t
|
|||
unix_funcs->p_vkCmdSetViewportWithCountEXT(commandBuffer, viewportCount, pViewports);
|
||||
}
|
||||
|
||||
void WINAPI vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer)
|
||||
{
|
||||
unix_funcs->p_vkCmdSubpassShadingHUAWEI(commandBuffer);
|
||||
}
|
||||
|
||||
void WINAPI vkCmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress)
|
||||
{
|
||||
unix_funcs->p_vkCmdTraceRaysIndirectKHR(commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, indirectDeviceAddress);
|
||||
|
@ -1433,6 +1438,11 @@ void WINAPI vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueI
|
|||
unix_funcs->p_vkGetDeviceQueue2(device, pQueueInfo, pQueue);
|
||||
}
|
||||
|
||||
VkResult WINAPI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D *pMaxWorkgroupSize)
|
||||
{
|
||||
return unix_funcs->p_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device, renderpass, pMaxWorkgroupSize);
|
||||
}
|
||||
|
||||
VkResult WINAPI vkGetEventStatus(VkDevice device, VkEvent event)
|
||||
{
|
||||
return unix_funcs->p_vkGetEventStatus(device, event);
|
||||
|
@ -2154,6 +2164,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkCmdSetViewportShadingRatePaletteNV", &vkCmdSetViewportShadingRatePaletteNV},
|
||||
{"vkCmdSetViewportWScalingNV", &vkCmdSetViewportWScalingNV},
|
||||
{"vkCmdSetViewportWithCountEXT", &vkCmdSetViewportWithCountEXT},
|
||||
{"vkCmdSubpassShadingHUAWEI", &vkCmdSubpassShadingHUAWEI},
|
||||
{"vkCmdTraceRaysIndirectKHR", &vkCmdTraceRaysIndirectKHR},
|
||||
{"vkCmdTraceRaysKHR", &vkCmdTraceRaysKHR},
|
||||
{"vkCmdTraceRaysNV", &vkCmdTraceRaysNV},
|
||||
|
@ -2275,6 +2286,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkGetDeviceProcAddr", &vkGetDeviceProcAddr},
|
||||
{"vkGetDeviceQueue", &vkGetDeviceQueue},
|
||||
{"vkGetDeviceQueue2", &vkGetDeviceQueue2},
|
||||
{"vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI", &vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI},
|
||||
{"vkGetEventStatus", &vkGetEventStatus},
|
||||
{"vkGetFenceStatus", &vkGetFenceStatus},
|
||||
{"vkGetGeneratedCommandsMemoryRequirementsNV", &vkGetGeneratedCommandsMemoryRequirementsNV},
|
||||
|
|
|
@ -163,6 +163,7 @@ struct unix_funcs
|
|||
void (WINAPI *p_vkCmdSetViewportShadingRatePaletteNV)(VkCommandBuffer, uint32_t, uint32_t, const VkShadingRatePaletteNV *);
|
||||
void (WINAPI *p_vkCmdSetViewportWScalingNV)(VkCommandBuffer, uint32_t, uint32_t, const VkViewportWScalingNV *);
|
||||
void (WINAPI *p_vkCmdSetViewportWithCountEXT)(VkCommandBuffer, uint32_t, const VkViewport *);
|
||||
void (WINAPI *p_vkCmdSubpassShadingHUAWEI)(VkCommandBuffer);
|
||||
void (WINAPI *p_vkCmdTraceRaysIndirectKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, VkDeviceAddress);
|
||||
void (WINAPI *p_vkCmdTraceRaysKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, uint32_t, uint32_t, uint32_t);
|
||||
void (WINAPI *p_vkCmdTraceRaysNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t, uint32_t, uint32_t);
|
||||
|
@ -301,6 +302,7 @@ struct unix_funcs
|
|||
uint64_t (WINAPI *p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfo *);
|
||||
void (WINAPI *p_vkGetDeviceQueue)(VkDevice, uint32_t, uint32_t, VkQueue *);
|
||||
void (WINAPI *p_vkGetDeviceQueue2)(VkDevice, const VkDeviceQueueInfo2 *, VkQueue *);
|
||||
VkResult (WINAPI *p_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI)(VkDevice, VkRenderPass, VkExtent2D *);
|
||||
VkResult (WINAPI *p_vkGetEventStatus)(VkDevice, VkEvent);
|
||||
VkResult (WINAPI *p_vkGetFenceStatus)(VkDevice, VkFence);
|
||||
void (WINAPI *p_vkGetGeneratedCommandsMemoryRequirementsNV)(VkDevice, const VkGeneratedCommandsMemoryRequirementsInfoNV *, VkMemoryRequirements2 *);
|
||||
|
|
|
@ -117,9 +117,6 @@ UNSUPPORTED_EXTENSIONS = [
|
|||
# Extensions which require callback handling
|
||||
"VK_EXT_device_memory_report",
|
||||
|
||||
# Extensions which are broken
|
||||
"VK_HUAWEI_subpass_shading", # https://github.com/KhronosGroup/Vulkan-Docs/issues/1564
|
||||
|
||||
# Deprecated extensions
|
||||
"VK_NV_external_memory_capabilities",
|
||||
"VK_NV_external_memory_win32",
|
||||
|
|
|
@ -4177,6 +4177,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI:
|
||||
{
|
||||
const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI *in = (const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI *)in_header;
|
||||
VkPhysicalDeviceSubpassShadingFeaturesHUAWEI *out;
|
||||
|
||||
if (!(out = malloc(sizeof(*out)))) goto out_of_memory;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = NULL;
|
||||
out->subpassShading = in->subpassShading;
|
||||
|
||||
out_header->pNext = (VkBaseOutStructure *)out;
|
||||
out_header = out_header->pNext;
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT:
|
||||
{
|
||||
const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *in = (const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *)in_header;
|
||||
|
@ -5829,6 +5845,12 @@ static void WINAPI wine_vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuff
|
|||
commandBuffer->device->funcs.p_vkCmdSetViewportWithCountEXT(commandBuffer->command_buffer, viewportCount, pViewports);
|
||||
}
|
||||
|
||||
static void WINAPI wine_vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer)
|
||||
{
|
||||
TRACE("%p\n", commandBuffer);
|
||||
commandBuffer->device->funcs.p_vkCmdSubpassShadingHUAWEI(commandBuffer->command_buffer);
|
||||
}
|
||||
|
||||
static void WINAPI wine_vkCmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
|
@ -6971,6 +6993,12 @@ static uint64_t WINAPI wine_vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice de
|
|||
#endif
|
||||
}
|
||||
|
||||
static VkResult WINAPI wine_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D *pMaxWorkgroupSize)
|
||||
{
|
||||
TRACE("%p, 0x%s, %p\n", device, wine_dbgstr_longlong(renderpass), pMaxWorkgroupSize);
|
||||
return device->funcs.p_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device->device, renderpass, pMaxWorkgroupSize);
|
||||
}
|
||||
|
||||
static VkResult WINAPI wine_vkGetEventStatus(VkDevice device, VkEvent event)
|
||||
{
|
||||
TRACE("%p, 0x%s\n", device, wine_dbgstr_longlong(event));
|
||||
|
@ -8089,6 +8117,7 @@ static const char * const vk_device_extensions[] =
|
|||
"VK_GOOGLE_hlsl_functionality1",
|
||||
"VK_GOOGLE_user_type",
|
||||
"VK_HUAWEI_invocation_mask",
|
||||
"VK_HUAWEI_subpass_shading",
|
||||
"VK_IMG_filter_cubic",
|
||||
"VK_IMG_format_pvrtc",
|
||||
"VK_INTEL_performance_query",
|
||||
|
@ -8421,6 +8450,7 @@ const struct unix_funcs loader_funcs =
|
|||
&wine_vkCmdSetViewportShadingRatePaletteNV,
|
||||
&wine_vkCmdSetViewportWScalingNV,
|
||||
&wine_vkCmdSetViewportWithCountEXT,
|
||||
&wine_vkCmdSubpassShadingHUAWEI,
|
||||
&wine_vkCmdTraceRaysIndirectKHR,
|
||||
&wine_vkCmdTraceRaysKHR,
|
||||
&wine_vkCmdTraceRaysNV,
|
||||
|
@ -8559,6 +8589,7 @@ const struct unix_funcs loader_funcs =
|
|||
&wine_vkGetDeviceMemoryOpaqueCaptureAddressKHR,
|
||||
&wine_vkGetDeviceQueue,
|
||||
&wine_vkGetDeviceQueue2,
|
||||
&wine_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI,
|
||||
&wine_vkGetEventStatus,
|
||||
&wine_vkGetFenceStatus,
|
||||
&wine_vkGetGeneratedCommandsMemoryRequirementsNV,
|
||||
|
|
|
@ -1859,6 +1859,7 @@ struct vulkan_device_funcs
|
|||
void (*p_vkCmdSetViewportShadingRatePaletteNV)(VkCommandBuffer, uint32_t, uint32_t, const VkShadingRatePaletteNV *);
|
||||
void (*p_vkCmdSetViewportWScalingNV)(VkCommandBuffer, uint32_t, uint32_t, const VkViewportWScalingNV *);
|
||||
void (*p_vkCmdSetViewportWithCountEXT)(VkCommandBuffer, uint32_t, const VkViewport *);
|
||||
void (*p_vkCmdSubpassShadingHUAWEI)(VkCommandBuffer);
|
||||
void (*p_vkCmdTraceRaysIndirectKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, VkDeviceAddress);
|
||||
void (*p_vkCmdTraceRaysKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, const VkStridedDeviceAddressRegionKHR_host *, uint32_t, uint32_t, uint32_t);
|
||||
void (*p_vkCmdTraceRaysNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t, uint32_t, uint32_t);
|
||||
|
@ -1979,6 +1980,7 @@ struct vulkan_device_funcs
|
|||
uint64_t (*p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfo_host *);
|
||||
void (*p_vkGetDeviceQueue)(VkDevice, uint32_t, uint32_t, VkQueue *);
|
||||
void (*p_vkGetDeviceQueue2)(VkDevice, const VkDeviceQueueInfo2 *, VkQueue *);
|
||||
VkResult (*p_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI)(VkDevice, VkRenderPass, VkExtent2D *);
|
||||
VkResult (*p_vkGetEventStatus)(VkDevice, VkEvent);
|
||||
VkResult (*p_vkGetFenceStatus)(VkDevice, VkFence);
|
||||
void (*p_vkGetGeneratedCommandsMemoryRequirementsNV)(VkDevice, const VkGeneratedCommandsMemoryRequirementsInfoNV_host *, VkMemoryRequirements2_host *);
|
||||
|
@ -2260,6 +2262,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkCmdSetViewportShadingRatePaletteNV) \
|
||||
USE_VK_FUNC(vkCmdSetViewportWScalingNV) \
|
||||
USE_VK_FUNC(vkCmdSetViewportWithCountEXT) \
|
||||
USE_VK_FUNC(vkCmdSubpassShadingHUAWEI) \
|
||||
USE_VK_FUNC(vkCmdTraceRaysIndirectKHR) \
|
||||
USE_VK_FUNC(vkCmdTraceRaysKHR) \
|
||||
USE_VK_FUNC(vkCmdTraceRaysNV) \
|
||||
|
@ -2380,6 +2383,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkGetDeviceMemoryOpaqueCaptureAddressKHR) \
|
||||
USE_VK_FUNC(vkGetDeviceQueue) \
|
||||
USE_VK_FUNC(vkGetDeviceQueue2) \
|
||||
USE_VK_FUNC(vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI) \
|
||||
USE_VK_FUNC(vkGetEventStatus) \
|
||||
USE_VK_FUNC(vkGetFenceStatus) \
|
||||
USE_VK_FUNC(vkGetGeneratedCommandsMemoryRequirementsNV) \
|
||||
|
|
|
@ -438,6 +438,8 @@
|
|||
#define VK_VALVE_MUTABLE_DESCRIPTOR_TYPE_EXTENSION_NAME "VK_VALVE_mutable_descriptor_type"
|
||||
#define VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_SPEC_VERSION 2
|
||||
#define VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME "VK_EXT_vertex_input_dynamic_state"
|
||||
#define VK_HUAWEI_SUBPASS_SHADING_SPEC_VERSION 2
|
||||
#define VK_HUAWEI_SUBPASS_SHADING_EXTENSION_NAME "VK_HUAWEI_subpass_shading"
|
||||
#define VK_HUAWEI_INVOCATION_MASK_SPEC_VERSION 1
|
||||
#define VK_HUAWEI_INVOCATION_MASK_EXTENSION_NAME "VK_HUAWEI_invocation_mask"
|
||||
#define VK_EXT_EXTENDED_DYNAMIC_STATE_2_SPEC_VERSION 1
|
||||
|
@ -2391,6 +2393,7 @@ typedef enum VkPipelineBindPoint
|
|||
VK_PIPELINE_BIND_POINT_GRAPHICS = 0,
|
||||
VK_PIPELINE_BIND_POINT_COMPUTE = 1,
|
||||
VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR = 1000165000,
|
||||
VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI = 1000369003,
|
||||
VK_PIPELINE_BIND_POINT_RAY_TRACING_NV = VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR,
|
||||
VK_PIPELINE_BIND_POINT_MAX_ENUM = 0x7fffffff,
|
||||
} VkPipelineBindPoint;
|
||||
|
@ -2531,6 +2534,7 @@ static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR = 0x8
|
|||
static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR = 0x1000000000ull;
|
||||
static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR = 0x2000000000ull;
|
||||
static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR = 0x4000000000ull;
|
||||
static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_SUBPASS_SHADING_BIT_HUAWEI = 0x8000000000ull;
|
||||
static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI = 0x10000000000ull;
|
||||
|
||||
typedef enum VkPointClippingBehavior
|
||||
|
@ -2912,6 +2916,7 @@ typedef enum VkShaderStageFlagBits
|
|||
VK_SHADER_STAGE_MISS_BIT_KHR = 0x00000800,
|
||||
VK_SHADER_STAGE_INTERSECTION_BIT_KHR = 0x00001000,
|
||||
VK_SHADER_STAGE_CALLABLE_BIT_KHR = 0x00002000,
|
||||
VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI = 0x00004000,
|
||||
VK_SHADER_STAGE_RAYGEN_BIT_NV = VK_SHADER_STAGE_RAYGEN_BIT_KHR,
|
||||
VK_SHADER_STAGE_ANY_HIT_BIT_NV = VK_SHADER_STAGE_ANY_HIT_BIT_KHR,
|
||||
VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV = VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR,
|
||||
|
@ -3411,6 +3416,9 @@ typedef enum VkStructureType
|
|||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT = 1000352000,
|
||||
VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT = 1000352001,
|
||||
VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT = 1000352002,
|
||||
VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI = 1000369000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI = 1000369001,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI = 1000369002,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI = 1000370000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT = 1000377000,
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT = 1000381000,
|
||||
|
@ -5219,6 +5227,13 @@ typedef struct VkPhysicalDeviceSubgroupSizeControlFeaturesEXT
|
|||
VkBool32 computeFullSubgroups;
|
||||
} VkPhysicalDeviceSubgroupSizeControlFeaturesEXT;
|
||||
|
||||
typedef struct VkPhysicalDeviceSubpassShadingFeaturesHUAWEI
|
||||
{
|
||||
VkStructureType sType;
|
||||
void *pNext;
|
||||
VkBool32 subpassShading;
|
||||
} VkPhysicalDeviceSubpassShadingFeaturesHUAWEI;
|
||||
|
||||
typedef struct VkPhysicalDeviceSurfaceInfo2KHR
|
||||
{
|
||||
VkStructureType sType;
|
||||
|
@ -5765,6 +5780,14 @@ typedef struct VkSubpassDependency
|
|||
VkDependencyFlags dependencyFlags;
|
||||
} VkSubpassDependency;
|
||||
|
||||
typedef struct VkSubpassShadingPipelineCreateInfoHUAWEI
|
||||
{
|
||||
VkStructureType sType;
|
||||
void *pNext;
|
||||
VkRenderPass WINE_VK_ALIGN(8) renderPass;
|
||||
uint32_t subpass;
|
||||
} VkSubpassShadingPipelineCreateInfoHUAWEI;
|
||||
|
||||
typedef struct VkSurfaceFormatKHR
|
||||
{
|
||||
VkFormat format;
|
||||
|
@ -6642,6 +6665,13 @@ typedef struct VkPhysicalDeviceSubgroupProperties
|
|||
VkBool32 quadOperationsInAllStages;
|
||||
} VkPhysicalDeviceSubgroupProperties;
|
||||
|
||||
typedef struct VkPhysicalDeviceSubpassShadingPropertiesHUAWEI
|
||||
{
|
||||
VkStructureType sType;
|
||||
void *pNext;
|
||||
uint32_t maxSubpassShadingWorkgroupSizeAspectRatio;
|
||||
} VkPhysicalDeviceSubpassShadingPropertiesHUAWEI;
|
||||
|
||||
typedef struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
|
||||
{
|
||||
VkStructureType sType;
|
||||
|
@ -9185,6 +9215,7 @@ typedef void (VKAPI_PTR *PFN_vkCmdSetViewport)(VkCommandBuffer, uint32_t, uint32
|
|||
typedef void (VKAPI_PTR *PFN_vkCmdSetViewportShadingRatePaletteNV)(VkCommandBuffer, uint32_t, uint32_t, const VkShadingRatePaletteNV *);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetViewportWScalingNV)(VkCommandBuffer, uint32_t, uint32_t, const VkViewportWScalingNV *);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSetViewportWithCountEXT)(VkCommandBuffer, uint32_t, const VkViewport *);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdSubpassShadingHUAWEI)(VkCommandBuffer);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysIndirectKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, VkDeviceAddress);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, uint32_t, uint32_t, uint32_t);
|
||||
typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t, uint32_t, uint32_t);
|
||||
|
@ -9325,6 +9356,7 @@ typedef uint64_t (VKAPI_PTR *PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDev
|
|||
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetDeviceProcAddr)(VkDevice, const char *);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetDeviceQueue)(VkDevice, uint32_t, uint32_t, VkQueue *);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetDeviceQueue2)(VkDevice, const VkDeviceQueueInfo2 *, VkQueue *);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI)(VkDevice, VkRenderPass, VkExtent2D *);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetEventStatus)(VkDevice, VkEvent);
|
||||
typedef VkResult (VKAPI_PTR *PFN_vkGetFenceStatus)(VkDevice, VkFence);
|
||||
typedef void (VKAPI_PTR *PFN_vkGetGeneratedCommandsMemoryRequirementsNV)(VkDevice, const VkGeneratedCommandsMemoryRequirementsInfoNV *, VkMemoryRequirements2 *);
|
||||
|
@ -9593,6 +9625,7 @@ void VKAPI_CALL vkCmdSetViewport(VkCommandBuffer commandBuffer, uint32_t firstVi
|
|||
void VKAPI_CALL vkCmdSetViewportShadingRatePaletteNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkShadingRatePaletteNV *pShadingRatePalettes);
|
||||
void VKAPI_CALL vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV *pViewportWScalings);
|
||||
void VKAPI_CALL vkCmdSetViewportWithCountEXT(VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport *pViewports);
|
||||
void VKAPI_CALL vkCmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer);
|
||||
void VKAPI_CALL vkCmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress);
|
||||
void VKAPI_CALL vkCmdTraceRaysKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth);
|
||||
void VKAPI_CALL 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);
|
||||
|
@ -9733,6 +9766,7 @@ uint64_t VKAPI_CALL vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, co
|
|||
PFN_vkVoidFunction VKAPI_CALL vkGetDeviceProcAddr(VkDevice device, const char *pName);
|
||||
void VKAPI_CALL vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue);
|
||||
void VKAPI_CALL vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueInfo, VkQueue *pQueue);
|
||||
VkResult VKAPI_CALL vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkRenderPass renderpass, VkExtent2D *pMaxWorkgroupSize);
|
||||
VkResult VKAPI_CALL vkGetEventStatus(VkDevice device, VkEvent event);
|
||||
VkResult VKAPI_CALL vkGetFenceStatus(VkDevice device, VkFence fence);
|
||||
void VKAPI_CALL vkGetGeneratedCommandsMemoryRequirementsNV(VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoNV *pInfo, VkMemoryRequirements2 *pMemoryRequirements);
|
||||
|
|
Loading…
Reference in a new issue