Descritpor stuff

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-12-11 11:31:27 +02:00
parent be453697f0
commit f8aa685b8a
3 changed files with 73 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ private:
auto create_buffer(size_t alloc_size, VkBufferUsageFlags usage,
VmaMemoryUsage memory_usage) -> AllocatedBuffer;
auto destroy_buffer(AllocatedBuffer &buffer) -> void;
auto destroy_buffer(AllocatedBuffer const &buffer) -> void;
struct {
vkb::Instance instance;
@@ -104,6 +104,9 @@ private:
VkDescriptorSet draw_image_descriptors;
VkDescriptorSetLayout draw_image_descriptor_layout;
GPUSceneData scene_data {};
VkDescriptorSetLayout gpu_scene_data_descriptor_layout;
VkPipeline gradient_pipeline {};
VkPipelineLayout gradient_pipeline_layout {};