mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-03-20 19:21:03 +01:00
OpName returns its target
This commit is contained in:
@@ -51,9 +51,8 @@ public:
|
||||
Constant(TypeFloat(32), Literal(50.0f))});
|
||||
ConstantNull(TypeVector(TypeInt(64, false), 4));
|
||||
|
||||
auto cont{Label()};
|
||||
auto skip{Label()};
|
||||
Name(skip, "skip");
|
||||
auto cont{Name(Label(), "cont")};
|
||||
auto skip{Name(Label(), "skip")};
|
||||
auto main_type{TypeFunction(TypeVoid())};
|
||||
auto main_func{Emit(Function(TypeVoid(), spv::FunctionControlMask::MaskNone, main_type))};
|
||||
Emit(Label());
|
||||
|
||||
Reference in New Issue
Block a user