diff options
| author | Robin Voetter <robin@voetter.nl> | 2023-04-09 01:29:39 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2023-04-09 01:51:53 +0200 |
| commit | 8bbfbfc956af163434c734e196d5c2a77e77ff07 (patch) | |
| tree | 8ed95f240d2736a4d82e915ecc9269f15ba834e2 /lib/std | |
| parent | 80b84355692606ac840584baa62aaafdd8ecd425 (diff) | |
| download | zig-8bbfbfc956af163434c734e196d5c2a77e77ff07.tar.gz zig-8bbfbfc956af163434c734e196d5c2a77e77ff07.zip | |
spirv: improve linking globals
SPIR-V globals must be emitted in order, so that any
declaration precedes usage. Zig, however, generates globals in
random order. To this end we keep for each global a list of
dependencies and perform a topological sort when flushing the
module.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
