Sign in
dawn
/
dawn
/
f3e7db0c4ed2fe144a7f682e029f48e1c9ccf3ca
/
.
/
test
/
tint
/
bug
/
tint
/
1677.wgsl
blob: 90e27faf94475c577d5fef6b3b36014a03f46d09 [
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
);
}