aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-05-20 17:25:17 +0200
committerAli Chraghi <63465728+alichraghi@users.noreply.github.com>2023-05-20 08:48:38 -0700
commitd7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e (patch)
treef323c9076d4cef92c48d25e23ba71f1a3d4c3a1b /src/codegen/spirv
parentfedc9a19e7909694fac107c3da245e08616fd6e4 (diff)
downloadzig-d7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e.tar.gz
zig-d7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e.zip
spirv: don't generate union tag type if it doesnt exist
Previously the tag type was generated even if it was nonexistant, triggering an assertion that an integer type should never have zero bits. Now its only generated when the tag type is actually emitted.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions