mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-03-22 03:51:02 +01:00
Rename opcodes -> insts
This commit is contained in:
@@ -10,10 +10,16 @@
|
||||
#include "common_types.h"
|
||||
#include "op.h"
|
||||
#include "stream.h"
|
||||
#include "opcodes.h"
|
||||
|
||||
namespace Sirit {
|
||||
|
||||
template<typename T>
|
||||
inline void WriteEnum(Stream& stream, spv::Op opcode, T value) {
|
||||
Op op{opcode};
|
||||
op.Add(static_cast<u32>(value));
|
||||
op.Write(stream);
|
||||
}
|
||||
|
||||
Module::Module() {}
|
||||
|
||||
Module::~Module() = default;
|
||||
|
||||
Reference in New Issue
Block a user