Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.h:
* stored in the data_type field. */ struct hlsl_src offset; struct hlsl_type *data_type;
- /* Whether the path has been lowered to an offset or not. */
- bool is_lowered;
Instead of adding another field which just duplicates information, could you use a helper? It should serve the same documentation purpose.