More pipelining
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "cve_window.hpp"
|
||||
#include "cve_pipeline.hpp"
|
||||
#include "cve_device.hpp"
|
||||
|
||||
namespace cve {
|
||||
class FirstApp {
|
||||
@@ -12,7 +13,8 @@ namespace cve {
|
||||
void run();
|
||||
private:
|
||||
CveWindow cveWindow{WIDTH, HEIGHT, "Hello Vulkan!"};
|
||||
CvePipeline cvePipeline{"shaders/simple_shader.vert.spv",
|
||||
"shaders/simple_shader.frag.spv"};
|
||||
CveDevice cveDevice{cveWindow};
|
||||
CvePipeline cvePipeline{cveDevice, "shaders/simple_shader.vert.spv",
|
||||
"shaders/simple_shader.frag.spv", CvePipeline::defaultPipelineConfigInfo(WIDTH, HEIGHT)};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user