28 Feb
2023
28 Feb
'23
12:18 a.m.
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"? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/106#note_25671