aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-05-18 17:26:20 +0200
committerLuuk de Gram <luuk@degram.dev>2023-05-19 20:22:45 +0200
commit4a33aa922e90b76248b259a89be86966eb4898c2 (patch)
tree9e0320d8d8cc8e4d63fc341b6f1db591a7d632c0 /src/codegen/spirv
parent55a260c968aed32001df5355596331db38b13729 (diff)
downloadzig-4a33aa922e90b76248b259a89be86966eb4898c2.tar.gz
zig-4a33aa922e90b76248b259a89be86966eb4898c2.zip
wasm: support `memset` for elem abi size > 1
Previously we incorrectly assumed all memset's to have its element abi-size be 1 byte. This would set the region of memory incorrectly. We now have a more efficient loop, as well as support any element type by re-using the `store` function for each element and moving the pointer by 1 element.
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions