Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.h:
struct list scope_entry; /* Item entry in hlsl_ctx.extern_vars, if the variable is extern. */ struct list extern_entry;
- /* Scope that variable itself defines, used to provide a container for techniques and passes. */
- struct hlsl_scope *scope;
This should probably go in the union.