pulled out the draw call. forgot to allocate buffers
This commit is contained in:
@@ -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: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user