mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[msl-out] Fix gradient sampling typo
This commit is contained in:
committed by
Dzmitry Malyshau
parent
800f910103
commit
222e0949bd
@@ -610,7 +610,7 @@ impl<W: Write> Writer<W> {
|
||||
write!(self.out, ")")?;
|
||||
}
|
||||
crate::SampleLevel::Gradient { x, y } => {
|
||||
write!(self.out, ", {}::gradient(", NAMESPACE)?;
|
||||
write!(self.out, ", {}::gradient2d(", NAMESPACE)?;
|
||||
self.put_expression(x, context, true)?;
|
||||
write!(self.out, ", ")?;
|
||||
self.put_expression(y, context, true)?;
|
||||
|
||||
Reference in New Issue
Block a user