[PICA] Implement drawArrays, get our first triangle data

This commit is contained in:
wheremyfoodat 2022-09-22 04:03:55 +03:00
parent eb536ee147
commit 00d82ca6ed
4 changed files with 21 additions and 0 deletions

View file

@ -10,6 +10,8 @@ class GPU {
ShaderUnit shaderUnit;
std::array<u32, regNum> regs; // GPU internal registers
void drawArrays();
public:
GPU(Memory& mem) : mem(mem) {}
void clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control);