mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-03-11 01:46:28 +00:00
Add OpKill
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user