Pulled the gui out into VkGUI to separate it out.
This commit is contained in:
parent
4f7ab6db68
commit
35198bce6b
6 changed files with 198 additions and 166 deletions
17
vk_types.h
17
vk_types.h
|
|
@ -37,3 +37,20 @@ struct AllocatedImage {
|
|||
VkExtent3D imageExtent;
|
||||
VkFormat imageFormat;
|
||||
};
|
||||
|
||||
struct ComputePushConstants {
|
||||
glm::vec4 data1;
|
||||
glm::vec4 data2;
|
||||
glm::vec4 data3;
|
||||
glm::vec4 data4;
|
||||
};
|
||||
|
||||
struct ComputeEffect {
|
||||
const char *name;
|
||||
VkPipeline pipeline;
|
||||
VkPipelineLayout layout;
|
||||
|
||||
ComputePushConstants data;
|
||||
};
|
||||
|
||||
constexpr unsigned int FRAME_OVERLAP=2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue