Sign in
dawn
/
dawn
/
d78abb3257ddaf308eafa953d2406a40054f423b
/
.
/
test
/
tint
/
builtins
/
workgroupUniformLoad
/
if_condition.wgsl.expected.ir.fxc.hlsl
blob: 32bd77de835d431e32b4276b1c09f150e8b01edf [
file
] [
log
] [
blame
]
groupshared
bool
v
;
int
foo
()
{
GroupMemoryBarrierWithGroupSync
();
bool
v_1
=
v
;
GroupMemoryBarrierWithGroupSync
();
if
(
v_1
)
{
return
42
;
}
return
0
;
}
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
}