blob: d4bd5e90349085e14a078d24bd49b499b4ee66d9 [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));
float16_t ubo_load_y = f16tof32(ubo_load[0] >> 16);
const vector<float16_t, 3> x = vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]);
return;
}