0
Fork 0
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:
Robin Voetter 2023-04-08 00:55:18 +02:00
commit 405f7298ac
No known key found for this signature in database
GPG key ID: E755662F227CB468
2 changed files with 205 additions and 150 deletions