Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/include/graphics/vulkan/GraphicsPipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class GraphicsPipeline : public IPipeline {
const VkDescriptorSet* descriptorSets,
uint32_t setCount, uint32_t firstSet = 0);
void pushConstants(VkCommandBuffer cmd, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* data);

~GraphicsPipeline() override {
GraphicsPipeline::destroy();
}
private:
VkDevice _device = VK_NULL_HANDLE;
VkPipeline _pipeline = VK_NULL_HANDLE;
Expand Down
1 change: 0 additions & 1 deletion src/include/graphics/vulkan/pipelines.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class Pipelines {
VkDescriptorSetLayout drawImageDescriptorLayout,
AllocatedImage drawImage);
void destroy();

private:
VkDevice _device;
VkDescriptorSetLayout _singleImageDescriptorLayout;
Expand Down
Loading