mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-30 23:33:17 +00:00
core: gpu interrupt dispatcher
This commit is contained in:
parent
581688c1ac
commit
923baf0164
9 changed files with 161 additions and 68 deletions
|
@ -624,17 +624,11 @@ public:
|
|||
// reworked with mutiple queues introduction
|
||||
cp.get();
|
||||
}
|
||||
void SetEopCallback(auto const& cb) {
|
||||
eop_callback = cb;
|
||||
}
|
||||
|
||||
private:
|
||||
void ProcessCmdList(u32* cmdbuf, u32 size_in_bytes);
|
||||
|
||||
std::function<void(void)> eop_callback{};
|
||||
std::future<void> cp{};
|
||||
std::condition_variable cv_reg_mem{};
|
||||
std::mutex m_reg_mem{};
|
||||
};
|
||||
|
||||
static_assert(GFX6_3D_REG_INDEX(ps_program) == 0x2C08);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue