vertex_loader: Add constructors to facilitate immediate and two-step initialization
This commit is contained in:
parent
769f4a7018
commit
1357724cd9
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