mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Add missing closing parentheses to some msl unpack functions.
This commit is contained in:
parent
975ccbd77b
commit
fe72235a7e
@ -80,6 +80,7 @@ For changelogs after v0.14, see [the wgpu changelog](../CHANGELOG.md).
|
||||
- Add and fix minimum Metal version checks for optional functionality. ([#2486](https://github.com/gfx-rs/naga/pull/2486)) **@teoxoy**
|
||||
- Make varyings' struct members unique. ([#2521](https://github.com/gfx-rs/naga/pull/2521)) **@evahop**
|
||||
- Add experimental vertex pulling transform flag. ([#5254](https://github.com/gfx-rs/wgpu/pull/5254)) **@bradwerth**
|
||||
- Fixup some generated MSL for vertex buffer unpack functions. ([#5829](https://github.com/gfx-rs/wgpu/pull/5829)) **@bradwerth**
|
||||
|
||||
#### GLSL-OUT
|
||||
|
||||
|
@ -4389,7 +4389,7 @@ impl<W: Write> Writer<W> {
|
||||
writeln!(
|
||||
self.out,
|
||||
"{}return metal::int2(as_type<int>(b3 << 24 | b2 << 16 | b1 << 8 | b0), \
|
||||
as_type<int>(b7 << 24 | b6 << 16 | b5 << 8 | b4);",
|
||||
as_type<int>(b7 << 24 | b6 << 16 | b5 << 8 | b4));",
|
||||
back::INDENT
|
||||
)?;
|
||||
writeln!(self.out, "}}")?;
|
||||
@ -4416,7 +4416,7 @@ impl<W: Write> Writer<W> {
|
||||
self.out,
|
||||
"{}return metal::int3(as_type<int>(b3 << 24 | b2 << 16 | b1 << 8 | b0), \
|
||||
as_type<int>(b7 << 24 | b6 << 16 | b5 << 8 | b4), \
|
||||
as_type<int>(b11 << 24 | b10 << 16 | b9 << 8 | b8);",
|
||||
as_type<int>(b11 << 24 | b10 << 16 | b9 << 8 | b8));",
|
||||
back::INDENT
|
||||
)?;
|
||||
writeln!(self.out, "}}")?;
|
||||
@ -4448,7 +4448,7 @@ impl<W: Write> Writer<W> {
|
||||
"{}return metal::int4(as_type<int>(b3 << 24 | b2 << 16 | b1 << 8 | b0), \
|
||||
as_type<int>(b7 << 24 | b6 << 16 | b5 << 8 | b4), \
|
||||
as_type<int>(b11 << 24 | b10 << 16 | b9 << 8 | b8), \
|
||||
as_type<int>(b15 << 24 | b14 << 16 | b13 << 8 | b12);",
|
||||
as_type<int>(b15 << 24 | b14 << 16 | b13 << 8 | b12));",
|
||||
back::INDENT
|
||||
)?;
|
||||
writeln!(self.out, "}}")?;
|
||||
|
Loading…
Reference in New Issue
Block a user