Skip to content

Nightly 2022-01-24

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 24 Jan 00:02
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.