vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.54k stars 438 forks source link

Disable `validate_global_variables` check for now #2593

Closed Rua closed 3 weeks ago

Rua commented 1 month ago

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.