pulled out the draw call. forgot to allocate buffers

This commit is contained in:
2019-08-11 21:03:28 -07:00
parent 0be20eb959
commit e351e36c92
6 changed files with 100 additions and 48 deletions

View File

@@ -130,8 +130,11 @@ impl ShaderKernels {
GraphicsShaderType::Vertex))
};
let render_pass = Arc::new(vulkano::single_pass_renderpass!(
device.clone(),
// Attachments are outgoing like f_color
attachments: {
// `color` is a custom name we give to the first and only attachment.
color: {
@@ -153,6 +156,7 @@ impl ShaderKernels {
pass: {
// We use the attachment named `color` as the one and only color attachment.
color: [color],
//color: [],
// No depth-stencil attachment is indicated with empty brackets.
depth_stencil: {}
}