add partialrender vulkan api

Signed-off-by: li_zt <281364103@qq.com>
This commit is contained in:
li_zt 2023-11-15 18:51:02 +08:00
parent 4235623e06
commit a7ca7b9979

View File

@ -1230,6 +1230,10 @@ typedef enum VkStructureType {
VK_STRUCTURE_TYPE_MAX_ENUM = 0x7FFFFFFF
} VkStructureType;
typedef enum VkStructureTypeHUAWEI {
VK_STRUCTURE_TYPE_RENDER_PASS_DAMAGE_REGION_BEGIN_INFO_TYPE = VK_STRUCTURE_TYPE_MAX_ENUM - 7
} VkstructureTypeHUAWEI;
typedef enum VkPipelineCacheHeaderVersion {
VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1,
VK_PIPELINE_CACHE_HEADER_VERSION_MAX_ENUM = 0x7FFFFFFF
@ -3765,6 +3769,13 @@ typedef struct VkRenderPassCreateInfo {
const VkSubpassDependency* pDependencies;
} VkRenderPassCreateInfo;
typedef struct VkRenderPassDamageRegionBeginInfo {
enum VkStructureTypeHUAWEI sType;
const void* pNext;
uint32_t regionCount;
const VkRect2D* regions;
} VkRenderPassDamageRegionBeginInfo;
typedef struct VkCommandPoolCreateInfo {
VkStructureType sType;
const void* pNext;