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.