blob: f0a9375e83e74efb2e0040521e5f1f5d705484ac [file] [log] [blame]
struct S {
float4 a;
int b;
};
RWByteAddressBuffer sb : register(u0, space0);
S sb_load(uint offset) {
const S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
return tint_symbol;
}
void main_1() {
const S x_18 = sb_load(32u);
return;
}
[numthreads(1, 1, 1)]
void main() {
main_1();
return;
}