1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-21 19:52:03 +00:00
sirit/tests
ReinUsesLisp 0b9ee36247 Stream SPIR-V instructions directly to a binary
Before this commit sirit generated a stream of tokens that would then be
inserted to the final SPIR-V binary. This design was carried from the
initial design of manually inserting opcodes into the code. Now that
all instructions but labels are inserted when their respective function
is called, the old design can be dropped in favor of generating a valid
stream of SPIR-V opcodes.

The API for variables is broken, but adopting the new one is trivial.
Instead of calling OpVariable and then adding a global or local
variable, OpVariable was removed and global or local variables are
generated when they are called.

Avoiding duplicates is now done with an std::unordered_set instead of
using a linear search jumping through vtables.
2020-08-01 01:50:01 -03:00
..
CMakeLists.txt aloha 2018-08-23 04:59:57 -03:00
main.cpp Stream SPIR-V instructions directly to a binary 2020-08-01 01:50:01 -03:00