2021-09-14 20:31:15 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include<hgl/graph/VK.h>
|
2023-03-02 20:19:25 +08:00
|
|
|
|
#include<hgl/graph/VKDescriptorSetType.h>
|
2021-09-14 20:31:15 +08:00
|
|
|
|
#include<hgl/type/Map.h>
|
2022-02-08 11:12:17 +08:00
|
|
|
|
#include<hgl/type/SortedSets.h>
|
2021-09-14 20:31:15 +08:00
|
|
|
|
VK_NAMESPACE_BEGIN
|
|
|
|
|
struct PipelineLayoutData
|
|
|
|
|
{
|
|
|
|
|
VkDevice device;
|
|
|
|
|
|
2024-05-25 22:08:01 +08:00
|
|
|
|
int vab_count[DESCRIPTOR_SET_TYPE_COUNT];
|
2023-03-20 13:35:04 +08:00
|
|
|
|
VkDescriptorSetLayout layouts[DESCRIPTOR_SET_TYPE_COUNT];
|
2021-09-14 20:31:15 +08:00
|
|
|
|
|
2023-03-20 13:35:04 +08:00
|
|
|
|
VkDescriptorSetLayout fin_dsl[DESCRIPTOR_SET_TYPE_COUNT];
|
2021-09-14 20:31:15 +08:00
|
|
|
|
uint32_t fin_dsl_count;
|
|
|
|
|
|
|
|
|
|
VkPipelineLayout pipeline_layout;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
~PipelineLayoutData();
|
|
|
|
|
};//class PipelineLayoutData
|
|
|
|
|
VK_NAMESPACE_END
|