mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Remove MemFlags trait
This commit is contained in:
parent
e9a8b4643b
commit
4dcf385b18
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue