# spirv: make constructStruct also use self.ptrType · gitcafe/zig

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

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

Visibility: public

Requested revision: 6e955af8c84e1f9f75fef7f1a5820ab1b5bcff94

Requested commit: 6e955af8c84e1f9f75fef7f1a5820ab1b5bcff94

Commit: 6e955af8c84e1f9f75fef7f1a5820ab1b5bcff94

Tree: db4f8afbfa19a95ce9a5c034227dc12540b2dd10

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: make constructStruct also use self.ptrType

This completes the migration from spv.ptrType to self.ptrType.
Unfortunately this requires us to pass a list of types to
constructStruct, which also requires some extra allocations
here and there.

```

## Parents

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

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