mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-07 23:18:54 +01:00
Add OpConstantSampler
This commit is contained in:
parent
014c6ab586
commit
42c456f24f
5 changed files with 28 additions and 9 deletions
|
|
@ -137,12 +137,16 @@ public:
|
|||
/// Returns a numeric scalar constant.
|
||||
Ref ConstantComposite(Ref result_type, const std::vector<Ref>& constituents);
|
||||
|
||||
/// Returns a sampler constant.
|
||||
Ref ConstantSampler(Ref result_type, spv::SamplerAddressingMode addressing_mode,
|
||||
bool normalized, spv::SamplerFilterMode filter_mode);
|
||||
|
||||
// Function
|
||||
|
||||
/// Emits a function.
|
||||
/// Declares a function.
|
||||
Ref Function(Ref result_type, spv::FunctionControlMask function_control, Ref function_type);
|
||||
|
||||
/// Emits a function end.
|
||||
/// Ends a function.
|
||||
Ref FunctionEnd();
|
||||
|
||||
// Flow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue