Sign in
dawn
/
dawn
/
f35c7190540806030ce564db1cde3b84a3c8e7be
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
vec3-scalar
/
u32.wgsl.expected.dxc.hlsl
blob: bfe9e027cc255b687c003670a91265c688448888 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
uint3 a
=
uint3
(
1u
,
2u
,
3u
);
const
uint
b
=
0u
;
const
uint3 r
=
(
a
/
(
b
==
0u
?
1u
:
b
));
return
;
}