20 lines
421 B
C
20 lines
421 B
C
#pragma once
|
|
|
|
#include <volk.h>
|
|
|
|
struct RenderDevice;
|
|
|
|
struct MiscData
|
|
{
|
|
VkPipelineLayout pipelineLayout;
|
|
VkPipeline trianglePipeline;
|
|
|
|
VkImageMemoryBarrier2 acquireToRenderBarrier;
|
|
VkDependencyInfo acquireToRenderDependency;
|
|
VkImageMemoryBarrier2 renderToPresentBarrier;
|
|
VkDependencyInfo renderToPresentDependency;
|
|
|
|
void init(RenderDevice const& renderDevice);
|
|
void cleanup(RenderDevice const& renderDevice);
|
|
};
|