# SPIR-V: Use Value.toFloat instead of switching on value tag when generating float constants · gitcafe/zig

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

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

Visibility: public

Requested revision: bcda3c5b828fcb631e739e9c820a56aaaf0fd4df

Requested commit: bcda3c5b828fcb631e739e9c820a56aaaf0fd4df

Commit: bcda3c5b828fcb631e739e9c820a56aaaf0fd4df

Tree: c23cdeb9817b03c46c138afe68c901fe6da25eb4

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
SPIR-V: Use Value.toFloat instead of switching on value tag when generating float constants

```

## Parents

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

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