mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-21 21:36:17 +01:00
OpName returns its target
This commit is contained in:
parent
4fe98c2902
commit
45555c0e57
3 changed files with 6 additions and 5 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue