aboutsummaryrefslogtreecommitdiff
path: root/lib/std/multi_array_list.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-03-29 01:12:05 +0200
committerRobin Voetter <robin@voetter.nl>2023-04-09 01:51:53 +0200
commit80b84355692606ac840584baa62aaafdd8ecd425 (patch)
treecdd9ef56bddb4c7d40e841d9b7accfa67e9f4bc9 /lib/std/multi_array_list.zig
parent764f19034d9aa74ce2220937d090c60f8f8bf919 (diff)
downloadzig-80b84355692606ac840584baa62aaafdd8ecd425.tar.gz
zig-80b84355692606ac840584baa62aaafdd8ecd425.zip
spirv: overhaul constant lowering
Lowering constants is currently not really compatible with unions. In this commit, constant lowering is drastically overhauled: instead of playing nice and generating SPIR-V constant representations for everything directly, we're just going to treat globals as an untyped bag of bytes ( or rather, SPIR-V 32-bit words), which we cast to the desired type at usage. This is similar to how Rust generates constants in its LLVm backend.
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions