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