mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-03-16 02:56:35 +00: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