mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-03-06 04:22:59 +00:00
Add OpConstantNull
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user