-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wgpu: Fix gradient shader on vulkan backend
A regression in naga caused a mistranslation of the gradient shader on the vulkan backend. This caused radial gradients to be rendered as linear gradients on the vulkan backend. dx12 seems unaffected. This seems to be cased by a switch statement starting with a default case Re-order the case statements to avoid this. Looks like it's been fixed in naga master.
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 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