# spirv: Uniform/PushConstant variables · gitcafe/zig

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

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

Visibility: public

Requested revision: a1cb9563f6a421220f87692f16251f3628c8cf6c

Requested commit: a1cb9563f6a421220f87692f16251f3628c8cf6c

Commit: a1cb9563f6a421220f87692f16251f3628c8cf6c

Tree: f497b95e06f0b8f082960cd4af696bf2f5f52d15

Author: Ali Cheraghi

Committer: Ali Cheraghi

## Message

```
spirv: Uniform/PushConstant variables

- Rename GPU address spaces to match with SPIR-V spec.
- Emit `Block` Decoration for Uniform/PushConstant variables.
- Don't emit `OpTypeForwardPointer` for non-opencl targets.
  (there's still a false-positive about recursive structs)

Signed-off-by: Ali Cheraghi <alichraghi@proton.me>

```

## Parents

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

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