Sign in
dawn
/
tint
/
821f9bb525a34f9976627727b04ff9325bc982e6
/
.
/
test
/
expressions
/
binary
/
div_by_zero
/
by_identifier
/
scalar-vec3
/
i32.wgsl.expected.hlsl
blob: 24f0e8fde97399fbfd6dbe3d9f97078fd6135c70 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
int
a
=
4
;
int3 b
=
int3
(
0
,
2
,
0
);
const
int3 r
=
(
a
/
(
b
==
int3
(
0
,
0
,
0
)
?
int3
(
1
,
1
,
1
)
:
b
));
return
;
}