mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 04:11:25 +00:00
Fixed: tint:1757 Change-Id: Iacce6ab0f08f89abbe5831e6f2285a0c964e74d7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110100 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Ben Clayton <bclayton@google.com>
7 lines
131 B
WebGPU Shading Language
7 lines
131 B
WebGPU Shading Language
@compute @workgroup_size(1)
|
|
fn main() {
|
|
let res = frexp(1.23);
|
|
let exp : i32 = res.exp;
|
|
let fract : f32 = res.fract;
|
|
}
|