# spirv: add_with_overflow · gitcafe/zig

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

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

Visibility: public

Requested revision: 6146abee1ef19f1c5380d0afba6f38895ce81e0b

Requested commit: 6146abee1ef19f1c5380d0afba6f38895ce81e0b

Commit: 6146abee1ef19f1c5380d0afba6f38895ce81e0b

Tree: deca9953b420b50f9d64621dd8bf6d419868b3dc

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: add_with_overflow

Implements lowering for the add_with_overflow AIR instructions. Also implements
a helper function, simpleStructType, to quickly generate a SPIR-V structure type
without having to do the whole allocation dance.

```

## Parents

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

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