This temporarily disables the check since it is currently applied to all global variables, not only the ones used by the entry point. Doing that requires analysing the call tree during Spirv::new, then storing which globals are statically used by each entry point.
This temporarily disables the check since it is currently applied to all global variables, not only the ones used by the entry point. Doing that requires analysing the call tree during
Spirv::new
, then storing which globals are statically used by each entry point.