mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2025-12-26 09:16:33 +01:00
Add OpEmitStreamVertex and OpEndStreamPrimitive
This commit is contained in:
parent
dc47faf89f
commit
da093a04fe
2 changed files with 24 additions and 7 deletions
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
#include <unordered_set>
|
||||
|
|
@ -422,10 +422,17 @@ public:
|
|||
Id OpUndef(Id result_type);
|
||||
|
||||
/// Emits the current values of all output variables to the current output primitive.
|
||||
Id OpEmitVertex();
|
||||
void OpEmitVertex();
|
||||
|
||||
/// Finish the current primitive and start a new one. No vertex is emitted.
|
||||
Id OpEndPrimitive();
|
||||
void OpEndPrimitive();
|
||||
|
||||
/// Emits the current values of all output variables to the current output primitive. After
|
||||
/// execution, the values of all output variables are undefined.
|
||||
void OpEmitStreamVertex(Id stream);
|
||||
|
||||
/// Finish the current primitive and start a new one. No vertex is emitted.
|
||||
void OpEndStreamPrimitive(Id stream);
|
||||
|
||||
// Barrier
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue