# spirv: make decl deps a hash map instead of an arraylist · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e26d8d060410ff5f62356c41f3c782f8a9081495)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e26d8d060410ff5f62356c41f3c782f8a9081495

Requested commit: e26d8d060410ff5f62356c41f3c782f8a9081495

Commit: e26d8d060410ff5f62356c41f3c782f8a9081495

Tree: 7bfe6f191108e2191d79c5f64fecaab4a0bdbc6e

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: make decl deps a hash map instead of an arraylist

The same declaration can be added to the dependency set multiple
times, and in this case we still need to emit it once. By making
this list a hash map instead, we can do that quite easily.

This commit also introduces some additional debug logging regarding
decls.

```

## Parents

- [d961b11cde81e92ed3d35c98f7b191255aac58a6](https://git.cafe/gitcafe/zig/commit/d961b11cde81e92ed3d35c98f7b191255aac58a6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e26d8d060410ff5f62356c41f3c782f8a9081495?format=markdown)
