You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this doesn't reproduce, I'm reporting this from memory of testing on someone else's mac
Expected vs observed behavior
The shader should work, half works with other backends. Instead it fails to compile the shader once it gets to the metal backend compiler.
Platform
macOS, wgpu 0.18.0, naga 0.14.2
The text was updated successfully, but these errors were encountered:
Description
Writing a wgpu shader using a variable with the name
half
doesn't work under metal, ashalf
is a reserved name.Repro steps
Use the
hello_triangle
example, with the following shader on macOS (using metal):Apologies if this doesn't reproduce, I'm reporting this from memory of testing on someone else's mac
Expected vs observed behavior
The shader should work,
half
works with other backends. Instead it fails to compile the shader once it gets to the metal backend compiler.Platform
macOS, wgpu 0.18.0, naga 0.14.2
The text was updated successfully, but these errors were encountered: