# spirv: id range helper · gitcafe/zig

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

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

Visibility: public

Requested revision: 42c7e752e1eae7663068e9c52ad77f7383d977e9

Requested commit: 42c7e752e1eae7663068e9c52ad77f7383d977e9

Commit: 42c7e752e1eae7663068e9c52ad77f7383d977e9

Tree: a99443bbee26923de3fb0097b77b91e573232d33

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: id range helper

This allows us to more sanely allocate a continuous
range of result-ids, and avoids a bunch of nasty
casting code in a few places. Its currently not used
very often, but will be useful in the future.

```

## Parents

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

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