Sign in
dawn
/
dawn
/
refs/heads/chromium/5382
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
vec3-scalar
/
i32.wgsl.expected.dxc.hlsl
blob: 7029295b9dbf78ef3f1d732de7ddb1f03537d26d [
file
] [
log
] [
blame
] [
edit
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
int3 a
=
int3
(
1
,
2
,
3
);
const
int
b
=
0
;
const
int3 r
=
(
a
/
(
b
==
0
?
1
:
b
));
return
;
}