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