Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.y:
if ($7.reg_reservation.type) FIXME("Unexpected register reservation for a function.\n");
if ($7.offset_reservation.type)
hlsl_error(ctx, &@5, VKD3D_SHADER_ERROR_HLSL_INVALID_RESERVATION,
"packoffset() is only allowed inside constant buffer declarations.");
Should this be "is not allowed on functions"?