# spirv: work around OpSource parsing issue in llvm-spirv · gitcafe/zig

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

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

Visibility: public

Requested revision: 0552e504d061c428655536b82db3bda21d97ef3c

Requested commit: 0552e504d061c428655536b82db3bda21d97ef3c

Commit: 0552e504d061c428655536b82db3bda21d97ef3c

Tree: 6115fc20146bb97cbe6e0ab5badc05d1a92015f3

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: work around OpSource parsing issue in llvm-spirv

The Khronos SPIRV-LLVM translator does not parse OpSource correctly. This
was causing tests to fail and other mysterious issues.

These are resolved by only generating a single OpSource instruction for now,
which does not have the source file locations also.

See https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2188

```

## Parents

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

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