Sign in
dawn
/
tint
/
b4cd255c6ecc8db6d49274b8de378b33c478c629
/
.
/
test
/
benchmark
/
simple_compute.wgsl.expected.wgsl
blob: 458c08c436d09fb76cefdae471618abd4bce1c4a [
file
] [
log
] [
blame
]
struct
SB
{
data
:
array
<i32>
;
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
buffer
:
SB
;
@stage
(
compute
)
@workgroup_size
(
1
,
2
,
3
)
fn main
(
@builtin
(
global_invocation_id
)
id
:
vec3
<u32>
)
{
buffer
.
data
[
id
.
x
]
=
(
buffer
.
data
[
id
.
x
]
+
1
);
}