mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-30 01:20:06 +00:00
fixup! CommandProcessor: Added 3 VS Units
This commit is contained in:
parent
6d60a98005
commit
c7865cb3b1
@ -479,9 +479,8 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
|
|||||||
// TODO(B3N30): If GS is off use the 4th shader unit
|
// TODO(B3N30): If GS is off use the 4th shader unit
|
||||||
// unsigned int num_units = use_gs ? VS_UNITS : VS_UNITS + 1;
|
// unsigned int num_units = use_gs ? VS_UNITS : VS_UNITS + 1;
|
||||||
unsigned int num_units = VS_UNITS;
|
unsigned int num_units = VS_UNITS;
|
||||||
std::future<void> ft[num_units];
|
|
||||||
for (size_t unit_id = 0; unit_id < num_units; ++unit_id) {
|
for (size_t unit_id = 0; unit_id < num_units; ++unit_id) {
|
||||||
ft[unit_id] = thread_pool.Push(UnitLoop, false, unit_id, num_units);
|
thread_pool.Push(UnitLoop, false, unit_id, num_units);
|
||||||
}
|
}
|
||||||
for (unsigned int index = 0; index < regs.pipeline.num_vertices; ++index) {
|
for (unsigned int index = 0; index < regs.pipeline.num_vertices; ++index) {
|
||||||
while (unit_manager.vs_output[index].batch_id.load(std::memory_order_acquire) !=
|
while (unit_manager.vs_output[index].batch_id.load(std::memory_order_acquire) !=
|
||||||
|
Loading…
Reference in New Issue
Block a user