diff options
| author | Robin Voetter <robin@voetter.nl> | 2022-11-26 17:37:13 +0100 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2023-04-09 01:51:49 +0200 |
| commit | 3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c (patch) | |
| tree | acfe8f23d30ca6b08cef7d8615f3bd1b6bd80c5c /src/codegen/spirv/type.zig | |
| parent | 39016948f068c52b3cec24cdfdf5882193ea09b9 (diff) | |
| download | zig-3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c.tar.gz zig-3c5ab4dd3d23b191b184b70dc8255b253a7ddc2c.zip | |
spirv: add liveness checks
When a result of a pure instruction is not used, it also does not need to
be generated. The other backends already implement these checks, they were
ignored in SPIR-V up until now. New instructions added in the future should
have these be implemented from the start.
Diffstat (limited to 'src/codegen/spirv/type.zig')
0 files changed, 0 insertions, 0 deletions
