Sign in
dawn
/
dawn
/
a561b989290824819e6fa9fbea0728a31fd45361
/
.
/
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
));
}