mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 21:55:46 +00:00
vertex_loader: Add constructors to facilitate immediate and two-step initialization
This commit is contained in:
parent
9f536396ad
commit
561157d259
2 changed files with 6 additions and 2 deletions
|
@ -17,6 +17,11 @@ class InputVertex;
|
|||
|
||||
class VertexLoader {
|
||||
public:
|
||||
VertexLoader() = default;
|
||||
explicit VertexLoader(const Pica::Regs& regs) {
|
||||
Setup(regs);
|
||||
}
|
||||
|
||||
void Setup(const Pica::Regs& regs);
|
||||
void LoadVertex(u32 base_address, int index, int vertex, Shader::InputVertex& input, DebugUtils::MemoryAccessTracker& memory_accesses);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue