pub fn global_needs_wrapper(ir_module: &Module, var: &GlobalVariable) -> bool
Expand description
Return true if the global requires a type decorated with Block
.
See back::spv::GlobalVariable
for details.
pub fn global_needs_wrapper(ir_module: &Module, var: &GlobalVariable) -> bool
Return true if the global requires a type decorated with Block
.
See back::spv::GlobalVariable
for details.