# spirv: improve storage efficiency for integer and float types · gitcafe/zig

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

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

Visibility: public

Requested revision: 3eafe3033ef83e5b34e3ccbd6e803c7a046df390

Requested commit: 3eafe3033ef83e5b34e3ccbd6e803c7a046df390

Commit: 3eafe3033ef83e5b34e3ccbd6e803c7a046df390

Tree: e62c8d20a421c95b7d145ea3da1d3a5c2cc0602d

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: improve storage efficiency for integer and float types

In practice there are only a few variations of these types allowed, so it
kind-of makes sense to write them all out. Because the types are hashed this
does not actually save all that many bytes in the long run, though. Perhaps
some of these types should be pre-registered?

```

## Parents

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

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