Sign in
dawn
/
dawn
/
131b7dfb0718553fbb1cf2dcd5485266a159c339
/
.
/
test
/
tint
/
builtins
/
workgroupUniformLoad
/
if_condition.wgsl.expected.ir.dxc.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
()
{
}