mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 09:17:52 -05:00
vertex_loader: Add constructors to facilitate immediate and two-step initialization
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user