mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-03-21 03:31:02 +01:00
Rename Ref alias to Id
This commit is contained in:
@@ -9,15 +9,15 @@
|
||||
|
||||
namespace Sirit {
|
||||
|
||||
Ref Module::OpFunction(Ref result_type,
|
||||
Id Module::OpFunction(Id result_type,
|
||||
spv::FunctionControlMask function_control,
|
||||
Ref function_type) {
|
||||
Id function_type) {
|
||||
auto op{new Op{spv::Op::OpFunction, bound++, result_type}};
|
||||
op->Add(static_cast<u32>(function_control));
|
||||
op->Add(function_type);
|
||||
return AddCode(op);
|
||||
}
|
||||
|
||||
Ref Module::OpFunctionEnd() { return AddCode(spv::Op::OpFunctionEnd); }
|
||||
Id Module::OpFunctionEnd() { return AddCode(spv::Op::OpFunctionEnd); }
|
||||
|
||||
} // namespace Sirit
|
||||
|
||||
Reference in New Issue
Block a user