Sign in
dawn
/
dawn
/
6e93ca5f8bfa3ff68c2b580212f5853ccc7985a1
/
.
/
test
/
tint
/
bug
/
tint
/
1776.wgsl.expected.ir.dxc.hlsl
blob: 15d2fb9e49d42fa7b9899fc128bb504c0f35f673 [
file
] [
log
] [
blame
]
struct
S
{
float4 a
;
int
b
;
};
ByteAddressBuffer
sb
:
register
(
t0
);
S v
(
uint
offset
)
{
float4 v_1
=
asfloat
(
sb
.
Load4
((
offset
+
0u
)));
S v_2
=
{
v_1
,
asint
(
sb
.
Load
((
offset
+
16u
)))};
return
v_2
;
}
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
S x
=
v
(
32u
);
}