mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-27 17:57:12 +01:00
Add OpKill
This commit is contained in:
parent
93d42e62da
commit
3641e1de45
2 changed files with 8 additions and 0 deletions
|
|
@ -59,4 +59,9 @@ Id Module::OpReturnValue(Id value) {
|
|||
return AddCode(std::move(op));
|
||||
}
|
||||
|
||||
Id Module::OpKill() {
|
||||
AddCapability(spv::Capability::Shader);
|
||||
return AddCode(std::make_unique<Op>(spv::Op::OpKill));
|
||||
}
|
||||
|
||||
} // namespace Sirit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue