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