gfx-rs / naga

Universal shader translation in Rust

Home Page:https://github.com/gfx-rs/wgpu/tree/trunk/naga

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[wgsl-in] `sign()` incorrectly does not accept i32 arguments

Andrewp2 opened this issue · comments

I believe the issue is right here:

| Mf::Sign

Sign can accept i32s per the WGSL spec: https://www.w3.org/TR/WGSL/#sign-builtin