# spirv: forbid merging logical pointers · gitcafe/zig

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

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

Visibility: public

Requested revision: 49a067ccfe6cc3ee59b0fe0f2dc32f80ab75d574

Requested commit: 49a067ccfe6cc3ee59b0fe0f2dc32f80ab75d574

Commit: 49a067ccfe6cc3ee59b0fe0f2dc32f80ab75d574

Tree: 349a61aee17121afb7a63e37c6ce4c49073ab8cb

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: forbid merging logical pointers

Under some architecture/operating system combinations it is forbidden
to return a pointer from a merge, as these pointers must point to a
location at compile time. This adds a check for those cases when
returning a pointer from a block merge.

```

## Parents

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

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