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