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.
405f7298acRobin Voetter committed on 4/8/2023, 11:51:53 PMparentefe7fae
2 files changedLine totals unavailable