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