Sign in
dawn
/
dawn
/
f3e7db0c4ed2fe144a7f682e029f48e1c9ccf3ca
/
.
/
test
/
tint
/
builtins
/
compute_subgroup_inclusive.wgsl.expected.wgsl
blob: f5bbe9daa4c407ee00b1beb829f8f69b2b13e65a [
file
] [
log
] [
blame
]
enable chromium_experimental_subgroups
;
@compute
@workgroup_size
(
1
)
fn main
()
{
let
val
:
f32
=
2.0
;
let
subadd
:
f32
=
subgroupInclusiveAdd
(
val
);
let
submul
:
f32
=
subgroupInclusiveMul
(
val
);
}