mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[wgsl-out] Fix Pointer writing
This commit is contained in:
committed by
Dzmitry Malyshau
parent
0292a2897a
commit
a5874eb0cf
@@ -521,6 +521,12 @@ impl<W: Write> Writer<W> {
|
||||
vector_size_str(rows),
|
||||
)?;
|
||||
}
|
||||
TypeInner::Pointer { base, class } => {
|
||||
self.write_type(module, base)?;
|
||||
if let Some(storage_class) = storage_class_str(class) {
|
||||
write!(self.out, "<{}>", storage_class)?;
|
||||
}
|
||||
},
|
||||
_ => {
|
||||
return Err(Error::Unimplemented(format!(
|
||||
"write_value_type {:?}",
|
||||
|
||||
Reference in New Issue
Block a user