mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
I think the main argument for preallocating instructions and passing them to helpers is that this simplifies error handling. However it seems that the simplification is close to negligible, while the current solution makes it harder to use the iterator abstraction layer for the instruction array, and it also makes the code harder to read and check.