Remove MemFlags trait

This commit is contained in:
Raph Levien 2021-05-21 21:51:33 -07:00
parent e9a8b4643b
commit 4dcf385b18

View file

@ -263,12 +263,6 @@ pub trait CmdBuf<D: Device> {
unsafe fn write_timestamp(&mut self, pool: &D::QueryPool, query: u32); unsafe fn write_timestamp(&mut self, pool: &D::QueryPool, query: u32);
} }
pub trait MemFlags: Sized + Clone + Copy {
fn device_local() -> Self;
fn host_coherent() -> Self;
}
/// A builder for pipelines with more complex layouts. /// A builder for pipelines with more complex layouts.
pub trait PipelineBuilder<D: Device> { pub trait PipelineBuilder<D: Device> {
/// Add buffers to the pipeline. Each has its own binding. /// Add buffers to the pipeline. Each has its own binding.