Sign in
dawn
/
dawn
/
8f1d276a3780e023f44b54385255479b4a7e3be7
/
.
/
test
/
tint
/
bug
/
fxc
/
dyn_array_idx
/
read
/
function.wgsl.expected.ir.dxc.hlsl
blob: 186a8ece29771722a1394b57947be0b89830f1e7 [
file
] [
log
] [
blame
]
struct
S
{
int
data
[
64
];
};
cbuffer cbuffer_ubo
:
register
(
b0
)
{
uint4 ubo
[
1
];
};
RWByteAddressBuffer
result
:
register
(
u1
);
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
S s
=
(
S
)
0
;
result
.
Store
(
0u
,
asuint
(
s
.
data
[
asint
(
ubo
[
0u
].
x
)]));
}