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

@ -125,6 +125,14 @@ void IREmitter::Epilogue() {
Inst(Opcode::Epilogue);
}
void IREmitter::EmitVertex(const U32& stream) {
Inst(Opcode::EmitVertex, stream);
}
void IREmitter::EndPrimitive(const U32& stream) {
Inst(Opcode::EndPrimitive, stream);
}
U32 IREmitter::GetReg(IR::Reg reg) {
return Inst<U32>(Opcode::GetRegister, reg);
}