# spirv: make IdResultType and IdRef weak aliases of IdResult · gitcafe/zig

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

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

Visibility: public

Requested revision: 700dee34d5c7bdedc678032689c761e3a417fa03

Requested commit: 700dee34d5c7bdedc678032689c761e3a417fa03

Commit: 700dee34d5c7bdedc678032689c761e3a417fa03

Tree: 3ddf95feb67fe929ab3f9ebd1fc716699af226f5

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: make IdResultType and IdRef weak aliases of IdResult

Previously they were strong aliases, but as these types are used quite
intermittendly it resulted in a lot of toRef() calls. Removing them
improves readability a bit.

```

## Parents

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

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