# spirv: fix some \(Ptr\)AccessChain uses · gitcafe/zig

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

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

Visibility: public

Requested revision: 6c055570720197af242b4c5538dd784d2e3a58f7

Requested commit: 6c055570720197af242b4c5538dd784d2e3a58f7

Commit: 6c055570720197af242b4c5538dd784d2e3a58f7

Tree: f85e0efa0d9c488172c301542b528a89cf1a3797

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: fix some (Ptr)AccessChain uses

The first dereference of PtrAccessChain returns a pointer of the same type
as the base pointer, in contrast to AccessChain, where the first dereference
returns a pointer of the dereferenced type of the base pointer.

```

## Parents

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

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