GPU/Software: Ensure commands are always aligned to 4 bytes

This commit is contained in:
Connor McLaughlin
2020-12-08 23:35:25 +10:00
parent e340963c99
commit 419736aaee
3 changed files with 28 additions and 52 deletions

View File

@ -41,7 +41,7 @@ public:
void RunGPULoop();
protected:
void* AllocateCommand(u32 size);
void* AllocateCommand(GPUBackendCommandType command, u32 size);
u32 GetPendingCommandSize() const;
void WakeGPUThread();
void StartGPUThread();