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