Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
statements
/
assign
/
phony
/
storage_buffer.wgsl.expected.ir.dxc.hlsl
blob: 6cd8154b84a3bc7aa07259b1a3cbb32ffa53aaaa [
file
] [
log
] [
blame
]
struct
S
{
int
i
;
};
RWByteAddressBuffer
s
:
register
(
u0
);
S v
(
uint
offset
)
{
S v_1
=
{
asint
(
s
.
Load
((
offset
+
0u
)))};
return
v_1
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
v
(
0u
);
asint
(
s
.
Load
(
0u
));
}