shader: Implement OUT

This commit is contained in:
ReinUsesLisp 2021-04-12 03:48:15 -03:00 committed by ameerj
parent dd3432d357
commit a6cef71cc0
10 changed files with 73 additions and 17 deletions

View file

@ -36,4 +36,12 @@ void EmitEpilogue(EmitContext& ctx) {
}
}
void EmitEmitVertex(EmitContext& ctx, Id stream) {
ctx.OpEmitStreamVertex(stream);
}
void EmitEndPrimitive(EmitContext& ctx, Id stream) {
ctx.OpEndStreamPrimitive(stream);
}
} // namespace Shader::Backend::SPIRV