-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean WGSL shader code using newer features
It looks like this code has been written quite a while ago, presumably when the capabilities of naga regarding WGSL were quite limited yet. I changed some stuff to what I would perceive as more idiomatic. I removed a bunch of type annotations, used built-in type aliases, and even used abstract types new with wgpu 0.19.
- Loading branch information
1 parent
25a742a
commit 4ac455a
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters