From 4dcf385b188eeb8fcef19028175e6662df93f7d1 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Fri, 21 May 2021 21:51:33 -0700 Subject: [PATCH] Remove MemFlags trait --- piet-gpu-hal/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/piet-gpu-hal/src/lib.rs b/piet-gpu-hal/src/lib.rs index 7978070..ce7c6d7 100644 --- a/piet-gpu-hal/src/lib.rs +++ b/piet-gpu-hal/src/lib.rs @@ -263,12 +263,6 @@ pub trait CmdBuf { 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. pub trait PipelineBuilder { /// Add buffers to the pipeline. Each has its own binding.