9 Feb
2023
9 Feb
'23
10:13 a.m.
Francisco Casas (@fcasas) commented about libs/vkd3d-shader/hlsl.h:
* Not to be confused with the function parameters! */ unsigned int attr_count; const struct hlsl_attribute *const *attrs; + struct hlsl_ir_var *early_return_var;
nitpick: may be good to add an empty line before this one so that it is known that the comment doesn't apply to it. Or even better, a comment along the lines of:
Synthetic variable to keep track of whether a return statement has been executed.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/85#note_23598