blob: 14de21b05c3087e0ac847f2cad393840af4c6009 [file] [log] [blame]
cbuffer cbuffer_u : register(b0) {
uint4 u[1];
};
[numthreads(1, 1, 1)]
void main() {
uint2 ubo_load = u[0].xy;
vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
vector<float16_t, 2> ubo_load_yw = vector<float16_t, 2>(f16tof32(ubo_load >> 16));
const vector<float16_t, 4> x = vector<float16_t, 4>(ubo_load_xz[0], ubo_load_yw[0], ubo_load_xz[1], ubo_load_yw[1]);
return;
}