The opcodes of our own bytecode representation is now defined as methods on a class, so that the args of each opcode are documented and can be checked, and a docstring can be attached. Can also generate docs from this later.
Also refactored some of the opcodes a bit. Worth noting that the hashes for the spirv code of all tests are not changed :)
The opcodes of our own bytecode representation is now defined as methods on a class, so that the args of each opcode are documented and can be checked, and a docstring can be attached. Can also generate docs from this later.
Also refactored some of the opcodes a bit. Worth noting that the hashes for the spirv code of all tests are not changed :)