added block repeat bind at DescriptorSets
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include<hgl/graph/VK.h>
|
||||
#include<hgl/type/Map.h>
|
||||
#include<hgl/type/Sets.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
class GPUBuffer;
|
||||
|
||||
@@ -18,6 +19,10 @@ class DescriptorSets
|
||||
ObjectList<VkDescriptorImageInfo> image_list;
|
||||
List<VkWriteDescriptorSet> wds_list;
|
||||
|
||||
Sets<uint32_t> binded_sets;
|
||||
|
||||
bool is_dirty;
|
||||
|
||||
private:
|
||||
|
||||
friend class GPUDevice;
|
||||
@@ -28,6 +33,8 @@ private:
|
||||
binding_count =bc;
|
||||
desc_set =ds;
|
||||
pipeline_layout =pl;
|
||||
|
||||
is_dirty=true;
|
||||
}
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user