diff --git a/src/back/glsl/mod.rs b/src/back/glsl/mod.rs index 062e038f00..5777134c8e 100644 --- a/src/back/glsl/mod.rs +++ b/src/back/glsl/mod.rs @@ -1030,6 +1030,11 @@ impl<'a, W: Write> Writer<'a, W> { // any spaces at the beginning or end this.write_image_type(dim, arrayed, class)?; } + TypeInner::Pointer { base, .. } => { + // write parameter qualifiers + write!(this.out, "inout ")?; + this.write_type(base)?; + } // All other types are written by `write_type` _ => { this.write_type(arg.ty)?;