mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
gl: Improve CS throughput
- Avoids making too many invocations, especially given the 1D nature of some GPU dispatch handlers
This commit is contained in:
parent
e964060a6a
commit
129e947720
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ namespace gl
|
|||
optimal_group_size = 128;
|
||||
}
|
||||
|
||||
optimal_kernel_size = 256 / optimal_group_size;
|
||||
|
||||
glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, reinterpret_cast<GLint*>(&max_invocations_x));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue