Sign in
dawn
/
dawn
/
980145bc1687418f231787daacb15359fdb3c928
/
.
/
test
/
tint
/
expressions
/
binary
/
mod_by_zero
/
by_constant
/
scalar-vec3
/
i32.wgsl.expected.dxc.hlsl
blob: dfe722c8490c6cb37ac135d710b1f26a785a0b42 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
int
a
=
4
;
const
int3 b
=
int3
(
0
,
2
,
0
);
const
int3 r
=
(
a
%
(
b
==
int3
(
0
,
0
,
0
)
?
int3
(
1
,
1
,
1
)
:
b
));
return
;
}