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