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
LegNeato
changed the title
buggy bswap implementation seems to assume unsinged arguments
buggy bswap implementation seems to assume unsigned arguments
Dec 10, 2024
This snippet of Rust code:
causes a panic in
rust-gpu
:This seems to be caused by implementation of
bswap
assuming its argument is unsigned, which is not correct.rust-gpu/crates/rustc_codegen_spirv/src/builder/intrinsics.rs
Line 262 in 1932353
BTW: This bug is the very first boon of fuzzing
rustgpu
withrustlants
!The text was updated successfully, but these errors were encountered: