mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-01-05 14:09:09 +01:00
Add EmitVertex and EndPrimitive
This commit is contained in:
parent
b4eeadfd9b
commit
3067893923
2 changed files with 14 additions and 0 deletions
|
|
@ -358,6 +358,12 @@ public:
|
|||
/// Make an intermediate object whose value is undefined.
|
||||
Id OpUndef(Id result_type);
|
||||
|
||||
/// Emits the current values of all output variables to the current output primitive.
|
||||
Id OpEmitVertex();
|
||||
|
||||
/// Finish the current primitive and start a new one. No vertex is emitted.
|
||||
Id OpEndPrimitive();
|
||||
|
||||
// Logical
|
||||
|
||||
/// Result is true if any component of Vector is true, otherwise result is false.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue