mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Added the new method to the msl Writer (#236)
This commit is contained in:
1 parent
2b268c926c
commit
b76dff9d9c
1 file changed
+8
@@ -370,6 +370,14 @@ fn separate(is_last: bool) -> &'static str {
|
||||
}
|
||||
|
||||
impl<W: Write> Writer<W> {
|
||||
/// Creates a new `Writer` instance
|
||||
pub fn new(out: W) -> Self {
|
||||
Writer {
|
||||
out,
|
||||
typifier: Typifier::new(),
|
||||
}
|
||||
}
|
||||
|
||||
fn put_call(
|
||||
&mut self,
|
||||
name: &str,
|
||||
|
||||
Reference in new issue
Block a user