mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-30 19:25:53 +01:00
Add OpConstantNull
This commit is contained in:
parent
42c456f24f
commit
a582641b99
3 changed files with 8 additions and 1 deletions
|
|
@ -41,4 +41,8 @@ Ref Module::ConstantSampler(Ref result_type, spv::SamplerAddressingMode addressi
|
|||
return AddDeclaration(op);
|
||||
}
|
||||
|
||||
Ref Module::ConstantNull(Ref result_type) {
|
||||
return AddDeclaration(new Op(spv::Op::OpConstantNull, bound, result_type));
|
||||
}
|
||||
|
||||
} // namespace Sirit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue