# spirv: Do not generate the Alignment attribute on pointers for now · gitcafe/zig

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

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

Visibility: public

Requested revision: 979b4102588fbb0d066060a5a6b6e10f584158ac

Requested commit: 979b4102588fbb0d066060a5a6b6e10f584158ac

Commit: 979b4102588fbb0d066060a5a6b6e10f584158ac

Tree: 6748c0fa79b9251eda4dc456b89efa8dab8c770f

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: Do not generate the Alignment attribute on pointers for now

It seems that some implementations may have problems with these right now,
like Intel and Rusticl. In theory, these attributes should be superficial
on the pointer type, as alignment guarantees are also added via the
alignment option of the OpLoad and OpStore instructions. Therefore, get rid
of them for now.

```

## Parents

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

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