mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 07:58:17 -05:00
Add immediate mode vertex submission
This commit is contained in:
@ -53,6 +53,18 @@ void PrimitiveAssembler<VertexType>::SubmitVertex(VertexType& vtx, TriangleHandl
|
||||
}
|
||||
}
|
||||
|
||||
template<typename VertexType>
|
||||
void PrimitiveAssembler<VertexType>::Reset() {
|
||||
buffer_index = 0;
|
||||
strip_ready = false;
|
||||
}
|
||||
|
||||
template<typename VertexType>
|
||||
void PrimitiveAssembler<VertexType>::Reconfigure(Regs::TriangleTopology topology) {
|
||||
Reset();
|
||||
this->topology = topology;
|
||||
}
|
||||
|
||||
// explicitly instantiate use cases
|
||||
template
|
||||
struct PrimitiveAssembler<Shader::OutputVertex>;
|
||||
|
Reference in New Issue
Block a user