reuse wgfxpass on wayvr+screen
This commit is contained in:
@@ -202,24 +202,6 @@ impl WGfx {
|
||||
)?))
|
||||
}
|
||||
|
||||
pub fn create_pipeline_procedural(
|
||||
self: &Arc<Self>,
|
||||
vert: Arc<ShaderModule>,
|
||||
frag: Arc<ShaderModule>,
|
||||
format: Format,
|
||||
blend: Option<AttachmentBlend>,
|
||||
topology: PrimitiveTopology,
|
||||
) -> anyhow::Result<Arc<WGfxPipeline<()>>> {
|
||||
Ok(Arc::new(WGfxPipeline::new_procedural(
|
||||
self.clone(),
|
||||
vert,
|
||||
frag,
|
||||
format,
|
||||
blend,
|
||||
topology,
|
||||
)?))
|
||||
}
|
||||
|
||||
pub fn create_gfx_command_buffer(
|
||||
self: &Arc<Self>,
|
||||
usage: CommandBufferUsage,
|
||||
|
||||
Reference in New Issue
Block a user