Sign in
dawn
/
dawn
/
da2acafcd691e6e6de648a1c7408c6c662cb6943
/
.
/
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
()
{
}