# spirv: add \-fstructured-cfg option · gitcafe/zig

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

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

Visibility: public

Requested revision: b4b1c4df640c9b40c303eef7d0364d01ec490a8e

Requested commit: b4b1c4df640c9b40c303eef7d0364d01ec490a8e

Commit: b4b1c4df640c9b40c303eef7d0364d01ec490a8e

Tree: bf5d534fb5b3c7cdb3b78f2846e4272939258e45

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: add -fstructured-cfg option

This enables the compiler to generate a structured cfg even in opencl,
even if it is not strictly required by the SPIR-V Kernel specification.

```

## Parents

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

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