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