# spirv: make constant handle float, errorset, errorunion · gitcafe/zig

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

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

Visibility: public

Requested revision: c92cc5798f0ea72ab1c77ae12c6124e5ab090730

Requested commit: c92cc5798f0ea72ab1c77ae12c6124e5ab090730

Commit: c92cc5798f0ea72ab1c77ae12c6124e5ab090730

Tree: d94372b5d0575be57dde8bfb072d4fd519951490

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: make constant handle float, errorset, errorunion

This is in preparation of removing indirect lowering again. Also
modifies constant() to accept a repr so that both direct as well
as indirect representations can be generated. Indirect is not yet
used, but will be used for globals.

```

## Parents

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

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