mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
spirv: add decl dependencies for functions also
Entry points need to be attributed with a complete list of global variables that they use. To that end, the global dependencies mechanism is extended to also allow functions - when flushing the module, the list of dependencies is examined to generate this list of global variable result-ids.
This commit is contained in:
parent
efe7fae6af
commit
405f7298ac
2 changed files with 205 additions and 150 deletions
Loading…
Add table
Add a link
Reference in a new issue