# spirv: generate code directly in updateFunc/updateDecl · gitcafe/zig

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

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

Visibility: public

Requested revision: c9db6e43af366215cd8bf494ea54ad14e4b97cc0

Requested commit: c9db6e43af366215cd8bf494ea54ad14e4b97cc0

Commit: c9db6e43af366215cd8bf494ea54ad14e4b97cc0

Tree: dbcb84fc48154347f36e108255780ec2506cb433

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: generate code directly in updateFunc/updateDecl

This cloneAir/cloneLiveness idea used to ignore Zig's internals
has proven buggy. Instead, just generate the code directly from
updateFunc and updateDecl as the other backends do, but pretend
that Zig is not an incremental compiler. The SPIR-V backend will
for the time being not support this.

```

## Parents

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

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