Sign in
dawn
/
dawn
/
2a7005f4161fe3088544faa6557aaaa85a9cbf77
/
.
/
test
/
tint
/
expressions
/
binary
/
mod_by_zero
/
by_expression
/
vec3-vec3
/
i32.wgsl
blob: 60f69ff9fa6e3c015ac417c1c8fd63509bd06084 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
var
a
=
vec3
<i32>
(
1
,
2
,
3
);
var
b
=
vec3
<i32>
(
0
,
5
,
0
);
let
r
:
vec3
<i32>
=
a
%
(
b
+
b
);
}