aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorIntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com>2023-07-06 20:41:49 +0200
committerGitHub <noreply@github.com>2023-07-06 14:41:49 -0400
commit49ac816e3683def5d14d6f8415d80413ecb43e4c (patch)
treed1111a8019b7e1cb4c6a0f28158d3806126ec5d3 /src/codegen/spirv
parent91daf1c8d8a64133f18dcec2b96e9f9f4326fe36 (diff)
downloadzig-49ac816e3683def5d14d6f8415d80413ecb43e4c.tar.gz
zig-49ac816e3683def5d14d6f8415d80413ecb43e4c.zip
Optimize Allocator functions to create less duplicate code for similar types (#16332)
* Move functionality from generic functions that doesn't depend on the type into a function that only depends on comptime alignment. This reduces comptime code duplication because e.g. `alloc(u32, )` and `alloc(i32, )` now use the same function `allocWithFoo(4, 4, )` under the hood.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions