Sign in
dawn
/
dawn
/
205c0158db5b15a6a1b27eacb9c25a8862c90561
/
.
/
test
/
tint
/
bug
/
tint
/
1677.wgsl.expected.wgsl
blob: aa264579e6c72f8674f422241d49fe922e3db978 [
file
] [
log
] [
blame
]
struct
Input
{
position
:
vec3
<i32>
,
}
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read
>
input
:
Input
;
@compute
@workgroup_size
(
1
,
1
,
1
)
fn main
(
@builtin
(
global_invocation_id
)
id
:
vec3
<u32>
)
{
let
pos
=
(
input
.
position
-
vec3
<i32>
(
0
));
}