mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 15:00:57 +01:00
[wgsl-out] Fix Pointer writing
This commit is contained in:
1 parent
0292a2897a
commit
a5874eb0cf
1 file changed
+6
@@ -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