mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 09:09:19 +01:00
1 file changed
+1
-1
+1
-1
@@ -748,7 +748,7 @@ pub enum ShaderSource<'a> {
|
||||
/// is passed to `gfx-rs` and `spirv_cross` for translation.
|
||||
#[cfg(feature = "spirv")]
|
||||
SpirV(Cow<'a, [u32]>),
|
||||
/// GSLS module as a string slice.
|
||||
/// GLSL module as a string slice.
|
||||
///
|
||||
/// wgpu will attempt to parse and validate it. The module will get
|
||||
/// passed to wgpu-core where it will translate it to the required languages.
|
||||
|
||||
Reference in new issue
Block a user