Sign in
dawn
/
dawn
/
0bc97cb2f50a092b4f332c8cb2b3285de7ccc39d
/
.
/
test
/
tint
/
extensions
/
atomic_vec2u_min_max
/
atomicStoreMax_function.wgsl.expected.dxc.hlsl
blob: efb7ff3340149c2b9db0ee63a95b4e4052fc9b46 [
file
]
RWByteAddressBuffer
a
:
register
(
u0
);
void
foo
()
{
uint64_t
v
=
uint64_t
((
0u
).
xx
.
x
);
uint64_t
v_1
=
uint64_t
((
0u
).
xx
.
y
);
a
.
InterlockedMax64
(
0u
,
((
v_1
<<
uint64_t
(
32u
))
|
v
));
}
void
main
()
{
foo
();
}