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